Ticket #523 (closed defect: fixed)
various problems with V3xx
| Reported by: | qratz | Owned by: | andrewb |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Plugin: moto | Version: | 0.31 |
| Severity: | critical | Keywords: | |
| Cc: |
Description
Recently, i was able to the current version of moto-sync along with opensync-0.32 on a kubuntu machine with jahn's packages. The respective versions are: libopensync1 0.32+svn20070730-feisty1 libopensync1-dbg 0.32+svn20070730-feisty1 libopensync-plugin-python 0.31+svn20070703-feisty2 libopensync-plugin-moto 0.31+svn20070724-feisty1
The phone was again a Motorola V3xx. The backup function of mototool worked very well, so i created a sync group to sync the phone with the file-sync plugin. In the middle of the sync the following Exception ocurred:
event sink of member 1 of type moto-sync had an error: Traceback (most recent call last):
File "/usr/lib/opensync/python-plugins/motosync.py", line 2261, in get_changes
for change in self.access.list_changes(self.objtype):
File "/usr/lib/opensync/python-plugins/motosync.py", line 2099, in list_changes
entries = [self.__event_from_moto(d, x) for (d, x) in self.comms.read_events()]
File "/usr/lib/opensync/python-plugins/motosync.py", line 2199, in __event_from_moto
return PhoneEventExtendedMoto(data, exceptions)
File "/usr/lib/opensync/python-plugins/motosync.py", line 1512, in __init__
PhoneEventSimpleMoto.__init__(self, data, exceptions)
TypeError: unbound method __init__() must be called with PhoneEventSimpleMoto instance as first argument (got PhoneEventExtendedMoto instance instead)
But the excception did not seem to have a bad effect on the sync process. moto-sync seemed to commit all changes but somewhere at the end of the sync this message ocurred:
data sink of member 1 of type moto-sync had an error: Unable to find sink for data
My moto-sync.conf looked like this:
<config><device>/dev/ttyACM0</device></config>
and the file-sync.conf like this:
<?xml version="1.0"?>
<config>
<directory>
<path>/home/sini/test</path>
<objtype>data</objtype>
</directory>
<directory>
<path>/home/sini/test/1</path>
<objtype>contact</objtype>
<objformat>vcard30</objformat>
</directory>
<directory>
<path>/home/sini/test/2</path>
<objtype>event</objtype>
<objformat>vevent20</objformat>
</directory>
</config>
I'll also attach the necessary traces.
