pbr running in git context when it shouldn't
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Checking out current openstack-manuals package (git head commit is 5b00b10e463b74c
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 6938: ordinal not in range(128)
The problem seems to be that pbr runs in git context and includes the files from the openstack-manual while generating the MANIFEST file. Some of the files in openstack-manual contain ndashes in the filename.
Note: I'm pushing to rename these files in openstack-manuals, so if you want to test this, use an older tree...
The error message is:
Installed /home/aj/
[pbr] Processing SOURCES.txt
warning: LocalManifestMaker: standard file '-c' not found
[pbr] In git context, generating filelist from git
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no files found matching '*' under directory 'doc'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/home/
pbr=True)
File "/usr/lib64/
File "/usr/lib64/
File "/usr/lib64/
File "<string>", line 14, in replacement_run
File "/home/
mm.run()
File "/home/
File "/home/
"writing manifest file '%s'" % self.manifest)
File "/usr/lib64/
File "/usr/lib64/
func(*args)
File "/home/
UnicodeEnco
Complete output from command python setup.py egg_info:
btw. filed thanks to debugging from the #openstack-infra team on IRC