Page 1 of 1

Ren'py fixed yayayayay

Posted: Mon Dec 18, 2017 9:55 am
by justanewby
I'm sorry, but an uncaught exception occurred.

Before loading the script.
WindowsError: [Error 267] The directory name is invalid: u'C:\\Users\\Darcy\\Downloads\\new games\\TP.1.631.no.pills\\TP.1.632\\TP.1.632\\TP.exe\\*.*'

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "C:\Users\Darcy\Downloads\new games\TP.1.631.no.pills\TP.1.632\TP.1.632\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "C:\Users\Darcy\Downloads\new games\TP.1.631.no.pills\TP.1.632\TP.1.632\renpy\main.py", line 284, in main
for fn in os.listdir(dir):
WindowsError: [Error 267] The directory name is invalid: u'C:\\Users\\Darcy\\Downloads\\new games\\TP.1.631.no.pills\\TP.1.632\\TP.1.632\\TP.exe\\*.*'

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187

Re: Ren'py will not work at all PLEASE HELP

Posted: Mon Dec 18, 2017 4:24 pm
by Imperf3kt
I can't tell exactly what, but do you have a folder with periods in it?
On Windows, you cannot put periods in a folder name.

Period = .

Re: Ren'py will not work at all PLEASE HELP

Posted: Tue Dec 19, 2017 4:10 am
by justanewby
Thanks and it took a bit but I got it working again and it wasn't the periods thing as windows seems to mot care at all and half of my game files (downloaded) areXXXXX.11.1.00 and have not had a problem yet.

Re: Ren'py will not work at all PLEASE HELP

Posted: Tue Dec 19, 2017 7:40 am
by Errilhl
Imperf3kt wrote: Mon Dec 18, 2017 4:24 pm I can't tell exactly what, but do you have a folder with periods in it?
On Windows, you cannot put periods in a folder name.

Period = .
That's just wrong. You can have periods in folder names, and you've been able to do that since... well, forever. I don't remember if it was possible back in the Win 3.11 / Win 95 days, but since XP at least.

Re: Ren'py will not work at all PLEASE HELP

Posted: Tue Dec 19, 2017 6:46 pm
by Imperf3kt
Errilhl wrote: Tue Dec 19, 2017 7:40 am
Imperf3kt wrote: Mon Dec 18, 2017 4:24 pm I can't tell exactly what, but do you have a folder with periods in it?
On Windows, you cannot put periods in a folder name.

Period = .
That's just wrong. You can have periods in folder names, and you've been able to do that since... well, forever. I don't remember if it was possible back in the Win 3.11 / Win 95 days, but since XP at least.
My mistake for not clarifying.

Youbcan use them provided the final three characters of the folder are not preceded by a period because then Windows treats it as an extension.

Re: Ren'py will not work at all PLEASE HELP

Posted: Tue Dec 19, 2017 7:45 pm
by Errilhl
Imperf3kt wrote: Tue Dec 19, 2017 6:46 pm
Errilhl wrote: Tue Dec 19, 2017 7:40 am That's just wrong. You can have periods in folder names, and you've been able to do that since... well, forever. I don't remember if it was possible back in the Win 3.11 / Win 95 days, but since XP at least.
My mistake for not clarifying.

Youbcan use them provided the final three characters of the folder are not preceded by a period because then Windows treats it as an extension.
Were does this info come from? I just tested.
Create a new folder? Check
Name the new folder "test.txt"? Check
Does it work? Yes!

So, that is definitely not true when it comes to Win 10. Might be an issue on previous versions, I can't be arsed testing right now, but... I don't really see why it should be. Windows filesystem, NTFS, has treated folders differently than files for quite some time. Granted, I've not tested this on FAT32 or FAT-systems, which might behave differently.

Re: Ren'py fixed yayayayay

Posted: Tue Dec 19, 2017 7:55 pm
by Imperf3kt
Might be just with zip files then. Try renaming a folder to ".zip"

Might just be the shell extensions I have installed.


I think we can agree I made a mistake in either case.

Re: Ren'py fixed yayayayay

Posted: Tue Dec 19, 2017 10:20 pm
by Donmai
Why you should never use periods in a Windows folder name? Because that looks weird. Period.

Re: Ren'py fixed yayayayay

Posted: Tue Dec 19, 2017 11:00 pm
by Errilhl
Imperf3kt wrote: Tue Dec 19, 2017 7:55 pm Might be just with zip files then. Try renaming a folder to ".zip"

Might just be the shell extensions I have installed.


I think we can agree I made a mistake in either case.
I think you should look at your shell extensions :D Because here... a "test.zip" folder is just that, a folder. Might be something associated with the extension, perhaps... weird that it would fuck it up over a folder anyway, but yeah.