Ren'py fixed yayayayay

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
justanewby
Newbie
Posts: 4
Joined: Sun Dec 17, 2017 10:05 am
Contact:

Ren'py fixed yayayayay

#1 Post 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
Last edited by justanewby on Tue Dec 19, 2017 4:10 am, edited 1 time in total.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3785
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

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

#2 Post 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 = .
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

justanewby
Newbie
Posts: 4
Joined: Sun Dec 17, 2017 10:05 am
Contact:

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

#3 Post 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.

Errilhl
Regular
Posts: 164
Joined: Wed Nov 08, 2017 4:32 pm
Projects: HSS
Deviantart: studioerrilhl
Github: studioerrilhl
Contact:

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

#4 Post 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.
Currently working on: Image

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3785
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

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

#5 Post 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.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Errilhl
Regular
Posts: 164
Joined: Wed Nov 08, 2017 4:32 pm
Projects: HSS
Deviantart: studioerrilhl
Github: studioerrilhl
Contact:

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

#6 Post 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.
Currently working on: Image

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3785
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Ren'py fixed yayayayay

#7 Post 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.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
Donmai
Eileen-Class Veteran
Posts: 1958
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Ren'py fixed yayayayay

#8 Post by Donmai »

Why you should never use periods in a Windows folder name? Because that looks weird. Period.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Errilhl
Regular
Posts: 164
Joined: Wed Nov 08, 2017 4:32 pm
Projects: HSS
Deviantart: studioerrilhl
Github: studioerrilhl
Contact:

Re: Ren'py fixed yayayayay

#9 Post 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.
Currently working on: Image

Post Reply

Who is online

Users browsing this forum: Google [Bot]