maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] WifiEye (https://talk.maemo.org/showthread.php?t=43806)

v13 2010-02-20 15:18

Re: [Announce] WifiEye
 
Quote:

Originally Posted by ajaxous (Post 532625)
Is there a limit to the number of networks displayed? The app works great in most places for me. In a few places that I know to have a lot of networks, it has only once displayed a bunch of plots. It looked like around 16. In those areas, most of the time the plot is just blank on first launch and after choosing refresh it's still blank. I'm not sure if it's the number of networks or maybe something else in my settings is causing the problem. Thanks for your thoughts!

There is no such limit in the app (except perhaps from the colors that need to be recycled). To debug this you can:

* Run wifieye from a terminal and see if it displays any output.

* If it doesn't output anything, open a terminal and run:

sudo /usr/bin/wifieye-sy

and see if there is any output (should be much more than 2-3 lines).

v13 2010-02-21 20:22

Re: [Announce] WifiEye
 
1 Attachment(s)
Version 0.5.0 of wifieye is in extras-testing.

Apart from some fixes, cleanups, and minor ui changes, this version features a new (third) view option: List view.

Have a look at the attachment.

davidmct 2010-03-02 10:17

Re: [Announce] WifiEye
 
Application installed and runs fine.

Some possible ideas for improvement:
- add some form of filtering eg select subset of networks to show, what channels to view etc. Can be very complex graph when multiple networks
- allow zoom of Y axis to show differences or scale to fill screen

BR David

v13 2010-03-02 16:59

Re: [Announce] WifiEye
 
Quote:

Originally Posted by davidmct (Post 552249)
Some possible ideas for improvement:
- add some form of filtering eg select subset of networks to show, what channels to view etc. Can be very complex graph when multiple networks

This is already planned for a future version.

Quote:

Originally Posted by davidmct (Post 552249)
- allow zoom of Y axis to show differences or scale to fill screen
BR David

This is not a good solution because there is not infinite or very good accuracy. Most probably it will end showing only at the messed part. I don't believe it will make the lines more distinguishable. It will just increase the margins at top/bottom of the mess.

inidrog 2010-03-02 17:22

Re: [Announce] WifiEye
 
So now I am waiting for the future :)

les_garten 2010-03-02 17:27

Re: [Announce] WifiEye
 
Quote:

Originally Posted by inidrog (Post 552661)
So now I am waiting for the future :)

Don't feel bad, we all are...

Hrw 2010-03-02 17:43

Re: [Announce] WifiEye
 
Add buttons for each view instead of 'select view' button please - easier use of application.

ecksun 2010-03-05 11:10

Re: [Announce] WifiEye
 
This package is now in Extras, however there is unmet dependencies:
python2.5-qt4-common
python2.5-qt4-gui

Shouldn't it be impossible for packages which have unmet dependencies to be promoted to Extras?

v13 2010-03-05 11:38

Re: [Announce] WifiEye
 
Quote:

Originally Posted by ecksun (Post 556712)
This package is now in Extras, however there is unmet dependencies:
python2.5-qt4-common
python2.5-qt4-gui

Shouldn't it be impossible for packages which have unmet dependencies to be promoted to Extras?

In fact, the way maemo dependencies work, it should cause the required libraries to be promoted to extras. However, due to the way the whole thing works they didn't and they required manual intervention. This was done at most a couple of hours after the promotion of WifiEye to extras, so it should not be a problem. According to this, this and this, the required libraries are available in extras.

I suggest you update the catalog and try again and if it fails report back.

v13 2010-03-05 11:41

Re: [Announce] WifiEye
 
Quote:

Originally Posted by Hrw (Post 552687)
Add buttons for each view instead of 'select view' button please - easier use of application.

Unless they go to the menu, there is no space for that. Btw, how often do you change the views?

I'm planning some things like portrait mode (the app is already partially portrait-mode ready) and finger-based switching of the view, but I need Qt 4.6 which is not available yet, but it will be in PR1.2.

attila77 2010-03-05 14:33

Re: [Announce] WifiEye
 
Quote:

Originally Posted by v13 (Post 556747)
I'm planning some things like portrait mode (the app is already partially portrait-mode ready) and finger-based switching of the view, but I need Qt 4.6 which is not available yet, but it will be in PR1.2.

