[Bug 1024599] Re: apt_check.py crashed with SyntaxError in unknown(): invalid syntax
I figured as much, once a number of things started breaking with Python 3. This one was associated with an open ticket so I thought I'd throw up the patch. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1024599 Title: apt_check.py crashed with SyntaxError in unknown(): invalid syntax To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1024599/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1024599] Re: apt_check.py crashed with SyntaxError in unknown(): invalid syntax
Thanks for the patch, however we've reverted the python 3 conversion of update-notifier as python-debian which update-notifier-common depends hasn't been converted. When we do convert update-notifier to python3 we'll ensure we fix the Except syntax. Thanks again! ** Changed in: update-notifier (Ubuntu) Status: In Progress => Won't Fix ** Changed in: update-notifier (Ubuntu) Assignee: Brian Murray (brian-murray) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1024599 Title: apt_check.py crashed with SyntaxError in unknown(): invalid syntax To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1024599/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1024599] Re: apt_check.py crashed with SyntaxError in unknown(): invalid syntax
** Changed in: update-notifier (Ubuntu) Status: Confirmed => In Progress ** Changed in: update-notifier (Ubuntu) Assignee: (unassigned) => Brian Murray (brian-murray) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1024599 Title: apt_check.py crashed with SyntaxError in unknown(): invalid syntax To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1024599/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1024599] Re: apt_check.py crashed with SyntaxError in unknown(): invalid syntax
The attachment "replace "except SystemError, e:" with"except SystemError as e:"" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1024599 Title: apt_check.py crashed with SyntaxError in unknown(): invalid syntax To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1024599/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1024599] Re: apt_check.py crashed with SyntaxError in unknown(): invalid syntax
** Patch removed: "replace "except SystemError, e:" with "except SystemError as e:"" https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1024599/+attachment/3358341/+files/apt_check.py-patch ** Attachment added: "replace "except SystemError, e:" with"except SystemError as e:"" https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1024599/+attachment/3358386/+files/apt_check.py-patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1024599 Title: apt_check.py crashed with SyntaxError in unknown(): invalid syntax To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1024599/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1024599] Re: apt_check.py crashed with SyntaxError in unknown(): invalid syntax
Patch for my previous comment. The syntax: except A, B: Is no longer allowed in Python 3. http://www.python.org/dev/peps/pep-3110/ ** Attachment added: "replace "except SystemError, e:" with "except SystemError as e:"" https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1024599/+attachment/3358341/+files/apt_check.py-patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1024599 Title: apt_check.py crashed with SyntaxError in unknown(): invalid syntax To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1024599/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1024599] Re: apt_check.py crashed with SyntaxError in unknown(): invalid syntax
The syntax: except A, B: Is no longer allowed in Python 3. http://www.python.org/dev/peps/pep-3110/ ** Attachment added: ""except SystemError, e:" replaced with "except SystemError as e:"" https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1024599/+attachment/3358278/+files/apt_check.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1024599 Title: apt_check.py crashed with SyntaxError in unknown(): invalid syntax To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1024599/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1024599] Re: apt_check.py crashed with SyntaxError in unknown(): invalid syntax
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: update-notifier (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/1024599 Title: apt_check.py crashed with SyntaxError in unknown(): invalid syntax To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1024599/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1024599] Re: apt_check.py crashed with SyntaxError in unknown(): invalid syntax
** Visibility changed to: Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1024599 Title: apt_check.py crashed with SyntaxError in unknown(): invalid syntax To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1024599/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs