Public bug reported:

After the last s3ql package upgrade, on precise, I started getting this
error:

Setting up s3ql (1.18-1~precise1) ...
SyntaxError: ('invalid syntax', ('/usr/lib/s3ql/dugong/__init__.py', 409, 18, ' 
       yield from self._co_send(("CONNECT %s:%d HTTP/1.0\\r\\n\\r\\n"\n'))

dpkg: error processing s3ql (--configure):
 subprocess installed post-installation script returned error exit status 101
Errors were encountered while processing:
 s3ql

It seems that the post-installation script noted is relying on the new
"yield from" feature that was only introduced in python 3.3 (PEP 380).

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

** Description changed:

  After the last s3ql package upgrade, on precise, I started getting this
  error:
  
  Setting up s3ql (1.18-1~precise1) ...
- SyntaxError: ('invalid syntax', ('/usr/lib/s3ql/dugong/__init__.py', 409, 18, 
'        yield from self._co_send(("CONNEC
- T %s:%d HTTP/1.0\\r\\n\\r\\n"\n'))
+ SyntaxError: ('invalid syntax', ('/usr/lib/s3ql/dugong/__init__.py', 409, 18, 
'        yield from self._co_send(("CONNECT %s:%d HTTP/1.0\\r\\n\\r\\n"\n'))
  
  dpkg: error processing s3ql (--configure):
-  subprocess installed post-installation script returned error exit status 101
+  subprocess installed post-installation script returned error exit status 101
  Errors were encountered while processing:
-  s3ql
+  s3ql
  
  It seems that the post-installation script noted is relying on the new
  "yield from" feature that was only introduced in python 3.3 (PEP 380).

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

Title:
  s3ql post-installation script fails with syntax error in "yield from"

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

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

Reply via email to