[Bug 1733013] Re: 16.04's python-django-tastypie doesn't work with 16.04's django
** Tags added: id-59f0f672ddc8e97eb1fa4064 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1733013 Title: 16.04's python-django-tastypie doesn't work with 16.04's django To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/django-tastypie/+bug/1733013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1733013] Re: 16.04's python-django-tastypie doesn't work with 16.04's django
This bug was fixed in the package django-tastypie - 0.13.3-1~16.04.1 --- django-tastypie (0.13.3-1~16.04.1) xenial; urgency=medium * Backport of 0.13.3-1 to fix django-tastypie's incompatability with django version 1.8 which is the only one available in Ubuntu 16.04. (LP: #1733013) -- Brian Murray Fri, 17 Nov 2017 14:31:09 -0800 ** Changed in: django-tastypie (Ubuntu Xenial) 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/1733013 Title: 16.04's python-django-tastypie doesn't work with 16.04's django To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/django-tastypie/+bug/1733013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1733013] Re: 16.04's python-django-tastypie doesn't work with 16.04's django
I was able to verify this on xenial. ubuntu@juju-0ee92f-stg-error-tracker-5:~$ wget 127.0.0.1:8080 --2017-12-06 23:55:29-- http://127.0.0.1:8080/ Connecting to 127.0.0.1:8080... connected. HTTP request sent, awaiting response... 500 Internal Server Error 2017-12-06 23:55:29 ERROR 500: Internal Server Error. ubuntu@juju-0ee92f-stg-error-tracker-5:~$ apt-cache policy python-django-tastypie python-django-tastypie: Installed: 0.12.0-1build1 Candidate: 0.13.3-1~16.04.1 Version table: 0.13.3-1~16.04.1 500 500 http://ppa.launchpad.net/daisy-pluckers/daisy-seeds/ubuntu xenial/main amd64 Packages *** 0.12.0-1build1 500 500 http://prodstack-zone-2.clouds.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages 100 /var/lib/dpkg/status ubuntu@juju-0ee92f-stg-error-tracker-5:~$ apt-cache policy python-django-tastypie python-django-tastypie: Installed: 0.13.3-1~16.04.1 Candidate: 0.13.3-1~16.04.1 Version table: *** 0.13.3-1~16.04.1 500 500 http://prodstack-zone-2.clouds.archive.ubuntu.com/ubuntu xenial-proposed/universe amd64 Packages 100 /var/lib/dpkg/status 0.13.3-1~16.04.1 500 500 http://ppa.launchpad.net/daisy-pluckers/daisy-seeds/ubuntu xenial/main amd64 Packages 0.12.0-1build1 500 500 http://prodstack-zone-2.clouds.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages ubuntu@juju-0ee92f-stg-error-tracker-5:~$ sudo service gunicorn restart ubuntu@juju-0ee92f-stg-error-tracker-5:~$ wget 127.0.0.1:8080 --2017-12-06 23:57:23-- http://127.0.0.1:8080/ Connecting to 127.0.0.1:8080... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ‘index.html’ index.html[ <=> ] 11.40K --.-KB/sin 0s 2017-12-06 23:57:27 (47.8 MB/s) - ‘index.html’ saved [11670] The 500 error with the version of the package was associated with the following OOPS. S-5af7bc03693708a4369385ee55754abb OOPS-69a1381f31c69a3d89fcdef9a6cdf4b1 ubuntu@juju-0ee92f-stg-error-tracker-5:~$ cat /srv/errors.staging.ubuntu.com/staging/oops-local/2017-12-06/OOPS-5af7bc03693708a4369385ee55754abb req_vars~HTTP_ACCEPT*/*HTTP_USER_AGENTWget/1.17.1 (linux-gnu)HTTP_CONNECTION Keep-AliveSERVER_NAM0.0.0.0SCRIPT_NAMEwsgi.url_schemehttpREQUEST_METHODGETHTTP_HOST127.0.0.1:8080PATH_INFO/SERVER_PORT8080SERVER_PROTOCOL HTTP/1.1QUERY_STRINGwsgi.version01HTTP_ACCEPT_ENCODING identityreportererrorsurlhttp://127.0.0.1:8080/hostname juju-0ee92f-stg-error-tracker-5value5'module' object has no attribute 'commit_on_success' time�A.`typeAttributeErrorid&OOPS-5af7bc03693708a4369385ee55754abbtb_textp ** Tags removed: verification-needed-xenial ** Tags added: verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1733013 Title: 16.04's python-django-tastypie doesn't work with 16.04's django To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/django-tastypie/+bug/1733013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1733013] Re: 16.04's python-django-tastypie doesn't work with 16.04's django
Hello Brian, or anyone else affected, Accepted django-tastypie into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/django- tastypie/0.13.3-1~16.04.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 and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: django-tastypie (Ubuntu Xenial) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1733013 Title: 16.04's python-django-tastypie doesn't work with 16.04's django To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/django-tastypie/+bug/1733013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1733013] Re: 16.04's python-django-tastypie doesn't work with 16.04's django
** Description changed: + [Impact] + tastypie is unusable with the version of django in Ubuntu 16.04 as it was not updated to support django 1.8. + + [Test Case] + 1) Install python-django-tastypie and django on Ubuntu 16.04 + 2) Try to start a django application + 3) Observe the following traceback + Using python-django-tastypie from Ubuntu 16.04 results in the following traceback: [...] - File "/usr/lib/python2.7/dist-packages/tastypie/resources.py", line 1740, in - class BaseModelResource(Resource): - File "/usr/lib/python2.7/dist-packages/tastypie/resources.py", line 2210, in BaseModelResource - @transaction.commit_on_success() + File "/usr/lib/python2.7/dist-packages/tastypie/resources.py", line 1740, in + class BaseModelResource(Resource): + File "/usr/lib/python2.7/dist-packages/tastypie/resources.py", line 2210, in BaseModelResource + @transaction.commit_on_success() AttributeError: 'module' object has no attribute 'commit_on_success' + + with the version of django-tastypie in -proposed you'll observe no such + traceback. + + [Regression Potential] + Given that it is not possible to use tastypie, this will be an improvement over the current situation. This has been fixed in Zesty with django-tastypie version 0.13.3-1. It's probably be best to backport this to 16.04 rather than trying to cherry pick all the django 1.8 changes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1733013 Title: 16.04's python-django-tastypie doesn't work with 16.04's django To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/django-tastypie/+bug/1733013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1733013] Re: 16.04's python-django-tastypie doesn't work with 16.04's django
** Changed in: django-tastypie (Ubuntu Xenial) Status: Triaged => In Progress ** Changed in: django-tastypie (Ubuntu Xenial) 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/1733013 Title: 16.04's python-django-tastypie doesn't work with 16.04's django To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/django-tastypie/+bug/1733013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1733013] Re: 16.04's python-django-tastypie doesn't work with 16.04's django
** Changed in: django-tastypie (Debian) Status: Unknown => 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/1733013 Title: 16.04's python-django-tastypie doesn't work with 16.04's django To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/django-tastypie/+bug/1733013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs