Error on launch (Arch)

Asked by Stuart Berry

Hi,

Im getting this error when trying to launch winconn from the CLI on Arch Linux.

Any help would be great.

/usr/lib/python2.7/site-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed
  import gobject._gobject
Traceback (most recent call last):
  File "/usr/bin/winconn", line 47, in <module>
    winconn.main()
  File "/usr/lib/python2.7/site-packages/winconn/__init__.py", line 92, in main
    window = WinconnWindow.WinconnWindow()
  File "/usr/lib/python2.7/site-packages/winconn_lib/Window.py", line 46, in __new__
    builder = get_builder('WinconnWindow')
  File "/usr/lib/python2.7/site-packages/winconn_lib/helpers.py", line 36, in get_builder
    ui_filename = get_data_file('ui', '%s.ui' % (builder_file_name,))
  File "/usr/lib/python2.7/site-packages/winconn_lib/winconnconfig.py", line 46, in get_data_file
    return os.path.join(get_data_path(), *path_segments)
  File "/usr/lib/python2.7/site-packages/winconn_lib/winconnconfig.py", line 63, in get_data_path
    raise project_path_not_found
winconn_lib.winconnconfig.project_path_not_found

Thanks

Stuart

Question information

Language:
English Edit question
Status:
Solved
For:
WinConn Edit question
Assignee:
No assignee Edit question
Solved by:
Stuart Berry
Solved:
Last query:
Last reply:
Revision history for this message
Nicolas Avrutin (nicolasavru) said :
#1

Not compiling the .py files seems to fix this issue. Making any edit to /usr/lib/python2.7/site-packages/winconn_lib/winconnconfig.py to update the timestamp, so that it is used instead of the corresponding .pyc, also resolves the problem, so it seems to be an issue with just that file.

Revision history for this message
Stuart Berry (stuart-berry) said :
#2

Perfect. Thank you :)