http://bugzilla.meego.com/show_bug.cgi?id=1197

           Summary: syncevo-phone-config: broken Python syntax, error
                    messages
    Classification: MeeGo Projects
           Product: SyncEvolution
           Version: unspecified
          Platform: Netbook
        OS/Version: IA
            Status: ASSIGNED
          Severity: normal
          Priority: High
         Component: SyncEvolution
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected],
                    [email protected]
   Estimated Hours: 0.0


A last minute change for the tempdir handling completely broke
syncevo-phone-config:

Traceback (most recent call last):
  File "/usr/bin/syncevo-phone-config", line 707, in <module>
    main()
  File "/usr/bin/syncevo-phone-config", line 700, in main
    tempfile = tempfile.mkdtemp(prefix="syncevo-phone-config")
UnboundLocalError: local variable 'tempfile' referenced before assignment

Another problem is that testFolder and testResult became local variables in
main:

Traceback (most recent call last):
  File "/usr/bin/syncevo-phone-config", line 707, in <module>
    main()
  File "/usr/bin/syncevo-phone-config", line 704, in main
    config.run()
  File "/usr/bin/syncevo-phone-config", line 525, in run
    (status, interrupt) = self.testWithCurrentConfiguration ()
  File "/usr/bin/syncevo-phone-config", line 398, in
testWithCurrentConfiguration
    filesource = testFolder+'/'+self.source
NameError: global name 'testFolder' is not defined

After fixing these Python errors, I still have a problem:

$ syncevo-phone-config --bt-address ${MacAddress} --advanced
--create-template=SyncEricsson --create-config=k750
Running test with test data inside /tmp/syncevo-phone-configbFXcVv/data and
test results inside /tmp/syncevo-phone-configbFXcVv/cache
Starting test for 1044 configurations...
Start 1/1044 test
sh: line 10: /tmp/syncevo-phone-configbFXcVv/data/contact/0: No such file or
directory
...

Can this "sh: ..." error message be suppressed? Where does it come from?

I tried to abort the testing, but CTRL-C had no effect. It should have canceled
the sync and then in turn the script. Note that I hit CTRL-C while
syncevolution tried to connect to the device, which in my K750 blocks until I
explicitly acknowledge the connection attempt on the phone.

-- 
Configure bugmail: http://bugzilla.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to