Technically, you need an updated/recompiled PyQt for Qt4.6 with the extra classes and attribs (a la Qt::WA_Maemo5PortraitOrientation), and it's me who needs Qt4.6 to be able to do that :)

v13 2010-03-05 14:46

Re: [Announce] WifiEye
 
Quote:

Originally Posted by attila77 (Post 556899)
Technically, you need an updated/recompiled PyQt for Qt4.6 with the extra classes and attribs (a la Qt::WA_Maemo5PortraitOrientation), and it's me who needs Qt4.6 to be able to do that :)

That's what I meant :p

I need it because you need it... It's a special kind of bonding :D

ecksun 2010-03-05 22:49

Re: [Announce] WifiEye
 
Quote:

Originally Posted by v13 (Post 556742)
In fact, the way maemo dependencies work, it should cause the required libraries to be promoted to extras. However, due to the way the whole thing works they didn't and they required manual intervention. This was done at most a couple of hours after the promotion of WifiEye to extras, so it should not be a problem. According to this, this and this, the required libraries are available in extras.

I suggest you update the catalog and try again and if it fails report back.

Yes, It now works fine (I assume it did when you posted too :P). I guess I just checked to soon after the promotion.

Thanks for the info of how Extras works, do you have any nice sources as to explain why it didn't work the first time?

Very nice program btw, love the GUI :)

attila77 2010-03-06 11:14

Re: [Announce] WifiEye
 
Quote:

Originally Posted by ecksun (Post 557375)
Thanks for the info of how Extras works, do you have any nice sources as to explain why it didn't work the first time?

Long ago, in a distant land, there was a version of PyQt that got promoted into Extras. It was soon discovered that the promotion mechanism pulled in some packages (even though PyQt defined them only as optional) that should have not ended up in Extras. To avoid total breakage, these modules were then removed. /fast forward to present day/ WiFiEye gets promoted, but the promotion mechanism does not promote the necessary PyQt modules as it thinks they have already been promoted, but in reality they are missing due to the deletion. Admins promote the necessary PyQt packages by hand, WiFiEye becomes installable again, everybody happy.

EDIT: I'd be grateful if peole could join testing my packages to avoid situations like this (if I can promote these 'master' packages, we don't need to poke admins as in the case of WiFiEye)

Mr. Incredible 2010-03-06 14:25

Re: [Announce] WifiEye
 
Sometimes it isn't working. I have to restart the app 2-4 times to make it work.

Btw i love the app

KristianW 2010-03-06 14:31

Re: [Announce] WifiEye
 
Only for maemo 5 ?
Or might it work on an N810 ?

Will there possibly be a future diablo version ?

attila77 2010-03-06 15:37

Re: [Announce] WifiEye
 
Quote:

Originally Posted by KristianW (Post 557872)
Only for maemo 5 ?
Or might it work on an N810 ?

Will there possibly be a future diablo version ?

python-wifi seems to be missing from the dependencies... not sure if there is any inherent reason for that or simply nobody bothered. PyQt is available for the N810, so no problem there.

Mr. Incredible 2010-05-25 10:55

Re: [Announce] WifiEye
 
Hello
I cannot update WifiEye. The application manager says that a file is corrupt.

Updated to PR 1.2 but I still can't install WifiEye. Help!

v13 2010-05-25 19:55

Re: [Announce] WifiEye
 
1 Attachment(s)
I just promoted a new version (0.6.1-3) of wifieye to extras-testing. Changes are:
  • Some code cleanups.
  • Proper credit to authors of wifi-analyzer in package description.
  • Switch from python-wifi to parsing the output of "iwlist scan". This allows for (a) porting to diablo and (b) getting encryption information.
  • Display authentication and encryption information in details view.
  • Better sorting in details view.
  • An about dialog with licencing information.

Attached is a screenshot of the improved details view.

As always you are invited to test this version and vote appropriately.

Edit: Version 0.6.1-3 had a dependency that was not specified. Version 0.6.1-4 includes the dependency (wireless-tools) but it was removed from the repositories a couple of hours before uploading wifieye (!). Please ignore this update until I find out how to solve the problem. Of course you're free to try it and experiment but you'll have to install wireless-tools by yourself.

v13 2010-05-25 19:57

Re: [Announce] WifiEye
 
Quote:

