VectorLinux
September 17, 2014, 09:16:08 am *
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 12686 times)
M0E-lnx
Administrator
Vectorian
*****
Posts: 3179



« Reply #15 on: June 12, 2007, 06:08:58 am »

where exactly did you get pyobject and pycairo from?// I know I've built these before, but I can't find the source code anymore, and I can't find the packages in extra either..
Logged

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



« Reply #16 on: June 12, 2007, 06:36:15 am »

Moe, they are in the extra repo, IIRC:

Code:
vector://home/easuter
root:# slapt-get --search pygobject pycairo
pygobject-2.12.3-i586-4vl58 [inst=yes]: PyGObject
pycairo-1.4.0-i586-4vl58 [inst=yes]: PyCairo
Logged

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



« Reply #17 on: June 12, 2007, 07:04:46 am »

I can't find them... I know I got pycairo, but not pyobject

NEVER MIND:

This is weird though... They are in the gnome directory, but slapt-get can't get them (at least for me)

But in either case, after installing both of these, I'm still unable to use it
« Last Edit: June 12, 2007, 07:21:08 am by M0E-lnx » Logged

caitlyn
Packager
Vectorian
****
Posts: 2874


WWW
« Reply #18 on: June 12, 2007, 07:37:57 am »

I can't find them... I know I got pycairo, but not pyobject

NEVER MIND:

This is weird though... They are in the gnome directory, but slapt-get can't get them (at least for me)

But in either case, after installing both of these, I'm still unable to use it

Can you run wifi-radar from the command line as root and post the error you receive here?

There is a problem invoking wifi-radar with the new version of gksu.  The problem appears to be gksu, not wifi-radar.  That's the next one I'll be posting about after doing a bit more testing this evening.

-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
M0E-lnx
Administrator
Vectorian
*****
Posts: 3179



« Reply #19 on: June 12, 2007, 07:39:57 am »

root:# wifi-radar
Traceback (most recent call last):
  File "/usr/sbin/wifi-radar", line 1920, in <module>
    import gtk, gobject
ImportError: No module named gtk
Logged

caitlyn
Packager
Vectorian
****
Posts: 2874


WWW
« Reply #20 on: June 12, 2007, 07:42:57 am »

That was the error I received before installing pygobject.  You are certain you have that installed on your system, right?

You have access to the contrib directories, don't you?  Try pulling wifi-radar 1.9.8 from mine and see if the error is the same.  I never did try and get 1.9.6 working correctly once I knew the package had to be rebuilt for new dependencies.

-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
M0E-lnx
Administrator
Vectorian
*****
Posts: 3179



« Reply #21 on: June 12, 2007, 07:52:16 am »

I can't download from vectorcontrib, I can only upload there

but I am certain I got those installed
Logged

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



« Reply #22 on: June 12, 2007, 08:19:25 am »

I was able to track down the problem to a situation where I had 2 versions of python installed

I removed both, then reinstalled just one
after that, I also noticed 2 versions of wifi radar installed, so i did the same procedure as step 1
after that it works but only if I call it using gksu.

If I call it directly from a terminal as root, I get a segmentation fault error.
Logged

caitlyn
Packager
Vectorian
****
Posts: 2874


WWW
« Reply #23 on: June 12, 2007, 08:39:03 am »

Well... at least you have it working.  eauster said he'd try to get to wifi-radar 1.9.8 today.  Hopefully he'll have the time and you can try that.  I can start it both from a terminal (as root, of course) or with gksu and it works properly.  In fact I'm on my lunch hour now and using it at a free hotspot I've never used before Smiley  Great app, isn't it?

-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
M0E-lnx
Administrator
Vectorian
*****
Posts: 3179



« Reply #24 on: June 12, 2007, 08:42:35 am »

when it works right it is a great tool
Logged

caitlyn
Packager
Vectorian
****
Posts: 2874


WWW
« Reply #25 on: June 12, 2007, 08:53:29 am »

1.9.8 has more configuration options.  It solved some issues for me.  I wanted to build it in any case but the breaking of 1.9.6 made it urgent.  Anyway, please try it and let me know if it works for you.  Somehow I think if anyone is going to find something wrong with my package it will be you.  I'd like to be certain I've got it right.

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
M0E-lnx
Administrator
Vectorian
*****
Posts: 3179



« Reply #26 on: June 12, 2007, 08:59:03 am »

did you upload it yet?

I just moved your package to testing...

Here is what I found
http://www.vectorlinux.com/forum2/index.php?topic=3315.0

Pretty much the same thing... it gets me a seg fault when called as root, and now a permissions error when I call it as user, but it still works if I call it as gksu wifi-radar
« Last Edit: June 12, 2007, 09:14:27 am by M0E-lnx » Logged

caitlyn
Packager
Vectorian
****
Posts: 2874


WWW
« Reply #27 on: June 12, 2007, 10:30:26 am »

Thanks for moving the package to testing.  I responded with some thoughts re: troubleshooting your issue in the new thread you linked to.  I think the issue is now a permissions issue on your box rather than a generic wifi-radar issue with the 1.9.8 package.

Thanks for all your effort on this.

-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 #28 on: June 12, 2007, 10:38:25 am »

Caitlyn, I've just tested your wifi-radar package and its working here. Me likes version 1.9.8  Wink

Anyway, only one thing to point out is that the .desktop menu file included with the wifi-radar package tries to use "gksudo -S wifi-radar" to get root privileges, instead os "gksu wifi-radar".

I can fix this for you if you like since I'm going to start moving the packages.
Logged

caitlyn
Packager
Vectorian
****
Posts: 2874


WWW
« Reply #29 on: June 12, 2007, 10:48:48 am »

eauster, I appreciate the offer but I still had my working directory intact.  I've just uploaded build 5vl58 which has the corrected .desktop file to my contrib directory.  You can use that and save yourself the effort.

Thanks,
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
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!