'module' object has no attribute 'AskFolder' [solved]
Posted: Fri Jun 19, 2015 6:06 am
EDIT: It should be solved in the next releases. Thanks, PyTom.
In a new installation of Ubuntu, the first time I've downloaded Ren'Py and tried to set the projects directory, I've got this tracebak:
EDIT: I've tried to install Editra and Ren'Py informs (as expected, not with an error traceback) that I need wxPython. Installed python-wxgtk3.0 and Editra is working fine.
Now I try again to set the projects directory and Ren'Py informs that tkinter is needed. But this message should be showed before, instead of the AttributeError.
In a new installation of Ubuntu, the first time I've downloaded Ren'Py and tried to set the projects directory, I've got this tracebak:
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "launcher/game/preferences.rpy", line 233, in script call
call choose_projects_directory
File "launcher/game/project.rpy", line 553, in script
python hide:
File "launcher/game/project.rpy", line 557, in <module>
path, is_default = choose_directory(persistent.projects_directory)
File "launcher/game/choose_directory.rpy", line 48, in choose_directory
choice = EasyDialogs.AskFolder(defaultLocation=default_path, wanted=unicode)
AttributeError: 'module' object has no attribute 'AskFolder'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "launcher/game/preferences.rpy", line 233, in script call
call choose_projects_directory
File "launcher/game/project.rpy", line 553, in script
python hide:
File "/home/xavimat/Documents/renpy/renpy/ast.py", line 785, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/home/xavimat/Documents/renpy/renpy/python.py", line 1448, in py_exec_bytecode
exec bytecode in globals, locals
File "launcher/game/project.rpy", line 557, in <module>
path, is_default = choose_directory(persistent.projects_directory)
File "launcher/game/choose_directory.rpy", line 48, in choose_directory
choice = EasyDialogs.AskFolder(defaultLocation=default_path, wanted=unicode)
AttributeError: 'module' object has no attribute 'AskFolder'
Linux-3.19.0-21-generic-x86_64-with-debian-jessie-sid
Ren'Py 6.99.4.467
Ren'Py Launcher 6.99.4.467Now I try again to set the projects directory and Ren'Py informs that tkinter is needed. But this message should be showed before, instead of the AttributeError.