bzr refused to commit systemd-escaped filenames
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Opinion
|
Undecided
|
Unassigned | ||
Breezy |
Fix Released
|
Wishlist
|
Jelmer Vernooij | ||
bzr (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Former titile: 'bzr refused to commit the filename "C:\nppdf32Log\
To reproduce on an ubuntu system (oineiric, i386):
1) create a new folder repo and repo\log
2) Copy the file C:\nppdf32Log\
2) start a bzr repository (bzr init) in repo
3) bzr add log
$ bzr add log/
adding log
adding log/C:\
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/
this_ie = self._add_
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: C:\nppdf32Log\
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: bzr 2.4.1-1ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-23-
ApportVersion: 1.23-0ubuntu4
Architecture: i386
BzrDebugFlags: set()
BzrVersion: 2.4.1
CommandLine: ['/usr/bin/bzr', 'add', 'auctions/']
CrashDb: bzr
Date: Thu Aug 9 21:12:09 2012
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
InterpreterPath: /usr/bin/python2.7
Locale: nl_NL.UTF-8
PackageArchitec
Platform: Linux-3.
ProcCmdline: /usr/bin/python /usr/bin/bzr add auctions/
PythonVersion: 2.7.2
SourcePackage: bzr
Title: bzr crashed with InvalidEntryName in __init__(): Invalid entry name: C:\nppdf32Log\
UpgradeStatus: Upgraded to oneiric on 2012-02-01 (190 days ago)
UserEncoding: UTF-8
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
tags: | removed: need-duplicate-check |
Changed in bzr (Ubuntu): | |
importance: | Undecided → Medium |
Changed in bzr (Ubuntu): | |
status: | New → Confirmed |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
This is now happening when using etckeeper on 16.04 with snappy. Eg:
$ sudo -H bzr add . system/ snaps-cap\ x2dtest. sideload- LSXRFfhCCLCY. mount errors. InvalidEntryNam e: Invalid entry name: snaps-cap\ x2dtest. sideload- LSXRFfhCCLCY. mount
adding systemd/
bzr: ERROR: bzrlib.
Traceback (most recent call last): python2. 7/dist- packages/ bzrlib/ commands. py", line 930, in exception_ to_return_ code python2. 7/dist- packages/ bzrlib/ commands. py", line 1121, in run_bzr python2. 7/dist- packages/ bzrlib/ commands. py", line 673, in run_argv_aliases **all_cmd_ args) python2. 7/dist- packages/ bzrlib/ commands. py", line 697, in run .run_simple( *args, **kwargs) python2. 7/dist- packages/ bzrlib/ cleanup. py", line 136, in run_simple python2. 7/dist- packages/ bzrlib/ cleanup. py", line 166, in _do_with_cleanups python2. 7/dist- packages/ bzrlib/ builtins. py", line 842, in run python2. 7/dist- packages/ bzrlib/ mutabletree. py", line 52, in tree_write_locked python2. 7/dist- packages/ bzrlib/ mutabletree. py", line 453, in smart_add add(file_ list, recurse=recurse) python2. 7/dist- packages/ bzrlib/ mutabletree. py", line 764, in add python2. 7/dist- packages/ bzrlib/ mutabletree. py", line 628, in _add_one_and_parent id=file_ id) python2. 7/dist- packages/ bzrlib/ inventory. py", line 2234, in make_entry python2. 7/dist- packages/ bzrlib/ inventory. py", line 422, in __init__ InventoryFile, self)._ _init__ (file_id, name, parent_id) python2. 7/dist- packages/ bzrlib/ inventory. py", line 222, in __init__ InvalidEntryNam e(name= name) x2dtest. sideload- LSXRFfhCCLCY. mount
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: snaps-cap\