VectorLinux
December 20, 2014, 06:17:06 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1] 2
  Print  
Author Topic: SOLVED: gtk2 upgrade breaks wifi-radar  (Read 13330 times)
caitlyn
Packager
Vectorian
****
Posts: 2876


WWW
« on: June 10, 2007, 11:58:26 am »

Hi, everyone,

The upgrade to gtk2 necessary for GNOME and some other packages now in the VL 5.8 Std repository breaks wifi-radar (but, thankfully, nothing else).  Starting wifi-radar from a terminal window as root produces the following error:
Quote
root:# wifi-radar
Traceback (most recent call last):
  File "/usr/sbin/wifi-radar", line 2094, in ?
    import gtk, gobject
ImportError: No module named gtk

I tried building wifi-radar 1.9.8 with the new gtk2 package installed and received the same error.

Is anyone aware of this?  Do you have a fix?

Thanks,
Cait
« Last Edit: June 11, 2007, 02:07:36 pm by caitlyn » Logged

eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1
easuter
Global Moderator
Vectorian
*****
Posts: 2160



« Reply #1 on: June 10, 2007, 12:30:53 pm »

Hmm...thanks for reporting that, I wasn't aware of it either!

Since Wifi-Radar is written in Python and uses the PyGTK bindings, the upgrade of the stock PyGTK package (2.8.6) to PyGTK 2.10.4 is likely to be the cause of the problem.

I'll fix the PyGTK package as soon as possible  Smiley
Logged

caitlyn
Packager
Vectorian
****
Posts: 2876


WWW
« Reply #2 on: June 10, 2007, 12:44:33 pm »

Many thanks for the quick response.  wifi-radar is very important to me so this was frustrating.  It also represented the first time since the release of VL 5.8 that a

Quote
slapt-get --update
slapt-get --upgrade

actually broke something.  Considering how far slapt is behind apt in terms of maturity and features the fact that VL has gone seven months with only two such problems (yes, I have one more to report) which both occurred recently is actually a very good track record and says a something very positive about the diligence of the package and repository maintainers.

Thanks again,
Cait
Logged

eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1
easuter
Global Moderator
Vectorian
*****
Posts: 2160



« Reply #3 on: June 10, 2007, 03:47:16 pm »

I've just booted into my GNOME partition and strangely enough Wifi-Radar works  Huh

http://clientes.netvisao.pt/alynnsut/gnome_wifi-radar.png

Can anyone else using GNOME please test Wifi-Radar and see what the results are? Thanks!

EDIT: I'm installing GNOME on another "virgin" installation of VL to see if I can replicate the problem.
Logged

M0E-lnx
Administrator
Vectorian
*****
Posts: 3195



« Reply #4 on: June 10, 2007, 03:52:27 pm »

I'm getting the exact same error. Already tried upgrading the gtk, and downgraded pygtk and still nothing here
« Last Edit: June 10, 2007, 03:56:14 pm by M0E-lnx » Logged

easuter
Global Moderator
Vectorian
*****
Posts: 2160



« Reply #5 on: June 11, 2007, 03:03:06 am »

Could you please post the output of

Code:
ls /var/log/packages | grep py
Logged

M0E-lnx
Administrator
Vectorian
*****
Posts: 3195



« Reply #6 on: June 11, 2007, 04:37:49 am »


moe:$ ls /var/log/packages | grep py
dbus-python-0.71-i586-4vl58
floppy-5.4-i386-3
gnome-python-2.18.0-i586-4vl58
gnome-python-desktop-2.17.93-i586-4vl58
libxml2-python-2.6.9-i586-4vl58
pycairo-1.4.0-i586-4vl58
pygobject-2.12.3-i586-4vl58
pygtk-2.8.6-i586-4vl58
pyorbit-2.14.2-i586-4vl58
python-2.5.1-i486-1
xdpyinfo-1.0.2-i486-1
Logged

easuter
Global Moderator
Vectorian
*****
Posts: 2160



« Reply #7 on: June 11, 2007, 04:41:54 am »

Quote
pygtk-2.8.6-i586-4vl58

Looks like pygtk didn't get upgraded for some odd reason.
Please try

Code:
slapt-get --install pygtk

and see if it successfully upgrades to 2.10.4.

Caitlyn, does your /var/log/messages contents also show that pygtk is 2.8.6?
Logged

M0E-lnx
Administrator
Vectorian
*****
Posts: 3195



