Installera Steam
logga in
|
språk
简体中文 (förenklad kinesiska)
繁體中文 (traditionell kinesiska)
日本語 (japanska)
한국어 (koreanska)
ไทย (thailändska)
Български (bulgariska)
Čeština (tjeckiska)
Dansk (danska)
Deutsch (tyska)
English (engelska)
Español - España (Spanska - Spanien)
Español - Latinoamérica (Spanska - Latinamerika)
Ελληνικά (grekiska)
Français (franska)
Italiano (italienska)
Bahasa Indonesia (indonesiska)
Magyar (ungerska)
Nederlands (nederländska)
Norsk (norska)
Polski (polska)
Português (Portugisiska – Portugal)
Português - Brasil (Portugisiska - Brasilien)
Română (rumänska)
Русский (ryska)
Suomi (finska)
Türkçe (turkiska)
Tiếng Việt (vietnamesiska)
Українська (Ukrainska)
Rapportera problem med översättningen
I'm sorry, but an uncaught exception occurred.
After loading the script.
AttributeError: 'NoneType' object has no attribute '_preferences'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Program Files (x86)\Steam\steamapps\common\Black Closet\renpy\bootstrap.py", line 306, in bootstrap
renpy.main.main()
File "C:\Program Files (x86)\Steam\steamapps\common\Black Closet\renpy\main.py", line 261, in main
game.preferences = game.persistent._preferences
AttributeError: 'NoneType' object has no attribute '_preferences'
Windows-post2008Server-6.2.9200
Ren'Py 6.17.7.521
What do I do?
(I have a suggestion that will probably work as a hack to get past your problem, but Spiky may have a better one, so I'll hold off on mine as a last resort.)
(You should be able to find persistent.dat by opening an Explorer window, typing %APPDATA% into the location bar, and then going into the RenPy\BlackCloset folder.)
I have some ideas of places to look for fixes, but having the actual persistent that causes the problem will help with testing to see if the fixes actually *work*.
The file I want is in the save directory - probably \Users\(your username)\AppData\Roaming\RenPy\BlackCloset\ . Windows hides this directory by default, so you'll need to tell it to show hidden files or type the path into the location bar to get there. It's named 'persistent.dat', and shows up as a 'DAT File' if your computer is set to hide extensions.
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/screens.rpy", line 277, in script
File "renpy/common/000statements.rpy", line 426, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "game/screens.rpy", line 445, in <module>
File "game/screens.rpy", line 599, in <module>
File "game/screens.rpy", line 480, in <module>
File "game/steam.rpy", line 351, in CloudAwareSaveInfo
File "game/steam.rpy", line 362, in __init__
WindowsError: exception: access violation reading 0x00000000
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/screens.rpy", line 277, in script
File "E:\Steam\steamapps\common\Black Closet\renpy\ast.py", line 1593, in execute
self.call("execute")
File "E:\Steam\steamapps\common\Black Closet\renpy\ast.py", line 1611, in call
renpy.statements.call(method, parsed, *args, **kwargs)
File "E:\Steam\steamapps\common\Black Closet\renpy\statements.py", line 144, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 426, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "E:\Steam\steamapps\common\Black Closet\renpy\exports.py", line 2107, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "E:\Steam\steamapps\common\Black Closet\renpy\ui.py", line 264, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "E:\Steam\steamapps\common\Black Closet\renpy\display\core.py", line 2082, in interact
scene_lists.replace_transient()
File "E:\Steam\steamapps\common\Black Closet\renpy\display\core.py", line 593, in replace_transient
self.remove(layer, tag)
File "E:\Steam\steamapps\common\Black Closet\renpy\display\core.py", line 872, in remove
self.hide_or_replace(layer, remove_index, "hide")
File "E:\Steam\steamapps\common\Black Closet\renpy\display\core.py", line 796, in hide_or_replace
d = oldsle.displayable._hide(now - st, now - at, prefix)
File "E:\Steam\steamapps\common\Black Closet\renpy\display\screen.py", line 204, in _hide
hid.update()
File "E:\Steam\steamapps\common\Black Closet\renpy\display\screen.py", line 288, in update
self.screen.function(**self.scope)
File "E:\Steam\steamapps\common\Black Closet\renpy\screenlang.py", line 1239, in __call__
renpy.python.py_exec_bytecode(self.code.bytecode, locals=scope)
File "E:\Steam\steamapps\common\Black Closet\renpy\python.py", line 1385, in py_exec_bytecode
exec bytecode in globals, locals
File "game/screens.rpy", line 445, in <module>
File "E:\Steam\steamapps\common\Black Closet\renpy\display\screen.py", line 621, in use_screen
screen.function(**scope)
File "E:\Steam\steamapps\common\Black Closet\renpy\screenlang.py", line 1239, in __call__
renpy.python.py_exec_bytecode(self.code.bytecode, locals=scope)
File "E:\Steam\steamapps\common\Black Closet\renpy\python.py", line 1385, in py_exec_bytecode
exec bytecode in globals, locals
File "game/screens.rpy", line 599, in <module>
File "E:\Steam\steamapps\common\Black Closet\renpy\display\screen.py", line 621, in use_screen
screen.function(**scope)
File "E:\Steam\steamapps\common\Black Closet\renpy\screenlang.py", line 1239, in __call__
renpy.python.py_exec_bytecode(self.code.bytecode, locals=scope)
File "E:\Steam\steamapps\common\Black Closet\renpy\python.py", line 1385, in py_exec_bytecode
exec bytecode in globals, locals
File "game/screens.rpy", line 480, in <module>
File "game/steam.rpy", line 351, in CloudAwareSaveInfo
File "game/steam.rpy", line 362, in __init__
WindowsError: exception: access violation reading 0x00000000
Windows-7-6.1.7601-SP1
Ren'Py 6.17.7.521
Game: BlackClosetRetail-1.2.16
Renderer: gl 1366x768
OS: Windows 7 6.1.7601 x86 x86 Family 6 Model 37 Stepping 5, GenuineIntel
Vendor: Steam
I've put a candidate fix for this crash into the beta; depending on where exactly the underlying error occurred it might just move the crash around, though. If you have multiple saves, were the others loading properly?
(edit: the new beta should show up as build 796303 on the local files tab in the game properties.)