unicode name support broken, breaks etckeeper: bzrlib.errors.InvalidEntryName: Invalid entry name: snap-gnome\x2d3\x2d28\x2d1804-110.mount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
Not sure whether this is properly a bug in
- bzr, for failing to handle names legal to filesystem
- etckeeper, for failing to wrap names known to be unusable by one of its version-control engines
- webkit, for daring to use filenames which break some tools
but I'm going with the bzr, fixing the issue at the level which avoids a larger class of problem
I don't use bzr, except for etckeeper, which installed it years ago as its default engine
On Ubuntu-19.10, I was adding packages with
sudo apt install libwebkit2gtk-
which invoked etckeeper to log the changes, leading to ...
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
no_recurse, action=action, save=not dry_run)
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
adder.
File "/usr/lib/
inv_path)
File "/usr/lib/
file_
File "/usr/lib/
return factory(file_id, name, parent_id)
File "/usr/lib/
super(
File "/usr/lib/
raise errors.
InvalidEntryName: Invalid entry name: snap-gnome\
bzr 2.8.0dev1 on python 2.7.16 (Linux-
Ubuntu-
arguments: ['/usr/bin/bzr', 'add', '-q', '.']
plugins: bash_completion
changelog_
launchpad[
news_
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
etckeeper warning: bzr add failed
Committing to: /etc/
modified cups/printers.conf
Committed revision 2295.
Selecting previously unselected package libpsl-dev:amd64.
(Reading database ... 609849 files and directories currently installed.)
Preparing to unpack .../libpsl-
Unpacking libpsl-dev:amd64 (0.20.2-2) ...
Selecting previously unselected package libsoup2.
Preparing to unpack .../libsoup2.
Unpacking libsoup2.
Selecting previously unselected package libjavascriptco
Preparing to unpack .../libjavascri
Unpacking libjavascriptco
Selecting previously unselected package libwebkit2gtk-
Preparing to unpack .../libwebkit2g
Unpacking libwebkit2gtk-
Selecting previously unselected package libwebkit2gtk-
Preparing to unpack .../libwebkit2g
Unpacking libwebkit2gtk-
Setting up libjavascriptco
Setting up libpsl-dev:amd64 (0.20.2-2) ...
Setting up libwebkit2gtk-
Setting up libsoup2.
Setting up libwebkit2gtk-
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for doc-base (0.10.8) ...
Processing 3 added doc-base files...
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
no_recurse, action=action, save=not dry_run)
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
adder.
File "/usr/lib/
inv_path)
File "/usr/lib/
file_
File "/usr/lib/
return factory(file_id, name, parent_id)
File "/usr/lib/
super(
File "/usr/lib/
raise errors.
InvalidEntryName: Invalid entry name: snap-gnome\
bzr 2.8.0dev1 on python 2.7.16 (Linux-
Ubuntu-
arguments: ['/usr/bin/bzr', 'add', '-q', '.']
plugins: bash_completion
changelog_
launchpad[
news_
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
etckeeper warning: bzr add failed