Renpy error 267

7.4.0.481 on Windows (nightly-2020-06-13-b0af3b31) is unable to launch projects. The game window never starts, but a traceback.txt is generated in the sdk folder. I'm sorry, but an uncaught exc...

The 2020-06-29 build still crashes on reaching the main menu, but now generates a traceback:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 276, in script
    python:
  File "renpy/common/00start.rpy", line 276, in script
    python:
  File "renpy/common/00start.rpy", line 280, in <module>
    renpy.call_in_new_context("_main_menu")
AttributeError: 'NoneType' object has no attribute 'relative_volume'

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

Full traceback:
  File "renpy/bootstrap.py", line 326, in bootstrap
    renpy.main.main()
  File "renpy/main.py", line 592, in main
    run(restart)
  File "renpy/main.py", line 147, in run
    renpy.execution.run_context(True)
  File "renpy/execution.py", line 922, in run_context
    context.run()
  File "renpy/common/00start.rpy", line 276, in script
    python:
  File "renpy/common/00start.rpy", line 276, in script
    python:
  File "renpy/ast.py", line 908, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 2102, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/00start.rpy", line 280, in <module>
    renpy.call_in_new_context("_main_menu")
  File "renpy/game.py", line 333, in call_in_new_context
    return renpy.execution.run_context(False)
  File "renpy/execution.py", line 922, in run_context
    context.run()
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
    python hide:
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
    python hide:
  File "renpy/ast.py", line 908, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 2102, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
    python hide:
  File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
    ui.interact()
  File "renpy/ui.py", line 298, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "renpy/display/core.py", line 2866, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "renpy/display/core.py", line 3302, in interact_core
    renpy.audio.audio.interact()
  File "renpy/audio/audio.py", line 1154, in interact
    periodic()
  File "renpy/audio/audio.py", line 1107, in periodic
    raise_(exc[0], exc[1], exc[2])
  File "renpy/audio/audio.py", line 1085, in periodic_thread_main
    periodic_pass()
  File "renpy/audio/audio.py", line 1027, in periodic_pass
    c.periodic()
  File "renpy/audio/audio.py", line 525, in periodic
    newq = QueueEntry(i, 0, False, True, topq.relative_volume)
AttributeError: 'NoneType' object has no attribute 'relative_volume'

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.

User avatar

didiwalker

Newbie
Posts: 14
Joined: Fri Jun 14, 2013 9:26 am
Completed:
Location: Indonesia
Contact:

HELP!!traceback, script game wont open!!

#1

Post

by didiwalker » Mon Oct 21, 2013 12:23 pm

hello, i’m new here and i’m trying to create my first game using renpy 6.15.2, but when i tried to open the script, the All script file wont open and it shows:

I’m sorry, but an uncaught exception occurred.

Before loading the script.
WindowsError: [Error 267] The directory name is invalid: u’D:\fragrance\game\screens.rpy\*.*’

— Full Traceback ————————————————————

Full traceback:
File «D:renpyrenpy.6.15.2renpy-6.15.2-sdkrenpybootstrap.py», line 254, in bootstrap
renpy.main.main()
File «D:renpyrenpy.6.15.2renpy-6.15.2-sdkrenpymain.py», line 160, in main
for fn in os.listdir(dir):
WindowsError: [Error 267] The directory name is invalid: u’D:\fragrance\game\screens.rpy\*.*’

Windows-7-6.1.7601-SP1
Ren’Py 6.15.2.281

please if anyone know how to deal with this?? and could please explaining it to me?


User avatar

Sorakun

Regular
Posts: 103
Joined: Sun Oct 20, 2013 10:02 pm
Completed: Techno Titans, Blood Metal Exorcism, Tom Cruiser, Mechadin, UPlay
IRC Nick: Sorakun
Skype: sora.ch4n
Contact:

Re: HELP!!traceback, script game wont open!!

#2

Post

by Sorakun » Tue Oct 22, 2013 1:17 pm

WindowsError: [Error 267] The directory name is invalid: u’D:\fragrance\game\screens.rpy\*.*’

there is your problem, your using an incorrect directory

the directory «u’D:\fragrance\game\screens.rpg\*.*'» is incorrect


User avatar

didiwalker

Newbie
Posts: 14
Joined: Fri Jun 14, 2013 9:26 am
Completed:
Location: Indonesia
Contact:

Re: HELP!!traceback, script game wont open!!

#3

Post

by didiwalker » Wed Oct 23, 2013 3:40 am

Sorakun wrote:WindowsError: [Error 267] The directory name is invalid: u’D:\fragrance\game\screens.rpy\*.*’

there is your problem, your using an incorrect directory

the directory «u’D:\fragrance\game\screens.rpg\*.*'» is incorrect

