Re: [Gtk-osx-users] Build python ige-mac-integration binding



Thank you John, I will try to solve it.

Regards,
Gertwin


2009/7/17 John Ralls <jralls ceridwen us>:
>
> On Jul 16, 2009, at 1:16 PM, Gertwin Groen wrote:
>
>> Hello John,
>>
>> Thank you, after adding append_autogenargs("ige-mac-integration",
>> "--enable-python=yes") to my .jhbuildrc-custom and calling jhbuild
>> buildone ige-mac-integration the python module was build.
>> It installed in ~/gtk/inst/lib/python2.5/site-packages, pygtk was
>> installed in /Library/Python/2.5/site-packages.
>>
>> I try to run the test-integration.py file but this gives an error:
>>
>> ./test-integration.py
>> Traceback (most recent call last):
>>  File "./test-integration.py", line 82, in <module>
>>    window = MainWindow()
>>  File "./test-integration.py", line 44, in __init__
>>    macmenu.set_menu_bar(menubar)
>>  File "/Users/gertwin/gtk/inst/lib/python2.5/site-packages/
>> igemacintegration/__init__.py",
>> line 32, in set_menu_bar
>>    ige_mac_menu_set_menu_bar(menubar)
>> NameError: global name 'ige_mac_menu_set_menu_bar' is not defined
>>
>> looks like the library _igemacintegration.so is not loaded.
>>
>> Can you give me a hint how to resolve this?
>>
>> Regards,
>> Gertwin
>
> I'd love to, but I haven't a clue. Python is not yet one of my
> stronger languages.
> ISTM, though, that if _igemacintegrations.so weren't getting loaded it
> would report that up where it imports it. Mightn't it be that
> ige_mac_menu_set_menu_bar() isn't getting into the global namespace?
>
> Regards,
> John Ralls
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Gtk-osx-users mailing list
> Gtk-osx-users lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/gtk-osx-users
>

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gtk-osx-users mailing list
Gtk-osx-users lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtk-osx-users



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