I'm trying to get your frontend to work, without any success as for now: when testing the connection line for my USB-attached phone something goes wrong and the "connection error" popup appears.
These are some lines from the log:
2007-12-03 13:08:42,268 DEBUG [Command-Consumer ] Command line: [/usr/bin/obexftp, --usb, -u 1 , --chdir, /, --list], working folder: null (at DefaultCommandLineRunner:47)
2007-12-03 13:08:42,320 DEBUG [Command-Consumer ] Waiting for the process timeout (at DefaultCommandLineRunner:60)
2007-12-03 13:08:42,321 DEBUG [Command-Consumer ] Process has not yet terminated (at DefaultCommandLineRunner:69)
2007-12-03 13:08:42,423 DEBUG [Command-Consumer ] Process has not yet terminated (at DefaultCommandLineRunner:69)
2007-12-03 13:08:42,527 ERROR [Command-Consumer ] The command returned an error (at DefaultCommandConsumer:66)
net.sourceforge.obexftpfrontend.processor.OBEXFTPException: The process' return value is != 0
2007-12-03 13:08:42,528 DEBUG [Command-Consumer ] Notifying the registered CommandExecutionListeners (at DefaultCommandQueue:91)
I have tried the same ("/usr/bin/obexftp --usb -u 1 --chdir / --list") command line by myself and all works fine. Any ideas?
Some more info:
- Distro: Debian/lenny
- ObexFTP: 0.19
- Phone: Nokia n70
Hmm.. I think I got it, but I need you to check if the command line below works for you:
/usr/bin/obexftp --usb 1 --chdir / --list
My guess is that the '-u' parameter shouldn't be there, since the '--usb' parameter is just a "verbose" version of '-u'. It's just a guess, but I can't see anything else that could give the related outcome.
If it works, I will generate a test build and send it to you (what's your e-mail address, btw?). Depending on your feedback, I will try to fix this bug as fast as possible and - possibly - generate a new release.
Thanks for your feedback,
Had a similar problem. Installed 0.6.6 and tried to connect to Sony Ericsson k530i. In logs:
Command line: , working folder: null (at DefaultOBEXFTPCommandLineRunner:45)
2011-01-25 00:02:01,827 DEBUG Waiting for the process timeout (at DefaultOBEXFTPCommandLineRunner:57)
2011-01-25 00:02:01,828 DEBUG Process has not yet terminated (at DefaultOBEXFTPCommandLineRunner:65)
2011-01-25 00:02:01,928 DEBUG Process has not yet terminated (at DefaultOBEXFTPCommandLineRunner:65)
2011-01-25 00:02:02,029 DEBUG Process has not yet terminated (at DefaultOBEXFTPCommandLineRunner:65)
2011-01-25 00:02:02,133 ERROR The command returned an error (at DefaultOBEXFTPCommandConsumer:66)
net.sourceforge.obexftpfrontend.obexftp.OBEXFTPException: The process' return value is != 0 at net.sourceforge.obexftpfrontend.command.DefaultOBEXFTPCommandLineRunner.run(DefaultOBEXFTPCommandLineRunner.java:79) at net.sourceforge.obexftpfrontend.command.AbstractOBEXFTPCommand.runCommand(AbstractOBEXFTPCommand.java:173)
Command line works fine:
$ /usr/bin/obexftp -usb 0 -chdir / -list
If USB doesn't work setup permissions in udev or run as superuser.
Tried to connect for 19ms
Receiving "(null)"…/<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd">
XML Coder, (C) 2001 Sony Ericsson Mobile Communications AB
<folder-listing version="1.0"><folder name="Память телефона"/>
May be 'Receiving "(null)"' is the problem?
Log in to post a comment.