
PyWireless
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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 tool
14 years ago
* Program crashes at Shutdown problem solved.
14 years ago
* Program crashes at Shutdown problem solved.
reggler
12 years ago
./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
Report
linuxrush
14 years ago
like your app. but what about providing some basic installation in the readme. Because some people (like myself) are new to Linux.
thanks,
-LR
Report
linuxrush
14 years ago
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
Report
Heart
14 years ago
Report
Heart
14 years ago
Report
Khan
14 years ago
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
Report
kaynemo
14 years ago
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
Report
tjengo
14 years ago
Report
TFrog
14 years ago
Report
herrfelix
14 years ago
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!
Report
Psypointer
14 years ago
damn, i have to post this again, this cms isn´t able to handle with < and > :/
Report
Psypointer
14 years ago
Report
supeter
15 years ago
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.
Report
loenen
15 years ago
What would really make it a killer app if it could detect networks and manage the passphrases/keys.
Could oyu do that? :)
Report
edux
15 years ago
"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?
Report
edux
15 years ago
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
Report
gnemmi
15 years ago
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 =)
Report
edux
15 years ago
But why you suggest me to get the one from the cds instead of emerging it from the portage?
Report
edux
15 years ago
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!
Report
xtacocorex
15 years ago
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?
Report
xtacocorex
15 years ago
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)
Report
oshogg
15 years ago
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
Report
mehturt
15 years ago
Report
caglar10ur
15 years ago
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
Report
whiskybar
15 years ago
Report