Quickly, syntax error: media_grid.show()

Posted by Alex on Ask Ubuntu See other posts from Ask Ubuntu or by Alex
Published on 2012-03-25T03:19:10Z Indexed on 2012/03/25 5:40 UTC
Read the original article Hit count: 317

i run the app and get this error. the little arrow points to the 'd', dont know what that means. plus i had the same error just before but on this line:

from quickly.widgets.dictionary grid import DictionaryGrid

the arrow pointed to the 'd' in grid as well. then i changed it to this:

from quickly.widgets.dictionary_grid import DictionaryGrid

i added a '_' in the middle. and now i have the syntax error in the question.

Thanks for any help that is given!

Traceback (most recent call last):
  File "bin/simple-player", line 32, in <module>
    import simple_player
  File "/home/alex/simple-player/simple_player/__init__.py", line 14, in <module>
    from simple_player import SimplePlayerWindow
  File "/home/alex/simple-player/simple_player/SimplePlayerWindow.py", line 51
    media_grid.show()
         ^
SyntaxError: invalid syntax

© Ask Ubuntu or respective owner

Related posts about 11.10

Related posts about application-development