Public bug reported:

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://cloud-
images.ubuntu.com/releases

I get

Traceback (most recent call last):
  File "/usr/bin/sstream-sync", line 163, in <module>
    main()
  File "/usr/bin/sstream-sync", line 156, in main
    tmirror.sync(smirror, cfg['path'])
  File "/usr/lib/python3/dist-packages/simplestreams/mirrors/__init__.py", line 
85, in sync
    return self.sync_index(reader, path, data, content)
  File "/usr/lib/python3/dist-packages/simplestreams/mirrors/__init__.py", line 
230, in sync_index
    self.sync(reader, path=epath)
  File "/usr/lib/python3/dist-packages/simplestreams/mirrors/__init__.py", line 
83, in sync
    return self.sync_products(reader, path, data, content)
  File "/usr/lib/python3/dist-packages/simplestreams/mirrors/__init__.py", line 
358, in sync_products
    self.insert_products(path, target, content)
  File "/usr/lib/python3/dist-packages/simplestreams/mirrors/command_hook.py", 
line 141, in insert_products
    content=content, extra={'path': path})
  File "/usr/lib/python3/dist-packages/simplestreams/mirrors/command_hook.py", 
line 201, in call_hook
    tfile.write(content)
TypeError: 'str' does not support the buffer interface

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: simplestreams 0.1.0~bzr318-0ubuntu1
ProcVersionSignature: User Name 3.11.0-12.19-generic 3.11.3
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
PackageArchitecture: all
SourcePackage: simplestreams
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: simplestreams (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug saucy uec-images

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1241711

Title:
  simplestreams failing on release feed - TypeError

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/simplestreams/+bug/1241711/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to