'module' object has no attribute 'AskFolder' [solved]

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
xavimat
Eileen-Class Veteran
Posts: 1458
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love, unknown
Organization: Pilgrim Creations
Github: xavi-mat
itch: pilgrimcreations
Location: Spain
Contact:

'module' object has no attribute 'AskFolder' [solved]

#1 Post by xavimat » 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:

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.467
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.
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

Post Reply

Who is online

Users browsing this forum: No registered users