Qnokiacommander

System Software

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

1
Score 50.0%
Description:

QNokiaCommander is an obex interface for mobile phones written in python and PyQt4
It's a frontend for obexftp tool ( http://dev.zuckschwerdt.org/openobex/) and will work
with mobiles that provide a obex interface like nokia ones(pc-suite interface), but possibly
with others.
It's intended for use with *USB connection* only and is tested and working
with DKU-2 usb cable(original nokia) on nokia 6630, 3250 and N70.

Requirements:
- Python (2.5.1)
- PyQt4 (4.3.1)
- Pyxml
- obexftp (0.20)

Use it at your own risk! This is experimental software and don't blame authors if
it destroys your phone or burn your pc :-)

If you have permissions problem, you may want to look at this:
http://libsyncml.opensync.org/wiki/obex-guide#Usage

Licence:

-GPL!

Authors:

-Federico Manganelli(mangus) mangus(at)deprecated.it (pyqt4 interface and reworking)
-Hasan Abdel Halim hasana(at)gmail.com (initial work and obex interface)

enjoy and let us know your thoughts, bugs and fixes.
Last changelog:

11 years ago

0.5
- bug fixes in installation
- provided a menu entry

0.4
- provide a system wide installation and a simple wrapper (see tarball)
- source cleaning

0.3
- added functionality for creating new folders in the mobile.
- added refresh button
- various gui and usability improvement and palette tuning
- some bugfix and cleaning

0.2 -initial release

anyr

9 years ago

Do you have in plans to realize bluetooth connections?

Report

mirzaD

9 years ago

I installed all dependencies but i still could not start this program.
This was the error:
"File "/usr/lib/python2.6/dist-packages/_xmlplus/xpath/Conversions.py", line 22, in <module> from xml.utils import boolean
ImportError: cannot import name boolean"

After some extensive search i found out that jaunty has broken packages for pyxml... OMG

For a quick and dirty fix do the following

sudo mv /usr/lib/python2.6/dist-packages/_xmlplus/utils /usr/lib/python2.6/dist-packages/_xmlplus/utils.backup
sudo cp -r /usr/lib/python2.6/dist-packages/oldxml/_xmlplus/utils/ /usr/lib/python2.6/dist-packages/_xmlplus/utils

and it WORKS !!! :D:D
I had to share this because someone else might have this problem also...

Great program by the way :)

Report

Tyl3r

11 years ago

I get this error when launching the program:
Traceback (most recent call last):
File "Qnokiacommander.py", line 31, in <module>
from ObexftpXML import *
File "/home/tyler/Programmi/Sorgenti/QNokiaCommander-0.5/src/ObexftpXML.py", line 28, in <module>
from xml.dom.ext.reader import PyExpat
ImportError: No module named ext.reader

I installed all the dependencies listed above, including python-xml.

Report

picard12

11 years ago

By installing obexftp vs. 20 will also run on mandriva 2008. Bemenber to install perl-devel for the various problems compilation

Report

hosein-mec

11 years ago

thanks for great work

itest this app and work with nokia phones. but didnt work with PDA ( windows mobile ). is this possible that this app work with PDA ?

Report

C

mangus71

11 years ago

Hi, the application works for now only
with some nokia phones, as it's a frontend for obexftp tool.
A device to work have to be supported
by obexftp and give a parseable output to our parser script.
you can send me the output of
obexftp -u to see how your device
is managed.
cheers

Report

imu

11 years ago

Ricevo lo stessissimo errore, con il mio nokia 6630 e cavo originale nokia, però da utente, invece da root il programma si avvia perfettamente (adesso ci sto navigando dentro). Quindi credo sia un problema di permessi, mi permetto di mostrarti l'output di obexftp -u solo la prima riga dove mi dice esplicitamente che servono i privilegi di root :
"$ obexftp -u"
Superuser privileges are required to access USB.
Found 2 USB OBEX interfaces
[...]

Spero sia utile questa informazione.

N.B. Distro Debian Sid

Report

C

mangus71

11 years ago

dovresti crearti una regola di udev che fissi i permessi per il tuo utente e per il telefono.
Qualcosa come:
BUS=="usb", SYSFS{idVendor}=="0421", SYSFS{idProduct}=="0410", GROUP="camera"
I valori di idVendor e idproduct li ricavi da lsusb.
ciaoooo

Report

C

mangus71

11 years ago

dovresti crearti una regola di udev che fissi i permessi per il tuo utente e per il telefono.
Qualcosa come:
BUS=="usb", SYSFS{idVendor}=="0421", SYSFS{idProduct}=="0410", GROUP="camera"
I valori di idVendor e idproduct li ricavi da lsusb.
ciaoooo

Report

Easle

11 years ago

What about the All text must be in English. rule? :D

Report

Easle

11 years ago

What about the All text must be in English. rule? :D

Report

C

mangus71

11 years ago

