Sublime Forum

Unable to create a new file

#1

unable to create a file in sublime. if i use new file it puts in ‘untitled’ at top left hand side. then when i enter text it changes untitled to what i am typing. i am using python code. When i go to build get err msg no such file in directory. I have uninstalled python and sublime and reinstalled them. pycharm will work i just do not want to use it. I have uninstall pycharm.

0 Likes

#2

You need to save the file for it to be created.

0 Likes

#3

I have saved it. but sublime cannot find it

0 Likes

#4

I have 2 sublime text folders 1 in my user and 1 in program files it tries to put it in C:\program files\Sublime text and it will not put it there. but sublime looks for it there

0 Likes

#5

That sounds like an entirely different issue to your original post. Has that been resolved?

0 Likes

#6

it is the same issue. As i played with it more and look at whats happening, could explain it better

0 Likes

#7

combining with cannot compile python, I think you are trying to save the file to somewhere you don’t have write permission.

0 Likes

#8

you are correct. But do not know how or why

0 Likes

#9

Isn’t that you who decides where the file is saved to?

0 Likes

#10

no. sublime does it. not donot know how to change it

0 Likes

#11

well i did fix it. not real happy about it but it works. i changed where sublime installs ‘programfiles\sublime text’ to users\users\sublime text’. now i can create a file

0 Likes

#12

i tried to answer you right after your last post but sublime would not let me something about 5 responses

0 Likes

#13

For the record the actual solution to the problem is to just choose a different folder when you’re prompted for the location to save, not moving the installation of the program itself to a different folder.

Fair warning that upgrades of Sublime happen by moving the old folder away and putting a new one in its place; if you persist in storing files there, please expect all of your work to vanish without warning.

0 Likes

#14

the folder is not the issue. the sublime text directory is the problem. When i do a save sublime wants to put what ever i save into the sublime text directory and then i get message i do not have permission ot put anything there. then it asks. Would you like to save in thge user folder instead and i answer ‘yes’ problem is i have know idea where that is and cannot find it. i will just save every thing to my back up disk. i have a internal back and a external back up

0 Likes

#15

Thanks for all your help

0 Likes