ProgrammingError: sync tomboy => folder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Conduit |
Won't Fix
|
Critical
|
|||
conduit (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: conduit
[This was fixed upstream, please add the fix to Ubuntu]
My conduit setup is: tomboy notes ==> folder ("/tmp/1")
I have a single tomboy note (see attached note file). It contains only a title with three non-latin letters.
When selecting synchronize group I get:
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/var/lib/
self.
ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.04
Release: 9.04
Codename: jaunty
$ aptitude show conduit
Package: conduit
State: installed
Automatically installed: no
Version: 0.3.15-1ubuntu3
$ locale
LANG=en_US.UTF-8
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
=== entire conduit output ================
$conduit
[Main ][INFO ] Conduit v0.3.15 Installed: True (Main.py:99)
[Main ][INFO ] Python: 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] (Main.py:100)
[Main ][INFO ] Platform Implementations: GIO,webkit,GConf (Main.py:101)
[Main ][INFO ] Using UI: gtk (Main.py:131)
[gtkui.Canvas ][INFO ] Module Information: goocanvas v(0, 12, 0) (/var/lib/
[modules.
/usr/lib/
import md5
[modules.Flickr ][INFO ] Module Information: flickrapi v1.1 (/usr/lib/
[modules.Feed ][INFO ] Module Information: feedparser v4.1 (/var/lib/
[modules.Feed ][INFO ] Patching feedparser issue #100 (FeedModule.py:26)
[modules.Facebook ][INFO ] Module Information: pyfacebook v0.1 (/usr/lib/
[modules.Google ][INFO ] Module Information: gdata (/usr/lib/
[modules.Evolution ][INFO ] Module Information: evolution v(2, 26, 0) (/var/lib/
[modules.Backpack ][INFO ] Module Information: backpack (/usr/lib/
[modules.Network ][INFO ] Network support enabled (NetworkModule.
[modules.Network ][DEBUG ] Starting AvahiAdvertiser server (Server.py:35)
[modules.Network ][DEBUG ] Announcing avahi conduit service (Peers.py:159)
[modules.iPod ][INFO ] Module Information: gpod v(0, 7, 0) (/usr/lib/
[dataproviders.
[dataproviders.
[gtkui.UI ][INFO ] Main window constructed (thread: -1209334080) (UI.py:202)
[SyncSet ][INFO ] Restoring Sync Set from /home/kde-
[SyncSet ][DEBUG ] Restoring TomboyNoteTwoWay to (source=True) (SyncSet.py:60)
[Conduit ][DEBUG ] Adding twoway dataprovider into source position (Conduit.py:140)
[SyncSet ][DEBUG ] Restoring FolderTwoWay to (source=False) (SyncSet.py:60)
[Conduit ][DEBUG ] Adding twoway dataprovider into sink position (Conduit.py:146)
[gtkui.UI ][DEBUG ] Presenting GUI (UI.py:227)
[DBus ][DEBUG ] DBus Exported: / (DBus.py:127)
[DBus ][DEBUG ] DBus Exported: /syncset/gui (DBus.py:127)
[DBus ][DEBUG ] DBus Exported: /syncset/dbus (DBus.py:127)
[DBus ][DEBUG ] DBus Message from /syncset/gui: Emmiting DBus signal ConduitAdded (DBus.py:134)
[Syncronization ][DEBUG ] Created thread <SyncWorker(
[Syncronization ][INFO ] Setting global cancel flag (Synchronizatio
[Syncronization ][DEBUG ] Starting worker: <SyncWorker(
[Syncronization ][DEBUG ] Started thread <SyncWorker(
[Syncronization ][DEBUG ] Sync <SyncWorker(
[Syncronization ][DEBUG ] Syncworker state 0 (Synchronizatio
[platform.FileGio ][INFO ] Standard Attributes: standard:
[platform.FileGio ][INFO ] Time Attributes: time::modified,
[Syncronization ][DEBUG ] Syncworker state 1 (Synchronizatio
[Syncronization ][DEBUG ] Source Status = Ready (Synchronizatio
[modules.Tomboy ][INFO ] Using Tomboy Version (0, 14, 0) (TomboyModule.
[platform.FileGio ][DEBUG ] 0 files loaded (FileGio.py:361)
[Syncronization ][DEBUG ] Syncworker state 2 (Synchronizatio
[Syncronization ][INFO ] Synchronizing Wrapper: Tomboy Notes twoway (UID: TomboyNoteTwoWa
[DeltaProvider ][INFO ] Delta: Source (TomboyNoteTwoW
[DeltaProvider ][DEBUG ] Delta: Got 1 items
[u'note:
[DeltaProvider ][DEBUG ] Delta: Expecting 0 items (DeltaProvider.
[Syncronization ][DEBUG ] TomboyNoteTwoWa
[u'note:
[Syncronization ][DEBUG ] TomboyNoteTwoWa
[] (Synchronizatio
[Syncronization ][DEBUG ] TomboyNoteTwoWa
[] (Synchronizatio
[modules.Tomboy ][DEBUG ] Getting note: note://
[Syncronization ][DEBUG ] 1WAY PUT: Tomboy Notes (note:/
[datatypes.DataType ][DEBUG ] Getting Rid for note://
[TypeConverter ][DEBUG ] Convert note/tomboy -> file using [('note/tomboy', 'file', {})] (TypeConverter.
[TypeConverter ][DEBUG ] Converting note/tomboy -> file (args: {}) (TypeConverter.
[datatypes.File ][DEBUG ] New tempfile created at /tmp/conduitHKqyIm (File.py:475)
[datatypes.File ][DEBUG ] Defering rename till transfer (New name: אבג) (File.py:82)
[datatypes.File ][DEBUG ] Defering rename till transfer (New name: אבג.xml) (File.py:82)
[datatypes.File ][DEBUG ] Defering new mtime till transfer (New mtime: 2009-05-03 12:31:29) (File.py:93)
[Syncronization ][INFO ] Putting data note://
[dataproviders.File ][DEBUG ] No basepath. Going to empty dir (File.py:285)
[datatypes.File ][DEBUG ] Using deferred filename in transfer (File.py:247)
[platform.FileGio ][DEBUG ] Transfering File file://
[datatypes.File ][DEBUG ] Clearing pending rename (File.py:65)
[datatypes.File ][DEBUG ] Clearing pending mtime (File.py:68)
[datatypes.DataType ][DEBUG ] Getting Rid for file://
[platform.FileGio ][INFO ] Standard Attributes: standard:
[platform.FileGio ][INFO ] Time Attributes: time::modified,
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/var/lib/
self.
ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
=======
I tested with conduit git repo and the bug was Fixed.
I used version:
commit 771b08340ff46bf
Author: Alexandre Rosenfeld <email address hidden>
Date: Fri May 1 22:48:41 2009 -0300
Related branches
Changed in conduit: | |
status: | Unknown → Confirmed |
Changed in conduit (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in conduit: | |
importance: | Unknown → Critical |
Changed in conduit: | |
status: | Confirmed → Won't Fix |
Can you please report where did you find the git repository for conduit? www.conduit- project. org/ and used the latest svn version and the problem still persists with Greek, Czech, and Japanese characters although i believe that it wont work with any unicode characters that are not English.
I went to http://
At least for the svn repository the problem isnt fixed