Originally Posted by Mr. Incredible (Post 675448)
Hello
I cannot update WifiEye. The application manager says that a file is corrupt.

Updated to PR 1.2 but I still can't install WifiEye. Help!

Can you provide more information? What the "Details" button shows? If you run as root in a terminal:

Code:

# apt-get install wifieye
does it fail? What are the errors?

p.s. I just uploaded a newer version. Perhaps you can try this one.

v13 2010-05-25 19:59

Re: [Announce] WifiEye
 
Quote:

Originally Posted by attila77 (Post 557914)
python-wifi seems to be missing from the dependencies... not sure if there is any inherent reason for that or simply nobody bothered. PyQt is available for the N810, so no problem there.

Version 0.6.1-3 does not depend on python-wifi anymore. Perhaps you can try this one?

I tried doing it myself in the SDK by installing python2.5-qt4-gui but it core dumps (!).

ton 2010-05-25 20:11

Re: [Announce] WifiEye
 
I just installed it but not networks are detected. You see only the chart without any networks. Normally I should see about 6 networks. I installed version v0.6.1.

v13 2010-05-25 20:16

Re: [Announce] WifiEye
 
Quote:

Originally Posted by ton (Post 676954)
I just installed it but not networks are detected. You see only the chart without any networks. Normally I should see about 6 networks. I installed version v0.6.1.

First try "refresh" if you have not done already,

If it doesn't work then check if no networks are shown in all views (especially in channels and detail view)

In any case, run 'wifieye' from a terminal and see if there are any errors. If there are errors then please send them to me directly via e-mail or post them here in the forum.

Mr. Incredible 2010-05-25 20:22

Re: [Announce] WifiEye
 
Sorry, I forgot to add "/" at the end of extras-devel reporistory.
I just installed it, but it also shows no wireless stations.

Edit:
I tried to run it from terminal. It says

Stderr was:
None
Error loading output of wifieye-sy
Stdout was:
Exception in attempt #0
[Errno 2] No such file or directory
(dp0
.

Stderr was:
None

Saturn 2010-05-25 20:35

Re: [Announce] WifiEye
 
Hi Stefane,

Excellent work, thanks for sharing.

Your new version works fine for me.

In addition, I've done a manual remove of the python-wifi since it is not needed as you mentioned.
Code:

apt-get remove --purge python-wifi
Thanks again.

EDIT: most probably a hiccup from today's huge traffic flow, it is not possible to vote. will try again in a couple of days..

v13 2010-05-25 20:37

Re: [Announce] WifiEye
 
Quote:

Originally Posted by Mr. Incredible (Post 676990)
[Errno 2] No such file or directory

Got it! The new version should be OK (0.6.1-4).

The problem is that it doesn't depend on wireless-tools which provides /sbin/iwlist. the -4 version depends on that so just wait for it to reach extras-testing.

If you're impatient the you can try installing wireless-tools by hand.

Mr. Incredible 2010-05-25 20:51

Re: [Announce] WifiEye
 
Thanks v13! It's working now! Damn you are fast. :eek:

attila77 2010-05-25 21:55

Re: [Announce] WifiEye
 
Quote:

Originally Posted by v13 (Post 676926)
Version 0.6.1-3 does not depend on python-wifi anymore. Perhaps you can try this one?

I tried doing it myself in the SDK by installing python2.5-qt4-gui but it core dumps (!).

We're currently in flux due to PR1.2 changes, so please do not take anything for granted. Can you describe what lead to the core dump ?

ton 2010-05-26 06:14

Re: [Announce] WifiEye
 
I got the same error message. The update works for me too.

v13 2010-05-26 07:45

Re: [Announce] WifiEye
 
Quote:

Originally Posted by attila77 (Post 677215)
We're currently in flux due to PR1.2 changes, so please do not take anything for granted. Can you describe what lead to the core dump ?

No :-)

It's a python program and it core dumps when app.exec_() is called.

I believe you can try it yourself. Just unpack the source and inside the src/ directory run:

Code:

$ run-standalone.sh python2.5 core.py
It dumps core immediately.

v13 2010-05-26 07:47

Re: [Announce] WifiEye
 
Quote:

Originally Posted by ton (Post 678039)
I got the same error message. The update works for me too.

Can you please show me the contents of /etc/apt/sources.list.d/hildon-application-manager.list from your phone?

