Description: PyWireless is a basic wireless connection monitor with DCOP support...
This is written because
* KWifiManager seems like disaster (sorry guys!), * Karamba eats my CPU, * And there is no (or i can't find) KDE integrated wifi monitor toolLast changelog:
I sucessfully ran make and make install but when i wanna start PyWireless i get following:
./PyWireless.py
Traceback (most recent call last):
File "./PyWireless.py", line 35, in <module>
from qt import QToolTip, QTimer, QMessageBox, SIGNAL
ImportError: No module named qt
What's wrong there? I installed PyQt for KDE4.
Thanks,
Ron
Nevermind. Found a way to install:
From terminal, as root, go to the directory where you extracted the archive.
from there type: make install
the script will do it's work.
Then to run, type: PyWireless.py
However, this is not working. It does not start. I am running Mandriva 2007 and this is the error it spits out:
# PyWireless.py
Traceback (most recent call last):
File "/usr/bin/PyWireless.py", line 36, in ?
from kdecore import KIcon, KIconLoader, KCmdLineArgs, KAboutData, KUniqueApplication, KStandardDirs
ImportError: No module named kdecore
Somehow it wouldn't start this is what I get:
root@kaynemo kaynemo]# PyWireless.py
Traceback (most recent call last):
File "/usr/bin/PyWireless.py", line 36, in ?
from kdecore import KIcon, KIconLoader, KCmdLineArgs, KAboutData, KUniqueApplication, KStandardDirs
ImportError: cannot import name KIcon
I too am having an issue of this nicely done app crashing on logout, reboot, or shutdown. I think in time as this app matures more it will be the defacto for KDE wireless monitoring. Personally, I love what you've done but please see if you can fix the crash issues in an update....
Program crashes at Shutdown. Crash Manager comes up etc.. must say OK to go on shutting down.
Maybe you can hint me out?
Using Debian Sid, updated yesterday all files etc. latest kernel v20
Please enlighten me (well, I use KDE :o)
However, MUCH BETTER than any kwifi(not)manager. Really suggestable to everyone!
* KWifiManager seems like disaster (sorry guys!), Full Ack, KWifiManager is still to old. I really like this little Pythonprogramm, very good idea and very good realisation! thank you!
damn, i have to post this again, this cms isn´t able to handle with < and > :/
Hi,
I've installed this nice looking utility, but it wasn't able to detect my wireless interface. (I am using hostap driver) I can see my interface as /sys/class/net/wlan0, but the program can't. On the other side Kwireless and iwconfig reports the signal strengh and all the other info OK. Any idea? Thank you. I would really appreciate any help.
Now that's something usefull. And it looks good too.
What would really make it a killer app if it could detect networks and manage the passphrases/keys.
Could oyu do that? :)
Now I receive the following error:
"You don't have any wireless interface..."
I use ndiswrapper because I got a Broadcom wireless card and I can't find any linux driver. Is it a problem?
I can't run it. I receive the following error:
Traceback (most recent call last):
File "/usr/bin/PyWireless.py", line 36, in ?
from kdecore import KIcon, KIconLoader, KCmdLineArgs, KAboutData, KUniqueApplication, KStandardDirs
ImportError: No module named kdecore
I use Gentoo on 2.6.15-gentoo kernel and kde-3.5
That's because python is trying to load a module (kdecore) but it can not find it ...
Most likely cause? you don't have it installed ...
The module you need is PyKDE. Browse the cds that you used to install your given linux distro, and look for it, or get it from here: http://sourceforge.net/projects/pykde/
I highly recommend you to install it from your cds ...
see ya =)
Sorry, I'm unable to read...
After reading your post with more attention finally I understood that you wrote me to get the one from MY cds, not from YOUR...
Sorry! And many thanks again for your help!
I really like this, a lot lighter than KWifiManager, which I had been using to show the statistics since I let wifi-radar manage my connections.
The only problem that I get is when the systray icons change. Most of the time, it shows the default mimetype icon (a single page) but other times it shows the actual icons.
I put screenshots here for you to see:
http://www.public.iastate.edu/~bobw/pywireless_screen1.jpghttp://www.public.iastate.edu/~bobw/pywireless_screen2.jpg
Any idea on how to fix this?
I found out that my link quality was going above 100, so anything greater than 120 wasn't finding an icon with the index that is used to find it.
I'd make a .diff, but I haven't had success doing them, so here is what I changed:
''' Tray icon name '''
if int(status):
index = int(linkStatus)
if index > 100:
index = 5
else:
index = index / 20
iconName = 'pywireless_' + str(index)
Hi,
I want to use this application but can't. I get the following error:
% PyWireless.py
Traceback (most recent call last):
File "/usr/bin/PyWireless.py", line 362, in ?
trayWindow = SystemTray(None, appName)
File "/usr/bin/PyWireless.py", line 251, in __init__
self.wirelessStatus = WirelessStatus()
File "/usr/bin/PyWireless.py", line 65, in __init__
QMessageBox.information(self, _("No Wireless Interface"), _("You don't have any wireless interface..."), QMessageBox.Ok)
NameError: global name 'QMessageBox' is not defined
PyWireless: ERROR: Communication problem with PyWireless, it probably crashed.
Any idea what's wrong?
thanks,
Osho
there is a missing import here, i corrected on svn, following patch solves this issue...
Modified: PyWireless/PyWireless.py
=================================================================
--- PyWireless/PyWireless.py (original)
+++ PyWireless/PyWireless.py Sun Dec 18 02:55:33 2005
@@ -32,7 +32,7 @@
_ = __trans.ugettext
''' PyQt and PyKDE Modules'''
-from qt import QToolTip, QTimer, SIGNAL
+from qt import QToolTip, QTimer, QMessageBox, SIGNAL
from kdecore import KIcon, KIconLoader, KCmdLineArgs, KAboutData, KUniqueApplication, KStandardDirs
from kdeui import KSystemTray
from dcopexport import DCOPExObj
Ratings & Comments
28 Comments
I sucessfully ran make and make install but when i wanna start PyWireless i get following: ./PyWireless.py Traceback (most recent call last): File "./PyWireless.py", line 35, in <module> from qt import QToolTip, QTimer, QMessageBox, SIGNAL ImportError: No module named qt What's wrong there? I installed PyQt for KDE4. Thanks, Ron
Hi, like your app. but what about providing some basic installation in the readme. Because some people (like myself) are new to Linux. thanks, -LR
Nevermind. Found a way to install: From terminal, as root, go to the directory where you extracted the archive. from there type: make install the script will do it's work. Then to run, type: PyWireless.py However, this is not working. It does not start. I am running Mandriva 2007 and this is the error it spits out:
# PyWireless.py
Traceback (most recent call last):
File "/usr/bin/PyWireless.py", line 36, in ?
from kdecore import KIcon, KIconLoader, KCmdLineArgs, KAboutData, KUniqueApplication, KStandardDirs
ImportError: No module named kdecore
let us know how ot fix it.
-LR
~ $ PyWireless.py Traceback (most recent call last): File "/usr/bin/PyWireless.py", line 36, in ? from kdecore import KIcon, KIconLoader, KCmdLineArgs, KAboutData, KUniqueApplication, KStandardDirs ImportError: No module named kdecore
...same error here since I use Suse 10.2 (10.1 was ok)!
kdebindings3-python was missing...
Somehow it wouldn't start this is what I get: root@kaynemo kaynemo]# PyWireless.py Traceback (most recent call last): File "/usr/bin/PyWireless.py", line 36, in ? from kdecore import KIcon, KIconLoader, KCmdLineArgs, KAboutData, KUniqueApplication, KStandardDirs ImportError: cannot import name KIcon
same here: crash on logout
I too am having an issue of this nicely done app crashing on logout, reboot, or shutdown. I think in time as this app matures more it will be the defacto for KDE wireless monitoring. Personally, I love what you've done but please see if you can fix the crash issues in an update....
Program crashes at Shutdown. Crash Manager comes up etc.. must say OK to go on shutting down. Maybe you can hint me out? Using Debian Sid, updated yesterday all files etc. latest kernel v20 Please enlighten me (well, I use KDE :o) However, MUCH BETTER than any kwifi(not)manager. Really suggestable to everyone!
* KWifiManager seems like disaster (sorry guys!), Full Ack, KWifiManager is still to old. I really like this little Pythonprogramm, very good idea and very good realisation! thank you! damn, i have to post this again, this cms isn´t able to handle with < and > :/
* KWifiManager seems like disaster (sorry guys!),
Hi, I've installed this nice looking utility, but it wasn't able to detect my wireless interface. (I am using hostap driver) I can see my interface as /sys/class/net/wlan0, but the program can't. On the other side Kwireless and iwconfig reports the signal strengh and all the other info OK. Any idea? Thank you. I would really appreciate any help.
Now that's something usefull. And it looks good too. What would really make it a killer app if it could detect networks and manage the passphrases/keys. Could oyu do that? :)
Now I receive the following error: "You don't have any wireless interface..." I use ndiswrapper because I got a Broadcom wireless card and I can't find any linux driver. Is it a problem?
I can't run it. I receive the following error: Traceback (most recent call last): File "/usr/bin/PyWireless.py", line 36, in ? from kdecore import KIcon, KIconLoader, KCmdLineArgs, KAboutData, KUniqueApplication, KStandardDirs ImportError: No module named kdecore I use Gentoo on 2.6.15-gentoo kernel and kde-3.5
That's because python is trying to load a module (kdecore) but it can not find it ... Most likely cause? you don't have it installed ... The module you need is PyKDE. Browse the cds that you used to install your given linux distro, and look for it, or get it from here: http://sourceforge.net/projects/pykde/ I highly recommend you to install it from your cds ... see ya =)
Thank you for your help. I'll try this evening. But why you suggest me to get the one from the cds instead of emerging it from the portage?
Sorry, I'm unable to read... After reading your post with more attention finally I understood that you wrote me to get the one from MY cds, not from YOUR... Sorry! And many thanks again for your help!
I really like this, a lot lighter than KWifiManager, which I had been using to show the statistics since I let wifi-radar manage my connections. The only problem that I get is when the systray icons change. Most of the time, it shows the default mimetype icon (a single page) but other times it shows the actual icons. I put screenshots here for you to see: http://www.public.iastate.edu/~bobw/pywireless_screen1.jpg http://www.public.iastate.edu/~bobw/pywireless_screen2.jpg Any idea on how to fix this?
I found out that my link quality was going above 100, so anything greater than 120 wasn't finding an icon with the index that is used to find it. I'd make a .diff, but I haven't had success doing them, so here is what I changed: ''' Tray icon name ''' if int(status): index = int(linkStatus) if index > 100: index = 5 else: index = index / 20 iconName = 'pywireless_' + str(index)
Hi, I want to use this application but can't. I get the following error: % PyWireless.py Traceback (most recent call last): File "/usr/bin/PyWireless.py", line 362, in ? trayWindow = SystemTray(None, appName) File "/usr/bin/PyWireless.py", line 251, in __init__ self.wirelessStatus = WirelessStatus() File "/usr/bin/PyWireless.py", line 65, in __init__ QMessageBox.information(self, _("No Wireless Interface"), _("You don't have any wireless interface..."), QMessageBox.Ok) NameError: global name 'QMessageBox' is not defined PyWireless: ERROR: Communication problem with PyWireless, it probably crashed. Any idea what's wrong? thanks, Osho
I have this same problem.. Debian unstable. I can provide more information if necessary
there is a missing import here, i corrected on svn, following patch solves this issue... Modified: PyWireless/PyWireless.py ================================================================= --- PyWireless/PyWireless.py (original) +++ PyWireless/PyWireless.py Sun Dec 18 02:55:33 2005 @@ -32,7 +32,7 @@ _ = __trans.ugettext ''' PyQt and PyKDE Modules''' -from qt import QToolTip, QTimer, SIGNAL +from qt import QToolTip, QTimer, QMessageBox, SIGNAL from kdecore import KIcon, KIconLoader, KCmdLineArgs, KAboutData, KUniqueApplication, KStandardDirs from kdeui import KSystemTray from dcopexport import DCOPExObj
Clean UI, simple, and useful app. Thanks for the good work.