ehrmm,I have some problems with this site :_(

Report

C

mangus71

11 years ago

dovresti crearti una regola di udev che fissi i permessi per il tuo utente e per il telefono.
Qualcosa come:
BUS=="usb", SYSFS{idVendor}=="0421", SYSFS{idProduct}=="0410", GROUP="camera"
I valori di idVendor e idproduct li ricavi da lsusb.
ciaoooo

Report

C

mangus71

11 years ago

dovresti crearti una regola di udev che fissi i permessi per il tuo utente e per il telefono.
Qualcosa come:
BUS=="usb", SYSFS{idVendor}=="0421", SYSFS{idProduct}=="0410", GROUP="camera"
I valori di idVendor e idproduct li ricavi da lsusb.
ciaoooo

Report

hanslimaa

11 years ago

When i start the program i get the followin message.

./Qnokiacommander.py
calling process ['/usr/bin/obexftp', '-u']
A new engine has been assigned
Failed to find suitable PC SUITE interface
Failed to initialize engine

Can you help me?

Report

C

mangus71

11 years ago

please provide some more information.
which phone are you using? are you using original dku-2 cable?
what gives you
'obexftp -u' ?
thank you

Report

quirico

11 years ago

I have installed the program but when start the program the reply is
"failed to inizializade the mobile engine"
and the windows open in blank.

My PC is a athalon dual core 64 bit

Tanks for help

Alberto

Report

quirico

11 years ago

I have installed the program but when start the program the reply is
"failed to inizializade the mobile engine"
and the windows open in blank.

My PC is a athalon dual core 64 bit

Tanks for help

Alberto

Report

C

mangus71

11 years ago

others report that nokia N70 is working with the right requirements.
please provide some more information.
are you using original dku-2 cable?
what gives you
'obexftp -u' ?
thank you

Report

bakaraka

11 years ago


[root@localhost QNokiaCommander-0.3]# ./Qnokiacommander.py
Traceback (most recent call last):
File "./Qnokiacommander.py", line 32, in <module>
from ObexftpXML import *
File "/home/jarek/Pobieranie/QNokiaCommander-0.3/ObexftpXML.py", line 28, in <module>
from xml.dom.ext.reader import PyExpat
ImportError: No module named ext.reader
[root@localhost QNokiaCommander-0.3]#

Report

C

mangus71

11 years ago

you need pyxml python module.
Install it from your distro or from
http://pyxml.sourceforge.net/
thanks

Report

bakaraka

11 years ago


[root@localhost QNokiaCommander-0.3]# ./Qnokiacommander.py
Traceback (most recent call last):
File "./Qnokiacommander.py", line 32, in <module>
from ObexftpXML import *
File "/home/jarek/Pobieranie/QNokiaCommander-0.3/ObexftpXML.py", line 28, in <module>
from xml.dom.ext.reader import PyExpat
ImportError: No module named ext.reader
[root@localhost QNokiaCommander-0.3]#

Report

fabio87

11 years ago

With my Nokia N70 I get this output:

[root@localhost QNokiaCommander-0.2]# ./Qnokiacommander.py
calling process ['/usr/bin/obexftp', '-u']
Output []
Errors ['0 (Manufacturer: Nokia Product: Nokia N70 Serial: (null) Interface description: SYNCML-SYNC)\n', '1 (Manufacturer: Nokia Product: Nokia N70 Serial: (null) Interface description: PC Suite Services)\n', 'Nothing to do. Use --help for help.\n']
Traceback (most recent call last):
File "./Qnokiacommander.py", line 448, in <module>
gui = Gui()
File "./Qnokiacommander.py", line 43, in __init__
self.mobile = ObexftpInterface()
File "/home/fabio/Scrivania/QNokiaCommander-0.2/QNokiaCommander-0.2/ObexftpInterface.py", line 36, in __init__
self.setup()
File "/home/fabio/Scrivania/QNokiaCommander-0.2/QNokiaCommander-0.2/ObexftpInterface.py", line 43, in setup
self.find_interfaces( output )
File "/home/fabio/Scrivania/QNokiaCommander-0.2/QNokiaCommander-0.2/ObexftpInterface.py", line 62, in find_interfaces
ifs_desc[step].split('Interface ',1)[1].replace(':','') ),
IndexError: list index out of range



[root@localhost QNokiaCommander-0.2]# obexftp --version
ObexFTP 0.22

Report

C

mangus71

11 years ago

Hasan reported that it was working with a nokia N70 but we both are developing with obexftp 0.20 I think :-(
I forgot to say it..
May be something is changed with the new version, I'll try to install it to figure out.
You can downgrade to obexftp 0.20 if you want to try or post on http://pastebin.com/ the results of
obexftp -u and
obexftp -u 1 -l
thanks for the report

Report

C

mangus71

11 years ago

BTW according to sourceforge the last stable release of obexftp was 0.2.0 in 2006.. what freaking distro are you using? Is that an svn(broken) version?

Report

11 years ago

0.5
- bug fixes in installation
- provided a menu entry

0.4
- provide a system wide installation and a simple wrapper (see tarball)
- source cleaning

0.3
- added functionality for creating new folders in the mobile.
- added refresh button
- various gui and usability improvement and palette tuning
- some bugfix and cleaning

0.2 -initial release

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.5
updated Nov 25 2007
added Nov 04 2007
downloads 24h
0
page views 24h 2
System Tags app software