Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58114 - lxc python API bindings not working after update to 3.0.0

Attached to Project: Community Packages
Opened by Matt Wiebelhaus (wiebelhaus) - Thursday, 05 April 2018, 02:59 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 05 April 2018, 15:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After updating lxc package via pacman all my scripts dependent on lxc python API bindings are broken.

Additional info:
* lxc 3.0.0

Steps to reproduce:
wget https://raw.githubusercontent.com/lxc/python3-lxc/master/examples/api_test.py
chmod +x api_test.py
./api_test.py

Output:
Getting instance for '338bf524-387d-11e8-8938-ce2171e5c5f5'
Traceback (most recent call last):
File "./api_test.py", line 41, in <module>
container = lxc.Container(CONTAINER_NAME)
AttributeError: module 'lxc' has no attribute 'Container'
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 05 April 2018, 15:43 GMT
Reason for closing:  Not a bug
Comment by Daniel M. Capella (polyzen) - Thursday, 05 April 2018, 04:07 GMT

Loading...