Greetings!
(I poked my head into #tailor earlier, but figured the list was probably
a better place for exposition and log pastes anyway.)
I finally decided to convert my last few CVS repositories to darcs
repos, so I can be rid of CVS once and for all. Unfortunately, my
biggest CVS repo is also being the most troublesome. Apparently I've
had a habit of picking crazy filenames over the years.
I'm currently running tailor 0.9.34 (Ubuntu packaged version). I'd be
happy to try 0.9.35 or from the darcs repo as appropriate.
tailor is bailing when it gets to importing some files with unicode
characters in the names. The particular character in question is U+2033
Double Prime <″>, but I haven't yet checked to see if it's a general
unicode issue or a that-particular-character issue. (I'd be happy to
set up a CVS repository with some unicodely-named files to find out, but
figured I'd hit the list first in case it was a known issue with a known
workaround that my googling has failed to deliver.)
I sent both stdout and stderr to a log file and pasted the relevant
section from that file below. (The UnicodeEncodeError in shwrap.py
doesn't appear in the log tailor normally generates, and in my
experience the first error is usually the important one.)
Any ideas? Did I miss something in the docs or have I run into a bug?
Thanks!
18:23:56 [I] Changeset #495
18:23:56 [I] Upstream revision "2005-08-31 23:45:29 by udderbalm" by
udderbalm, 2005-08-31 23:45:29+00:00
18:23:56 [I] Log message: Add cosmix spinners.
Traceback (most recent call last):
File "/usr/lib/python2.6/logging/__init__.py", line 768, in emit
msg = self.format(record)
File "/usr/lib/python2.6/logging/__init__.py", line 648, in format
return fmt.format(record)
File "/usr/lib/python2.6/logging/__init__.py", line 439, in format
s = self._fmt % record.__dict__
File "/usr/lib/pymodules/python2.6/vcpx/shwrap.py", line 92, in
__str__
r = '$'+repr(self)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2033' in
position 75: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/lib/python2.6/logging/__init__.py", line 768, in emit
msg = self.format(record)
File "/usr/lib/python2.6/logging/__init__.py", line 648, in format
return fmt.format(record)
File "/usr/lib/python2.6/logging/__init__.py", line 439, in format
s = self._fmt % record.__dict__
File "/usr/lib/pymodules/python2.6/vcpx/shwrap.py", line 92, in
__str__
r = '$'+repr(self)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2033' in
position 75: ordinal not in range(128)
18:23:58 [I] [Ok]
18:23:58 [E] Failure replaying: Revision: 2005-08-31 23:45:29 by
udderbalm
Date: 2005-08-31 23:45:29+00:00
Author: udderbalm
Entries:
Log: Add cosmix spinners.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/vcpx/target.py", line 134, in
replayChangeset
self._replayChangeset(changeset)
File "/usr/lib/pymodules/python2.6/vcpx/repository/darcs/target.py",
line 264, in _replayChangeset
open(pending, 'w').writelines(p)
TypeError: writelines() argument must be a sequence of strings
18:23:58 [C] Couldn't replay changeset:
Revision: 2005-08-31 23:45:29 by udderbalm
Date: 2005-08-31 23:45:29+00:00
Author: udderbalm
Entries: htdocs/pics/spinners/cosmix[DIR](ADD)
htdocs/pics/spinners/cosmix/11? chrome teardrop.jpg(ADD at 1.1)
htdocs/pics/spinners/cosmix/11? chrome teardrop.sm.jpg(ADD at
1.1)
htdocs/pics/spinners/cosmix/11? copper w-1 planet.jpg(ADD at
1.1)
htdocs/pics/spinners/cosmix/11? copper w-1 planet.sm.jpg(ADD at
1.1)
htdocs/pics/spinners/cosmix/14? chrome double.jpg(ADD at 1.1)
htdocs/pics/spinners/cosmix/14? chrome double.sm.jpg(ADD at
1.1)
htdocs/pics/spinners/cosmix/14? copper double.jpg(ADD at 1.1)
htdocs/pics/spinners/cosmix/14? copper double.sm.jpg(ADD at
1.1)
htdocs/pics/spinners/cosmix/17? copper double.jpg(ADD at 1.1)
htdocs/pics/spinners/cosmix/17? copper double.sm.jpg(ADD at
1.1)
htdocs/pics/spinners/cosmix/half-ring yard stand.jpg(ADD at
1.1)
htdocs/pics/spinners/cosmix/half-ring yard stand.sm.jpg(ADD at
1.1)
htdocs/pics/spinners/cosmix/ring yard stand.jpg(ADD at 1.1)
htdocs/pics/spinners/cosmix/ring yard stand.sm.jpg(ADD at 1.1)
htdocs/pics/spinners/cosmix/slow speed motor.jpg(ADD at 1.1)
htdocs/pics/spinners/cosmix/slow speed motor.sm.jpg(ADD at 1.1)
htdocs/spinners/cosmix.php(ADD at 1.1)
Log: Add cosmix spinners.
18:24:00 [I] 769 pending changesets in state file
18:24:00 [C] Upstream change application failed: writelines() argument
must be a sequence of strings
18:24:00 [C] Something unexpected!
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/vcpx/tailor.py", line 156, in
__call__
self.update()
File "/usr/lib/pymodules/python2.6/vcpx/tailor.py", line 120, in
update
applyable=self._applyable, applied=self._applied)
File "/usr/lib/pymodules/python2.6/vcpx/dualwd.py", line 102, in
applyPendingChangesets
applied=applied)
File "/usr/lib/pymodules/python2.6/vcpx/source.py", line 136, in
applyPendingChangesets
replay(c)
File "/usr/lib/pymodules/python2.6/vcpx/dualwd.py", line 113, in
replayChangeset
self.target.replayChangeset(changeset)
File "/usr/lib/pymodules/python2.6/vcpx/target.py", line 134, in
replayChangeset
self._replayChangeset(changeset)
File "/usr/lib/pymodules/python2.6/vcpx/repository/darcs/target.py",
line 264, in _replayChangeset
open(pending, 'w').writelines(p)
TypeError: writelines() argument must be a sequence of strings
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor