simplestreams failing on release feed - TypeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
simplestreams |
Fix Released
|
Medium
|
Unassigned | ||
simplestreams (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
New 13.10 installation, with simplestreams package and a copy of the 'hook-debug' script in bin in the home directory.
When I run
sstream-sync --max 1 --verbose --hook=bin/debug http://
I get
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
tmirror.
File "/usr/lib/
return self.sync_
File "/usr/lib/
self.
File "/usr/lib/
return self.sync_
File "/usr/lib/
self.
File "/usr/lib/
content=
File "/usr/lib/
tfile.
TypeError: 'str' does not support the buffer interface
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: simplestreams 0.1.0~bzr318-
ProcVersionSign
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Fri Oct 18 16:22:19 2013
MarkForUpload: True
PackageArchitec
SourcePackage: simplestreams
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in simplestreams: | |
status: | New → Confirmed |
Changed in simplestreams (Ubuntu): | |
status: | New → Confirmed |
Changed in simplestreams: | |
importance: | Undecided → Medium |
Changed in simplestreams (Ubuntu): | |
importance: | Undecided → Medium |
Changed in simplestreams: | |
status: | Confirmed → Fix Committed |
Neil,
Thanks for the bug I'll take a look at this.
the simple fix is opening the file as 'w' rather than 'wb', but i need to look to make sure that is sane.