Re: glib-mkenums in glib 2



On 1 Jan 2013, at 15:54, John Emmas wrote:


If anyone has a flash of inspiration, please let me know.


I had a flash of inspiration myself...


Traceback (most recent call last):
  File "F:/+GTK-SOURCES/gnu-win32/src/glib/gio/gdbus-2.0/codegen/gdbus-codegen.in", line 39, in <module>
    from codegen import codegen_main
  File "F:\+GTK-SOURCES\gnu-win32\src\glib\gio\gdbus-2.0\codegen\codegen.py", line 26, in <module>
    from . import config
ValueError: Attempted relative import in non-package


Might this be a 'cascading' problem?  e.g. 'codegen' imports 'codegen_main' which (along the way) imports 'config' which fails - thereby causing them both to fail?

In other words, there might be nothing wrong in the 'codegen_main' package - except that something further down the line is failing to import 'config'

John


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]