thanks for answering ^^
although i don’t really understand ><, when i open the directory’s game it open the fragrance folder game,
so what does ‘incorrect directory» means? should i search u’D:\fragrance\game\screens.rpy\*.*’ and delete it?
now i’m using the older version of renpy the 6.13.9 version, the jeditor works, so why won’t the 6.15.2 and 6.15.7 works? it’s kinda wired


User avatar

Donmai

Eileen-Class Veteran
Posts: 1922
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: HELP!!traceback, script game wont open!!

#4

Post

by Donmai » Wed Oct 23, 2013 7:21 am

didiwalker wrote:should i search u’D:\fragrance\game\screens.rpy\*.*’ and delete it?
now i’m using the older version of renpy the 6.13.9 version, the jeditor works, so why won’t the 6.15.2 and 6.15.7 works? it’s kinda wired

Try renaming *.*
As far as I know, you can use only alphanumeric characters when naming directories and files. What the newer versions of Ren’Py are doing is just to prevent you from releasing a game that will give trouble to Windows users (and I can assure you, they don’t need more trouble). :)

Image


Who is online

Users browsing this forum: Bing [Bot], Google [Bot]

Ruise1227

Young scout
Posts: 4
Joined: Thu Aug 28, 2014 9:46 pm

Cannot Load Save Files

re-posted from Steam:

Hey all, I’ve got to ask for help. See, my computer recently crashed and needed the hard drive replaced. Ever since then, even when I use the Loren Amazon Princess game from my old hard drive using an enclosure, I can’t access my old save files. I have what appear to be my old save files under users/appdata/renpy/lorenamazonprincess, and the game just isn’t utilizing them, somehow? Any advice would be much appreciated.

Ruise1227

Young scout
Posts: 4
Joined: Thu Aug 28, 2014 9:46 pm

Re: Cannot Load Save Files

Post

by Ruise1227 » Sun Aug 31, 2014 1:05 am

They are…it seems. And if I try to open one with Loren Amazon Princess I get an error message,

I’m sorry, but an uncaught exception occurred.

Before loading the script.
WindowsError: [Error 267] The directory name is invalid: u’C:\Users\Victoria\AppData\Local\Microsoft\Windows\Temporary Internet Files\Virtualized\C\Users\Victoria\AppData\Roaming\RenPy\Loren_Amazon_Princess\1-1-LT1.save\*.*’

— Full Traceback ————————————————————

Full traceback:
File «C:Program Files (x86)Winter WolvesLoren Amazon Princessrenpybootstrap.py», line 265, in bootstrap
renpy.main.main()
File «C:Program Files (x86)Winter WolvesLoren Amazon Princessrenpymain.py», line 164, in main
for fn in os.listdir(dir):
WindowsError: [Error 267] The directory name is invalid: u’C:\Users\Victoria\AppData\Local\Microsoft\Windows\Temporary Internet Files\Virtualized\C\Users\Victoria\AppData\Roaming\RenPy\Loren_Amazon_Princess\1-1-LT1.save\*.*’

Windows-post2008Server-6.2.9200
Ren’Py 6.15.7.374

User avatar

jack1974

Pack leader
Posts: 15412
Joined: Thu Jun 16, 2005 4:43 pm

Re: Cannot Load Save Files

Post

by jack1974 » Sun Aug 31, 2014 6:23 am

Yes because you’re using some virtualization tech or unzipping the file directly in the Windows temporary folder. That’s not «normal» :lol:

Ruise1227

Young scout
Posts: 4
Joined: Thu Aug 28, 2014 9:46 pm

Re: Cannot Load Save Files

Post

by Ruise1227 » Sat Sep 27, 2014 7:44 pm

I really don’t know what you’re saying, jack. If it worked when opening the game the normal way, there wouldn’t be a problem. Therefore, I tried to find a way around it and no luck there either. The save files are in the location you mentioned. The game is in program files -> winter wolves -> loren amazon princess. I cannot load any of my old save files on it.

User avatar

jack1974

Pack leader
Posts: 15412
Joined: Thu Jun 16, 2005 4:43 pm

Re: Cannot Load Save Files

Post

by jack1974 » Sat Sep 27, 2014 9:42 pm

The path in the message is invalid. A «normal» path looks like:
c:UsersUSERNAMEAppDataRoamingRenPyLoren_Amazon_Princess

Ruise1227

Young scout
Posts: 4
Joined: Thu Aug 28, 2014 9:46 pm

Re: Cannot Load Save Files

Post

by Ruise1227 » Sun Sep 28, 2014 8:45 pm

Okay I just reclaimed my latest save by figuring out where the new saves from the latest download were going (it was somewhere completely different), then sticking the file in that location. It was pretty easy.

Понравилась статья? Поделить с друзьями:
  • Rendering thread exception fatal error borderlands the pre sequel
  • Rendering thread exception fatal error batman arkham knight
  • Rendering thread exception fatal error batman arkham city
  • Rendering screen minecraft error
  • Rendering error while writing to file 1610153453