gLobster 2010-05-26 07:49

Re: [Announce] WifiEye
 
Under PR 1.2 don't work correct. Run but nothing to see. Not found any networks.

fnordianslip 2010-05-26 08:04

Re: [Announce] WifiEye
 
Likewise, for me now on PR1.2 it doesn't show any networks, even the one I'm connected too.

Earlier, when using apt-get, I was prompted to use autoremove to remove python-wifi as it was no longer needed, so I did. Should I reinstall it?

Edit: I did reinstall it, but it hasn't helped.

attila77 2010-05-26 08:13

Re: [Announce] WifiEye
 
Quote:

Originally Posted by v13 (Post 678290)
No :-)

It's a python program and it core dumps when app.exec_() is called.

I believe you can try it yourself. Just unpack the source and inside the src/ directory run:

Code:

$ run-standalone.sh python2.5 core.py
It dumps core immediately.

Does this happen with the latest SDK and PyQt version (both have been updated yesterday) ? Does the segfault occur on the device, too ?

v13 2010-05-26 08:33

Re: [Announce] WifiEye
 
Quote:

Originally Posted by gLobster (Post 678306)
Under PR 1.2 don't work correct. Run but nothing to see. Not found any networks.

Quote:

Originally Posted by fnordianslip (Post 678376)
Likewise, for me now on PR1.2 it doesn't show any networks, even the one I'm connected too.

Earlier, when using apt-get, I was prompted to use autoremove to remove python-wifi as it was no longer needed, so I did. Should I reinstall it?

Edit: I did reinstall it, but it hasn't helped.

When you report problems please mention the exact version. Most probably you are using 0.6.1-3 and you are affected by this.

p.s. You don't need python-wifi.

p.s.2 Version 0.6.1-4 is now in testing, you can test that one.

v13 2010-05-26 08:34

Re: [Announce] WifiEye
 
Quote:

Originally Posted by attila77 (Post 678412)
Does this happen with the latest SDK and PyQt version (both have been updated yesterday) ? Does the segfault occur on the device, too ?

I tried it yesterday but I can try it again. Most probably tomorrow. I haven't tried it on a device.

attila77 2010-05-26 09:07

Re: [Announce] WifiEye
 
On a side note, I have gotten a few times strange strings for AP names, most probably some string conversion issue (for example, the displayed name was )\00\00\00\00\00\00\ )

ton 2010-05-26 12:45

Re: [Announce] WifiEye
 
Quote:

Originally Posted by v13 (Post 678299)
Can you please show me the contents of /etc/apt/sources.list.d/hildon-application-manager.list from your phone?

With I got the error message I meant before the update. It works fine now. The file:

deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb https://downloads.maemo.nokia.com/fremantle/ssu/mr0 ./
deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./
deb http://repository.maemo.org/extras/ fremantle-1.2 free non-free
deb http://repository.maemo.org/extras-devel/ fremantle free non-free
deb http://repository.maemo.org/extras-testing/ fremantle free non-free
deb http://repository.maemo.org/extras/ fremantle-1.2 free non-free
deb http://deb.opera.com/maemo fremantle non-free

fnordianslip 2010-05-26 17:36

Re: [Announce] WifiEye
 
Quote:

Originally Posted by v13 (Post 678484)
When you report problems please mention the exact version. Most probably you are using 0.6.1-3 and you are affected by this.

p.s. You don't need python-wifi.

p.s.2 Version 0.6.1-4 is now in testing, you can test that one.

Yep sorry, I should have reported the exact version, but it was the latest version in testing as of the time I posted.

The new version in testing now has fixed the issue for me. Thanks.

v13 2010-06-03 13:32

Re: [Announce] WifiEye
 
Version 1.0-2 1.0-3 of wifieye is now available in extras-testing.

This version's changes are:
  • (better) potrait mode support
  • Fix for list/defail view: The gui was rewritten to use qscrollarea instead of qlistview in order to avoid drawing problems. It is also a lot faster.
  • Fix the refresh bug where sometimes data were not refreshed properly and a "refresh" was required.
  • Some minor changes/fixes.
  • Maemo's bugzilla link for bug reports.

As always, test it, abuse it and if you have problems report them. If not then vote for it.


All times are GMT. The time now is 05:46.

vBulletin® Version 3.8.8