Bug 52820 - 1.0 beta 3: Problems with syncevo-phone-config.py while synchronizing with phone via bluetooth
Summary: 1.0 beta 3: Problems with syncevo-phone-config.py while synchronizing with ph...
Status: RESOLVED FIXED
Alias: None
Product: SyncEvolution
Classification: Unclassified
Component: SyncEvolution (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Patrick Ohly
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 01:17 UTC by SyncEvolution Community
Modified: 2010-08-15 22:04 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Output of syncevo-phone-config.py (deleted)
2010-05-07 01:17 UTC, SyncEvolution Community
Details

Description Patrick Ohly 2012-07-29 18:36:00 UTC


---- Reported by sergionogales@gmx.at 2010-05-07 01:17:17 +0000 ----

Created attachment 730 [details] [review]
Output of syncevo-phone-config.py

Hi,

I was trying to synchronize my SE W595 with evolution following the
instructions for phones with no supported built-in templates for 1.0
beta 3 in http://syncevolution.org/development/sync-phone  .

I used the fixed version of  syncevo-phone-config.py in a almost fresh
Ubuntu-Lucid LTR. Although I use tcsh, I first run /bin/bash in the
terminal.


 The output of "python syncevo-phone-config.py --bt-address
${MacAddress} --advanced" was stored in  the attached file log1.

Although in http://syncevolution.org/development/sync-phone it is
suggested to run it with the options:

--bt-address ${MacAddress} --advanced --combined-calendar-task
--create-template=<new-template> --create-config=<my phone config name>

using the fixed version I can only run it with the options:
--bt-address ${MacAddress} --advanced

the program finished with:

Configuration parameter for calendar:
Test parameter:
With CTCap:     True
Identifier:     PC Suite
SyncML version: 1.2
Sync Source:    calendar
URI:            Calendar
Content Type:   text/calendar:2.0
------------------------------------------
Configuration parameter for addressbook:
Test parameter:
With CTCap:     True
Identifier:     PC Suite
SyncML version: 1.2
Sync Source:    addressbook
URI:            Contact
Content Type:   text/x-vcard:2.1


Traceback (most recent call last):
  File "syncevo-phone-config.py", line 722, in <module>
    main()
  File "syncevo-phone-config.py", line 719, in main
    config.run()
  File "syncevo-phone-config.py", line 587, in run
    self.wConfigs['calendar'].uri == self.wConfigs['todo'].uri
AttributeError: 'NoneType' object has no attribute 'uri'




What  now? can I continue with this information? how?

thankx,

sergio



---- Additional Comments From patrick.ohly@intel.com 2010-05-07 05:10:22 +0000 ----

Thanks for the report. Please try this version of syncevo-phone-config.py:

http://git.moblin.org/cgit.cgi/syncevolution/plain/test/syncevo-phone-config.py?h=mbc1847


Invoke it with --advanced --create-config=w595

Once it is done, you can run "syncevolution w595" to synchronize events and contacts. That's all that the phone seems to support (or at least all that the tool found).



---- Additional Comments From sergionogales@gmx.at 2010-05-09 09:16:17 +0000 ----

(In reply to comment #1)
> Thanks for the report. Please try this version of syncevo-phone-config.py:
> 
> http://git.moblin.org/cgit.cgi/syncevolution/plain/test/syncevo-phone-config.py?h=mbc1847
> 
> 
> Invoke it with --advanced --create-config=w595
> 
> Once it is done, you can run "syncevolution w595" to synchronize events and
> contacts. That's all that the phone seems to support (or at least all that the
> tool found).

Thankx for the quick fix. It worked pretty well. Now I am able to synchronize my contacts and calendars between evolution and my phone(SE W595) via bluetooth.

great job, thankx again!

sergio



---- Additional Comments From patrick.ohly@intel.com 2010-05-10 05:26:17 +0000 ----

(In reply to comment #2)
> Thankx for the quick fix. It worked pretty well. Now I am able to synchronize
> my contacts and calendars between evolution and my phone(SE W595) via
> bluetooth.

Thanks for the confirmation. I've merged the code into the master branch for 1.0.



---- Additional Comments From patrick.ohly@intel.com 2010-05-10 05:27:00 +0000 ----

Fix verified by Sergio.



--- Bug imported by patrick.ohly@gmx.de 2012-07-29 20:36 UTC  ---

This bug was previously known as _bug_ 1847 at https://bugs.meego.com/show_bug.cgi?id=1847
Imported an attachment (id=64887)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.