« Reply #8 on: June 11, 2007, 07:43:18 am »

I purposefully downgraded that to test if that was the problem

but I just reverted to 2.10.4 and still no luck
Logged

easuter
Global Moderator
Vectorian
*****
Posts: 2160



« Reply #9 on: June 11, 2007, 07:54:10 am »

Unfortunately, I'm unable to replicate the problem. I've done 3 fresh installations of GNOME on 3 separate partitions running a clean installation of VL 5.8 standard and so far Wifi-Radar continues to work on all 3 of them  Huh

So I need to compare what you have installed and what I have in my libraries; could you please post the output of:

Code:
ls /usr/lib/python2.4/site-packages/ | grep gtk
ls /usr/lib/python2.4/site-packages/gtk-2.0/
ls /usr/lib/python2.4/site-packages/gtk-2.0/gtk/
Logged

caitlyn
Packager
Vectorian
****
Posts: 2876


WWW
« Reply #10 on: June 11, 2007, 01:16:50 pm »

Quote
pygtk-2.8.6-i586-4vl58

Looks like pygtk didn't get upgraded for some odd reason.
Please try

Code:
slapt-get --install pygtk

and see if it successfully upgrades to 2.10.4.

Caitlyn, does your /var/log/messages contents also show that pygtk is 2.8.6?

Nope.  However, it does show my python still back-level at 2.4.3.  I'll try upgrading to 2.5.1 and see if that works.  Another possibilty would be to add the additional python packages.  My working partition doesn't have GNOME installed at the moment and this is happening in Xfce 4.4.0.

Quote
cait@adric:/vector/var/log/packages$ ls | grep py
dbus-python-0.71-i586-4vl58
floppy-5.4-i386-3
libxml2-python-2.6.9-i586-4vl58
pyfribidi-0.5.1-i586-4vl58
pygtk-2.10.4-i586-4vl58
pysol-4.82-i586-4vl58
python-2.4.3-i486-4

I'll let you know what I find.

-Cait
Logged

eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1
caitlyn
Packager
Vectorian
****
Posts: 2876


WWW
« Reply #11 on: June 11, 2007, 02:12:03 pm »

OK, guys, I've solved this on my system.  We ARE going to need a new wifi-radar package in the patches repository to solve this for everyone else.  Fortunately, I already have that built Smiley  If you can expedite testing we'll be golden.  This will affect other people until the new package is generally available. 

What caused this:

Quote
slapt-get --update
slapt-get --upgrade

on a system WITHOUT GNOME will upgrade gtk2.  To work with gtk 2.10.x you need two additional packages for wifi-radar:  pygobject and pycairo.  Adding these two packages from Extra solved the problem.

Look at it this way:  wifi-radar 1.9.8 is much nicer than 1.9.6 anyway Smiley

-Cait
Logged

eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1
easuter
Global Moderator
Vectorian
*****
Posts: 2160



« Reply #12 on: June 11, 2007, 02:27:53 pm »

Ahh...great!  Grin

No wonder I couldn't replicate the problem since gnomemeta installs those packages by default.
I can test your wifi-radar package caitlyn, just not today though since Qt4 seems to be taking a little longer to compile than I thought, so its going to be a while before I can reboot to my package testing partition.

Thanks again for nailing this problem!!  Smiley
« Last Edit: June 12, 2007, 08:38:56 am by easuter » Logged

caitlyn
Packager
Vectorian
****
Posts: 2876


WWW
« Reply #13 on: June 11, 2007, 02:51:42 pm »

My pleasure!  The new package has been uploaded and is ready when you are.

I'd hate to see VL have Fedora-like repository management problems.  One of the huge improvements in 5.8 is that we CAN use slapt-get just like apt-get in Ubuntu and keep dependencies straight.  That makes VL 5.8 much more user friendly than previous versions.

I also really like the VL developer community attitude.  I feel like I'm seen as someone trying to make things better and contribute.  Other projects I've worked on saw me more as a pain in the you-know-what because I found issues.

OK... I've found two other (relatively minor) issues that I'll post about soon.

Thanks again,
Cait
Logged

eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1
Joe1962
Administrator
Vectorian
*****
Posts: 2499



WWW
« Reply #14 on: June 11, 2007, 03:42:17 pm »

I feel like I'm seen as someone trying to make things better and contribute.
That about sums it up very well, at least from my point of view... Grin
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!