Re: ImportError: could not import pygtk
On Sun, Sep 20, 2009 at 04:25:59PM -0700, Buzzer wrote: > On Sun, Sep 20, 2009 at 11:40:41PM +0200, Antoine Jacoutot wrote: > > > uname -a > > > OpenBSD localhost 4.5 200909202109#0 i386 > > > sysctl -n kern.version > > > OpenBSD 4.5 (200909202109) #0: Sun Sep 20 22:18:12 2009 > > > r...@localhost:/sys/arch/i386/compile/200909202109 > > > pkg_info | grep -i gimp > > > gimp-2.6.4p0GNU Image Manipulation Program > > > gimp-lqr-plugin-0.4.0.4 seam-carving smart rescale gimp plugin > > > > > > When I run GIMP, he always display these warnings: > > > > > > Traceback (most recent call last): > > > File "/usr/local/lib/gimp/2.0/plug-ins/python-eval.py", line 20, in > > > > > > from gimpfu import * > > > File "/usr/local/lib/gimp/2.0/python/gimpfu.py", line 75, in > > > import gimp > > > ImportError: could not import pygtk > > > > You are probably missing the py-gtk2 package. > pkg_info | grep -i py-gtk2 > py-gtk2-2.12.1p2GTK+2 Python bindings > > -- > /Buzzer > > Hey Buzzer, Have you tried testing it through the interactive console? Example: $ python >>> import pygtk If this brings up an error after the import then something may be wrong with your path settings. I hope this helps. Thanks, Ryan
Re: ImportError: could not import pygtk
On Sun, Sep 20, 2009 at 11:40:41PM +0200, Antoine Jacoutot wrote: > > uname -a > > OpenBSD localhost 4.5 200909202109#0 i386 > > sysctl -n kern.version > > OpenBSD 4.5 (200909202109) #0: Sun Sep 20 22:18:12 2009 > > r...@localhost:/sys/arch/i386/compile/200909202109 > > pkg_info | grep -i gimp > > gimp-2.6.4p0GNU Image Manipulation Program > > gimp-lqr-plugin-0.4.0.4 seam-carving smart rescale gimp plugin > > > > When I run GIMP, he always display these warnings: > > > > Traceback (most recent call last): > > File "/usr/local/lib/gimp/2.0/plug-ins/python-eval.py", line 20, in > > > > from gimpfu import * > > File "/usr/local/lib/gimp/2.0/python/gimpfu.py", line 75, in > > import gimp > > ImportError: could not import pygtk > > You are probably missing the py-gtk2 package. pkg_info | grep -i py-gtk2 py-gtk2-2.12.1p2GTK+2 Python bindings -- /Buzzer
Re: NEW: security/yersinia
I have been using this on i386. Yersinia works but only if I first bring down interface pflog0 otherwise yersinia core dumps. Its not a big issue for me but I was wondering if there was a fix I could put in for this?
Re: ImportError: could not import pygtk
On Sun, Sep 20, 2009 at 11:40:41PM +0200, Antoine Jacoutot wrote: > On Sun, 20 Sep 2009, Buzzer wrote: > > > uname -a > > OpenBSD localhost 4.5 200909202109#0 i386 > > sysctl -n kern.version > > OpenBSD 4.5 (200909202109) #0: Sun Sep 20 22:18:12 2009 > > r...@localhost:/sys/arch/i386/compile/200909202109 > > pkg_info | grep -i gimp > > gimp-2.6.4p0GNU Image Manipulation Program > > gimp-lqr-plugin-0.4.0.4 seam-carving smart rescale gimp plugin > > > > When I run GIMP, he always display these warnings: > > > > Traceback (most recent call last): > > File "/usr/local/lib/gimp/2.0/plug-ins/python-eval.py", line 20, in > > > > from gimpfu import * > > File "/usr/local/lib/gimp/2.0/python/gimpfu.py", line 75, in > > import gimp > > ImportError: could not import pygtk > > You are probably missing the py-gtk2 package. > > -- > Antoine > That would be odd since py-gtk2 is installed as a dependency for gimp-stable, wouldn't it? This problem shouldn't be occurring unless there were problems during the install. Unless I am missing something. Thanks, Ryan
Re: ImportError: could not import pygtk
On Sun, 20 Sep 2009, Buzzer wrote: > uname -a > OpenBSD localhost 4.5 200909202109#0 i386 > sysctl -n kern.version > OpenBSD 4.5 (200909202109) #0: Sun Sep 20 22:18:12 2009 > r...@localhost:/sys/arch/i386/compile/200909202109 > pkg_info | grep -i gimp > gimp-2.6.4p0GNU Image Manipulation Program > gimp-lqr-plugin-0.4.0.4 seam-carving smart rescale gimp plugin > > When I run GIMP, he always display these warnings: > > Traceback (most recent call last): > File "/usr/local/lib/gimp/2.0/plug-ins/python-eval.py", line 20, in > from gimpfu import * > File "/usr/local/lib/gimp/2.0/python/gimpfu.py", line 75, in > import gimp > ImportError: could not import pygtk You are probably missing the py-gtk2 package. -- Antoine
ImportError: could not import pygtk
uname -a OpenBSD localhost 4.5 200909202109#0 i386 sysctl -n kern.version OpenBSD 4.5 (200909202109) #0: Sun Sep 20 22:18:12 2009 r...@localhost:/sys/arch/i386/compile/200909202109 pkg_info | grep -i gimp gimp-2.6.4p0GNU Image Manipulation Program gimp-lqr-plugin-0.4.0.4 seam-carving smart rescale gimp plugin When I run GIMP, he always display these warnings: Traceback (most recent call last): File "/usr/local/lib/gimp/2.0/plug-ins/python-eval.py", line 20, in from gimpfu import * File "/usr/local/lib/gimp/2.0/python/gimpfu.py", line 75, in import gimp ImportError: could not import pygtk (gimp-2.6:24579): LibGimpBase-WARNING **: gimp-2.6: gimp_wire_read(): error Traceback (most recent call last): File "/usr/local/lib/gimp/2.0/plug-ins/python-console.py", line 20, in from gimpfu import * File "/usr/local/lib/gimp/2.0/python/gimpfu.py", line 75, in import gimp ImportError: could not import pygtk (gimp-2.6:24579): LibGimpBase-WARNING **: gimp-2.6: gimp_wire_read(): error Traceback (most recent call last): File "/usr/local/lib/gimp/2.0/plug-ins/py-slice.py", line 31, in from gimpfu import * File "/usr/local/lib/gimp/2.0/python/gimpfu.py", line 75, in import gimp ImportError: could not import pygtk (gimp-2.6:24579): LibGimpBase-WARNING **: gimp-2.6: gimp_wire_read(): error Traceback (most recent call last): File "/usr/local/lib/gimp/2.0/plug-ins/palette-to-gradient.py", line 17, in from gimpfu import * File "/usr/local/lib/gimp/2.0/python/gimpfu.py", line 75, in import gimp ImportError: could not import pygtk (gimp-2.6:24579): LibGimpBase-WARNING **: gimp-2.6: gimp_wire_read(): error Traceback (most recent call last): File "/usr/local/lib/gimp/2.0/plug-ins/palette-sort.py", line 17, in from gimpfu import * File "/usr/local/lib/gimp/2.0/python/gimpfu.py", line 75, in import gimp ImportError: could not import pygtk (gimp-2.6:24579): LibGimpBase-WARNING **: gimp-2.6: gimp_wire_read(): error Traceback (most recent call last): File "/usr/local/lib/gimp/2.0/plug-ins/palette-offset.py", line 17, in from gimpfu import * File "/usr/local/lib/gimp/2.0/python/gimpfu.py", line 75, in import gimp ImportError: could not import pygtk (gimp-2.6:24579): LibGimpBase-WARNING **: gimp-2.6: gimp_wire_read(): error Traceback (most recent call last): File "/usr/local/lib/gimp/2.0/plug-ins/foggify.py", line 20, in from gimpfu import * File "/usr/local/lib/gimp/2.0/python/gimpfu.py", line 75, in import gimp ImportError: could not import pygtk (gimp-2.6:24579): LibGimpBase-WARNING **: gimp-2.6: gimp_wire_read(): error Traceback (most recent call last): File "/usr/local/lib/gimp/2.0/plug-ins/colorxhtml.py", line 25, in import gimp ImportError: could not import pygtk (gimp-2.6:24579): LibGimpBase-WARNING **: gimp-2.6: gimp_wire_read(): error -- /Buzzer
Re: mplayer continued...
> + --enable-faac \ > + --disable-faac-lavc \ > + --extra-libs-mencoder=-lfaac \ why? -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: Different question about scrotwm -dialog box problem
OK, I finally found a workable solution that will probably work for others also. The stack method worked for some resolutions but not all. I just found a cheap deal on a new monitor, but it works well only up to 1152x864. This resolution does not work with the stacking method. I could never find a region setting that did the trick. I decided that the problem with auto detection was that my main screen was not seen as master screen. Thus, bad auto-detection for dialog boxes. I decided that perhaps instead of swapping normal left right positions with top and bottom, perhaps swapping left and right with right and left would perhaps work. This seems to work perfectly. Dialog boxes now open in main screen from main screen. On smaller screen, they open in larger screen. Since this screen is larger, all of box is visible. Chris Bennett -- A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. -- Robert Heinlein
Express Visas, Express Travels
Express Embassy wishes all Muslims: Hope, belief, love, kindness, devotion, loyalty, purity, perseverance, tranquility and tolerance. May Allah bless you with all these and more on Eid ul-Fitr and always. Express Embassy will continue to be # 1 super speed express immigration, visa, travel and job placement consulting firm with a special attention & prompt service that you deserve. Find out more at www.expressembassy.com Best regards, The Express Embassy Team http://www.expressembassy.com
Re: [update] py-qt3-3.18.1
On Sun, 20 Sep 2009, Jasper Lievisse Adriaanse wrote: > On Sat, Sep 19, 2009 at 08:11:21PM +0200, Antoine Jacoutot wrote: > > Hi. > > > > This diff updates py-qt3 to the latest release which also unbreaks > > building under powerpc. > > > > Comments? OK? > this was already committed, and fixed the build on every platform ;-) > > revision 1.5 > date: 2009/09/09 14:30:01; author: jasper; state: Exp; lines: +3 -3 > - unbreak by updating py-qt3 to 3.18.1 > - tighten run dependency on py-sip > > ok sthen@ > -- ah, lol... > > Index: Makefile > > === > > RCS file: /cvs/ports/x11/py-qt3/Makefile,v > > retrieving revision 1.4 > > diff -u -r1.4 Makefile > > --- Makefile3 Jun 2009 18:21:34 - 1.4 > > +++ Makefile19 Sep 2009 18:09:39 - > > @@ -4,7 +4,7 @@ > > > > COMMENT= python Qt3 bindings > > > > -V= 3.17.6 > > +V= 3.18.1 > > DISTNAME= PyQt-x11-gpl-${V} > > PKGNAME= py-qt3-${V} > > > > Index: distinfo > > === > > RCS file: /cvs/ports/x11/py-qt3/distinfo,v > > retrieving revision 1.2 > > diff -u -r1.2 distinfo > > --- distinfo3 Jun 2009 18:21:34 - 1.2 > > +++ distinfo19 Sep 2009 18:09:39 - > > @@ -1,5 +1,5 @@ > > -MD5 (PyQt-x11-gpl-3.17.6.tar.gz) = ibfEbW20opFvxqtagrDQig== > > -RMD160 (PyQt-x11-gpl-3.17.6.tar.gz) = oaxPQNZmCSJCmUu4VUBKbkx/ZJ8= > > -SHA1 (PyQt-x11-gpl-3.17.6.tar.gz) = aKa7wKghGnYxZfKk6MedmjJiqNI= > > -SHA256 (PyQt-x11-gpl-3.17.6.tar.gz) = > > nIpR0pZRCkAOyCxkrFgrStzjCBHjOyIiGUxAUhe8oag= > > -SIZE (PyQt-x11-gpl-3.17.6.tar.gz) = 813192 > > +MD5 (PyQt-x11-gpl-3.18.1.tar.gz) = 8dEgSV0arzk4GemIwKe7fg== > > +RMD160 (PyQt-x11-gpl-3.18.1.tar.gz) = Eni4BbzQo+NOaKB4ScBSOCxFIJY= > > +SHA1 (PyQt-x11-gpl-3.18.1.tar.gz) = MQwXvTsPgfi1FsW3VSUBcfqcmgQ= > > +SHA256 (PyQt-x11-gpl-3.18.1.tar.gz) = > > frY18E+bGFO26flp3dk5LWdwg/Rion7BkoXhSHxywGE= > > +SIZE (PyQt-x11-gpl-3.18.1.tar.gz) = 819441 > > Index: patches/patch-configure_py > > === > > RCS file: /cvs/ports/x11/py-qt3/patches/patch-configure_py,v > > retrieving revision 1.2 > > diff -u -r1.2 patch-configure_py > > --- patches/patch-configure_py 3 Jun 2009 18:21:34 - 1.2 > > +++ patches/patch-configure_py 19 Sep 2009 18:09:39 - > > @@ -1,7 +1,7 @@ > > $OpenBSD: patch-configure_py,v 1.2 2009/06/03 18:21:34 jasper Exp $ > > configure.py.orig Mon Nov 17 07:02:06 2008 > > -+++ configure.py Mon Jun 1 23:33:51 2009 > > -@@ -1011,7 +1011,7 @@ def check_license(): > > +--- configure.py.orig Tue Jun 16 10:47:29 2009 > > configure.py Sat Sep 19 19:01:31 2009 > > +@@ -1012,7 +1012,7 @@ Type 'no' to decline the terms of the license. > > > > while 1: > > try: > > @@ -10,7 +10,7 @@ > > except: > > resp = "" > > > > -@@ -1091,15 +1091,11 @@ def check_qt_installation(macros): > > +@@ -1092,15 +1092,11 @@ def check_qt_installation(macros): > > macros["LIBDIR_QT"] = qt_libdir > > > > # Check the Qt header files have been installed. Quietly check for > > Qt v4. > > > > > > > > -- > > Antoine > > > > -- Antoine
Re: [update] py-qt3-3.18.1
On Sat, Sep 19, 2009 at 08:11:21PM +0200, Antoine Jacoutot wrote: > Hi. > > This diff updates py-qt3 to the latest release which also unbreaks > building under powerpc. > > Comments? OK? this was already committed, and fixed the build on every platform ;-) revision 1.5 date: 2009/09/09 14:30:01; author: jasper; state: Exp; lines: +3 -3 - unbreak by updating py-qt3 to 3.18.1 - tighten run dependency on py-sip ok sthen@ -- cheers, jasper > Index: Makefile > === > RCS file: /cvs/ports/x11/py-qt3/Makefile,v > retrieving revision 1.4 > diff -u -r1.4 Makefile > --- Makefile 3 Jun 2009 18:21:34 - 1.4 > +++ Makefile 19 Sep 2009 18:09:39 - > @@ -4,7 +4,7 @@ > > COMMENT= python Qt3 bindings > > -V= 3.17.6 > +V= 3.18.1 > DISTNAME=PyQt-x11-gpl-${V} > PKGNAME= py-qt3-${V} > > Index: distinfo > === > RCS file: /cvs/ports/x11/py-qt3/distinfo,v > retrieving revision 1.2 > diff -u -r1.2 distinfo > --- distinfo 3 Jun 2009 18:21:34 - 1.2 > +++ distinfo 19 Sep 2009 18:09:39 - > @@ -1,5 +1,5 @@ > -MD5 (PyQt-x11-gpl-3.17.6.tar.gz) = ibfEbW20opFvxqtagrDQig== > -RMD160 (PyQt-x11-gpl-3.17.6.tar.gz) = oaxPQNZmCSJCmUu4VUBKbkx/ZJ8= > -SHA1 (PyQt-x11-gpl-3.17.6.tar.gz) = aKa7wKghGnYxZfKk6MedmjJiqNI= > -SHA256 (PyQt-x11-gpl-3.17.6.tar.gz) = > nIpR0pZRCkAOyCxkrFgrStzjCBHjOyIiGUxAUhe8oag= > -SIZE (PyQt-x11-gpl-3.17.6.tar.gz) = 813192 > +MD5 (PyQt-x11-gpl-3.18.1.tar.gz) = 8dEgSV0arzk4GemIwKe7fg== > +RMD160 (PyQt-x11-gpl-3.18.1.tar.gz) = Eni4BbzQo+NOaKB4ScBSOCxFIJY= > +SHA1 (PyQt-x11-gpl-3.18.1.tar.gz) = MQwXvTsPgfi1FsW3VSUBcfqcmgQ= > +SHA256 (PyQt-x11-gpl-3.18.1.tar.gz) = > frY18E+bGFO26flp3dk5LWdwg/Rion7BkoXhSHxywGE= > +SIZE (PyQt-x11-gpl-3.18.1.tar.gz) = 819441 > Index: patches/patch-configure_py > === > RCS file: /cvs/ports/x11/py-qt3/patches/patch-configure_py,v > retrieving revision 1.2 > diff -u -r1.2 patch-configure_py > --- patches/patch-configure_py3 Jun 2009 18:21:34 - 1.2 > +++ patches/patch-configure_py19 Sep 2009 18:09:39 - > @@ -1,7 +1,7 @@ > $OpenBSD: patch-configure_py,v 1.2 2009/06/03 18:21:34 jasper Exp $ > configure.py.origMon Nov 17 07:02:06 2008 > -+++ configure.py Mon Jun 1 23:33:51 2009 > -@@ -1011,7 +1011,7 @@ def check_license(): > +--- configure.py.origTue Jun 16 10:47:29 2009 > configure.py Sat Sep 19 19:01:31 2009 > +@@ -1012,7 +1012,7 @@ Type 'no' to decline the terms of the license. > > while 1: > try: > @@ -10,7 +10,7 @@ > except: > resp = "" > > -@@ -1091,15 +1091,11 @@ def check_qt_installation(macros): > +@@ -1092,15 +1092,11 @@ def check_qt_installation(macros): > macros["LIBDIR_QT"] = qt_libdir > > # Check the Qt header files have been installed. Quietly check for Qt > v4. > > > > -- > Antoine > -- "Intelligence should guide our actions, but in harmony with the texture of the situation at hand" -- Francisco Varela
Re: gstreamer update ?
On Sunday 20 September 2009 05:44:44 viq wrote: > Is anyone working on gstreamer update? I am trying to work on > psimedia[1] and it wants gstreamer with version at least 0.10.22 while > we have 0.10.19. > > [1] http://delta.affinix.com/psimedia/ - allows psi to do voice and > video connections I have an update mostly done (though it'll need to be updated again once the merging diff goes in) but it requires a newer version of flex(1) so I haven't bothered to make sure its all nice and polished yet. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Application highlight: Race for the galaxy
It's not often that this happens, but I wanted to give praise to the game: Race for the galaxy. It's a very nice version of a hit card game that came out a year ago. The author did a lot of things right: asked for the permission from the editors. No-nonsense makefile, nice graphical interface, killer UI. Compiles fast ! and cleanly (and I'm generally not a fan of gtk apps). Unless you're into this kind of reflexion game, it probably won't appeal to you, but it's a pretty cool program.
drupal5 in search of maintainer...
I no longer use drupal5 at all. I'm doing a security update to 5.20, but I need someone motivated to follow on drupal module updates (mostly security stuff). Otherwise, I'm going to simply phase drupal5 out of existence so that people stay with the maintained drupal6 code base...
gstreamer update ?
Is anyone working on gstreamer update? I am trying to work on psimedia[1] and it wants gstreamer with version at least 0.10.22 while we have 0.10.19. [1] http://delta.affinix.com/psimedia/ - allows psi to do voice and video connections -- viq pgpbmTBV3u721.pgp Description: PGP signature