Thanks for that, I'll try it out - first apply the Unicode patch, then this one?<br><br>Should I still use unicode patch files used on 1.4.1 attached to <a href="http://allmydata.org/trac/tahoe/raw-attachment/ticket/534">http://allmydata.org/trac/tahoe/raw-attachment/ticket/534</a> ? Will they apply cleanly?<br>
<br>In the meantime, can anyone please help me with :<br><br>Command:<br><br>/usr/bin/python /usr/src/tahoe/darcs/09-08-05_18-15/tahoe/bin/tahoe backup --node-directory=/home/andrej/.<a href="http://tahoe-allmydata.com/">tahoe-allmydata.com/</a> --verbose "/data/audio/Music/A Capella" tahoe:"Backups/polar/data/audio/Music/A Capella" <br>
<br>...<br><br>uploading /data/audio/Music/A Capella/Whitney Houston-My Love Is Your Love (Accapella - Acapella -.mp3..<br> /data/audio/Music/A Capella/Whitney Houston-My Love Is Your Love (Accapella - Acapella -.mp3 -> URI:CHK:w4tjhso54lat5e5oorrzv7kh7a:x3ljsbhl4bix4rxbmrtse7ppze4pxut3axovi73jz5lsu2zqrcpa:3:10:5570740<br>
Traceback (most recent call last):<br> File "/usr/src/tahoe/darcs/09-08-05_18-15/tahoe/support/bin/tahoe", line 8, in <module><br> load_entry_point('allmydata-tahoe==1.5.0-r4043', 'console_scripts', 'tahoe')()<br>
File "/usr/src/tahoe/darcs/09-08-05_18-15/tahoe/src/allmydata/scripts/runner.py", line 91, in run<br> rc = runner(sys.argv[1:])<br> File "/usr/src/tahoe/darcs/09-08-05_18-15/tahoe/src/allmydata/scripts/runner.py", line 78, in runner<br>
rc = cli.dispatch[command](so)<br> File "/usr/src/tahoe/darcs/09-08-05_18-15/tahoe/src/allmydata/scripts/cli.py", line 456, in backup<br> rc = tahoe_backup.backup(options)<br> File "/usr/src/tahoe/darcs/09-08-05_18-15/tahoe/src/allmydata/scripts/tahoe_backup.py", line 370, in backup<br>
return bu.run()<br> File "/usr/src/tahoe/darcs/09-08-05_18-15/tahoe/src/allmydata/scripts/tahoe_backup.py", line 212, in run<br> new_backup_dircap = self.process(options.from_dir, latest_backup_dircap)<br>
File "/usr/src/tahoe/darcs/09-08-05_18-15/tahoe/src/allmydata/scripts/tahoe_backup.py", line 265, in process<br> newfilecap, metadata = self.upload(childpath)<br> File "/usr/src/tahoe/darcs/09-08-05_18-15/tahoe/src/allmydata/scripts/tahoe_backup.py", line 344, in upload<br>
must_upload, bdb_results = self.check_backupdb(childpath)<br> File "/usr/src/tahoe/darcs/09-08-05_18-15/tahoe/src/allmydata/scripts/tahoe_backup.py", line 290, in check_backupdb<br> r = self.backupdb.check_file(childpath, use_timestamps)<br>
File "/usr/src/tahoe/darcs/09-08-05_18-15/tahoe/src/allmydata/scripts/backupdb.py", line 167, in check_file<br> (path,))<br>sqlite3.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.<br>
<br><br>/usr/bin/python /usr/src/tahoe/darcs/09-08-05_18-15/tahoe/bin/tahoe --version :<br><br>allmydata-tahoe: 1.5.0-r4043, foolscap: 0.4.2, pycryptopp: 0.5.16, zfec: 1.4.4, Twisted: 8.2.0, Nevow: 0.9.32, zope.interface: 3.5.0, python: 2.6.0, platform: Linux-SuSE_11.1-x86_64-64bit_ELF, sqlite: 3.6.4, simplejson: 2.0.7, argparse: 0.8.0, pyOpenSSL: 0.7, pyutil: 1.3.30, zbase32: 1.1.1, setuptools: 0.6c12dev, pysqlite: 2.4.1<br>
<br><br>I suspect this has nothing to do with missing Unicode patch, as the filename in question has no characters that would be/should be unicode encoded? <br><br>Much appreciated,<br><br clear="all">Andrej Falout<br><br>
<br><br><div class="gmail_quote">On Wed, Aug 5, 2009 at 6:20 PM, Francois Deppierraz <span dir="ltr"><<a href="mailto:francois@ctrlaltdel.ch">francois@ctrlaltdel.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Andrej,<br>
<br>
Yes, the unicode patches are not yet in a good enough shape to get<br>
included in 1.5 and I had too much other priorities to fix it. I'll work<br>
to fix that before 1.6.<br>
<br>
In the meantime, the stdout issue you have can temporarily be fixed by<br>
applying the (untested) patch attached to this mail. You can apply it to<br>
your Tahoe source tree by running following command from inside the tree:<br>
<br>
patch -p1 < unicode-stdout-quickfix.patch<br>
<br>
Please let me know how it worked out.<br>
<br>
François<br>
<br>_______________________________________________<br>
tahoe-dev mailing list<br>
<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a><br>
<a href="http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev</a><br>
<br></blockquote></div><br>