On Thu, 2010-04-22 at 16:16 +0100, Bocklage, Jens wrote:
> Hi,
> I downloaded v1.0 beta 3 and build it.
>  
> I tried to start the syncevo-phone-config script. But it fails:
>  
> u...@ubuntu:~$ syncevo-phone-config --bt-address 00:XX:XX:XX:XX:XX
> --advanced --create-template=SonyEricsson --create-config=T610
> /usr/local/bin/syncevo-phone-config:24: DeprecationWarning: The popen2
> module is deprecated.  Use the subprocess module.
>   import sys, optparse, os, time, popen2, tempfile
> Traceback (most recent call last):
>   File "/usr/local/bin/syncevo-phone-config", line 707, in <module>
>     main()
>   File "/usr/local/bin/syncevo-phone-config", line 700, in main
>     tempfile = tempfile.mkdtemp(prefix="syncevo-phone-config")
> UnboundLocalError: local variable 'tempfile' referenced before
> assignment
> 
> I am not really familiar with python, but I made some changes to the
> script...

Yes, that's the brown paper bag part of that release. Some last minute
change was merged and obviously that change never saw any kind of
testing, breaking the script. Including the script at all was a decision
made fairly late, but it was working fine earlier and greatly simplifies
the testing of a phone, so it went in.

The problem was already noticed in
http://bugzilla.moblin.org/show_bug.cgi?id=9711 and is now tracked at 
http://bugzilla.meego.com/show_bug.cgi?id=1197

A fixed script is here:
http://git.moblin.org/cgit.cgi/syncevolution/plain/test/syncevo-phone-config.py?h=mbc1197

This is now also mentioned in the "phone sync HOWTO".

> Just wanted you to know,

Thanks!

We'll continue to refine the tool and the process of submitting phone
configurations. Feedback on that is more than welcome.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to