Can't create a local repository. - atlassian-sourcetree

I just installed Source tree on my windows. I set the name, email fields and chose the default directory for repositories as C:\Users\repos
And then in the new tab, I selected '+ Create'. But upon filling the
When I click Create, nothing happens.

I do not know why but, after changing the path C:\repos\reposA. It started working!! (I previously specified this path C:Users\repos\reposA)

Related

How to change the default URL of thunderclient

Whenever we make a New Request, the default URL in the URL box is
"https://www.thunderclient.com/welcome"
How can we change this with our own URL?
If you want to have a base url. It's super easy in Thunder Client-vs-code.
Firstly, got to Collections
You should have Folder for your project API. And click on ... icon and got to Settings will move to Collection Settings
Secondly, Change the Base Url and save it.
You have done.
This feature is already requested in their Github issues but has still not been added yet.
So, the workaround I find is this:
Go to %USERPROFILE%\.vscode\extensions\rangav.vscode-thunder-client-1.18.7\dist for Windows.
Or go to $HOME/.vscode/extensions/rangav.vscode-thunder-client-1.18.7/dist for Mac or Linux.
Open extension.js file with Notepad or any text editor.
Find and replace this https://www.thunderclient.com/welcome with your desired URL.
Save the file and restart VS Code.

Can't find .py files for new doctypes

Complete newbie here. Built a new site and a new app. Installed the new app. Want to add a custom script, but can't find the ".py" files for the doctypes I created.
The "Custom?" checkbox is left checked and greyed out.
I am logged in as an administrator and I set the site developer_mode config to 1.
(I know I can add custom scripts from the gui, but still, it's sometimes more convenient to work on my own IDE).
Basicaly I want to create a table as a child ("Reciepe") of a doctype ("Dishes"). The table should have a data field (quantity) and a select field (raw_material). I want to populate the raw_material with var_name field from another doctype ("Raw Materials", which also has their prices, thus allowing me to calculate the cost of each dish).
Inside the sites directory, there will be site_config.json file. Ensure developer_mode is present in that file.
$ cat sites/dev.localhost/site_config.json
Clear the cache b running
$ bench clear-cache
After that, go to Browser console and verify developer_mode, user.
If these 2 values are shown correctly in browser console, then Custom? will be unchecked and .py files will be generated.
I followed the tutorial and created the app "library_management". The py-files were created here:
/home/myuser/frappe-bench/apps/library_management/library_management/library_management/doctype

Images not showing in Form Recognizer Label Editor

I have created a Form Recognizer Service using the Quick Start instructions and created the connection and project in the label editor without errors. The SAS URI is valid and the Form Recognizer key and end point are valid. I have validated the container location by entering the URL with a file name in a browser and viewing them. According to the Instructions in Quick Start and instructions provided by Microsoft and others my setup is complete and correct. When the project is saved the image files are supposed to appear in the label editor and they do not. I have created numerous projects and connections with the same result. I believe the key items are the Form Recognizer end point and key, the SAS URI, and the source (the form to be recognized) location. Everything else is text of my choosing. Can you provide any insights into what I have missed? Thanks
Is your data flat on the container or in a folder ? If in a folder please add the folder name to the folder path in the project setting.
If it is not in a folder can you please try copying it into a folder and see if it works.

{Netbeans}The form file does not contain valid XML.Form cannot be opened.Contents is not allowed in prolog

I was recently working on a really huge project in netbeans. I saved it in my desktop, and then proceeded to save it also in my USB. However, the next day, when I learned it could be for a later date, I deleted the one in my USB.When I put on the one in my desktop, all the work I had done was not saved on it, including the making of new JFrames etc. So I used a program to recover my deleted files. I now have loaded them into the netbeans IDE< however, there is an error sign next to most of them. When I click on a class inside my project with the error,an error message comes up before I can access it. It says "The form file does not contain valid XML.Form cannot be opened.Contents is not allowed in prolog." When I press "OK", my class has "coding" which looks like:
W�'6��G��ԧ��(g&�Cd�nw|7�\ej��
�;���كG�s=�Bl+��6�r�#ma���'�f�T�9Kx�q�M�G�t�q� �:���� \!�%İ��P�&!�[�R���`�,+��U���"���Ј���yF&mÛ�
�
Y ?/,8��#�t:�ԇ
��lOѪ|T�^?v"
....that.
And when I go to "design view" that message comes up again. What should I do? What CAN I do? I really need the bulk of my project to finish it in time!!!Oh, the project is for tommorow, so the quicker answer the better :'(
right click on the latest file from History ->revert (the .form)
Go to the history of the file and copy the content of .form file then go to directory and open the 0byte file .form by the editor and paste the content! I have done this and it worked for me.

GWT Browse files/directories

Here is my requirement:
In my application, I want to get a path of file from user and process the file accordingly.
I am providing a text box in which user can directly enter the path.
Or user can opt to choose a file by clicking on Browse button and selecting a file.
Which widget shall I use to browse local files and directories?
I found one widget called FileUpload but whenever I get the fileName by fileUpload.getFileName, it does not give me the whole path.
You don't need the whole path.
Please see the links below.
The first link covers the client side and the second one the servlet side.
http://gwt.google.com/samples/Showcase/Showcase.html#!CwFileUpload
http://commons.apache.org/fileupload/using.html