[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
This bug was fixed in the package landscape-client - 19.12-0ubuntu9.1 --- landscape-client (19.12-0ubuntu9.1) hirsute; urgency=medium * Replace deprecated tostring() call with tobytes(). (LP: #1911050) -- Brian Murray Thu, 22 Apr 2021 14:59:38 -0700 ** Changed in: landscape-client (Ubuntu Hirsute) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
Got the same error today when launching Ubuntu-CommPrev running on WSL2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
This bug was fixed in the package landscape-client - 19.12-0ubuntu9.1 --- landscape-client (19.12-0ubuntu9.1) hirsute; urgency=medium * Replace deprecated tostring() call with tobytes(). (LP: #1911050) -- Brian Murray Thu, 22 Apr 2021 14:59:38 -0700 ** Changed in: landscape-client (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
> Selected version '19.12-0ubuntu9.1' (Ubuntu:21.04/hirsute-proposed [arm64]) for 'landscape-common' This version fixed the issue for my Raspberry Pi 4B. Before the proposed package, motd did not show IPv4/IPv6 addresses, but instead showed: > => There were exceptions while processing one or more plugins. See > /var/log/landscape/sysinfo.log for more information. After installing the proposed package, motd shows IPv4 and IPv6 addresses for each interface. ** Tags removed: verification-needed-hirsute ** Tags added: verification-done-hirsute -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
Hello Joshua, or anyone else affected, Accepted landscape-client into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/landscape- client/19.12-0ubuntu9.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: landscape-client (Ubuntu Hirsute) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-hirsute -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
** Changed in: landscape-client (Ubuntu) Assignee: (unassigned) => Brian Murray (brian-murray) ** Changed in: landscape-client (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
it was still broken in the 20210420 image, I'll check the latest 21.1 image today -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
I thought I'd fixed this with https://github.com/CanonicalLtd/landscape- client/pull/90 -- has that not had a release yet? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
This bug has been reported on the Ubuntu ISO testing tracker. A list of all reports related to this bug can be found here: http://iso.qa.ubuntu.com/qatracker/reports/bugs/1911050 ** Tags added: iso-testing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
This also shows up on raspi server images -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
** Also affects: landscape-client Importance: Undecided Status: New ** No longer affects: landscape-client -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
** Tags added: rls-hh-incoming ** Changed in: landscape-client (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: landscape-client (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
See https://docs.python.org/3.9/whatsnew/3.9.html#removed "array.array: tostring() and fromstring() methods have been removed. They were aliases to tobytes() and frombytes(), deprecated since Python 3.2." editing /usr/lib/python3/dist-packages/landscape/lib/network.py and replacing "res = status_cmd.tostring()" with "res = status_cmd.tobytes()" solves the problem -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1911050] Re: AttributeError: 'array.array' object has no attribute 'tostring'
This is not limited to GCE cloud images, but also the KVM images from: https://cloud-images.ubuntu.com/hirsute -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs