[Top][All Lists]

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

[Weechat-dev] [bug #31091] python plugin: import gtk throws error

From: anonymous
Subject: [Weechat-dev] [bug #31091] python plugin: import gtk throws error
Date: Mon, 20 Sep 2010 21:44:33 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100916 Ubuntu/10.10 (maverick) Firefox/3.6.10


                 Summary: python plugin: import gtk throws error
                 Project: WeeChat
            Submitted by: None
            Submitted on: Mon 20 Sep 2010 09:44:32 PM UTC
                Category: script API plugins
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Leon Bogaert
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.3.3
                IRC nick: LBo



When I use "import gtk" or a library that uses gtk in a python plugin,
weechat throws an error:

python: stdout/stderr: Traceback (most recent call last):
python: stdout/stderr:   File "/home/leon/.weechat/python/windicate.py", line
24, in <module>
python: stdout/stderr:     import gtk
python: stdout/stderr:   File
"/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py", line 42, in <module>
python: stdout/stderr:     import gdk
python: stdout/stderr: ImportError: No module named gdk
python: unable to parse file "/home/leon/.weechat/python/windicate.py"

When I use import gtk in a standalone script or in ipython it doesn't throw
an error.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]