[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
** Changed in: pymongo (Ubuntu) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
** Changed in: pymongo (Ubuntu) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
** Changed in: maas (Ubuntu) Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pymongo in Ubuntu. https://bugs.launchpad.net/bugs/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
** Changed in: maas (Ubuntu) Status: New = 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/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
** Changed in: maas Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pymongo in Ubuntu. https://bugs.launchpad.net/bugs/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
** Changed in: maas 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/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
** Changed in: maas Assignee: (unassigned) = Gavin Panella (allenap) ** Changed in: maas Status: Triaged = Fix Committed ** Changed in: maas Milestone: None = 13.10 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pymongo in Ubuntu. https://bugs.launchpad.net/bugs/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
** Changed in: maas Assignee: (unassigned) = Gavin Panella (allenap) ** Changed in: maas Status: Triaged = Fix Committed ** Changed in: maas Milestone: None = 13.10 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
To summarise, WSGIImportScript was using application-group=maas. Changing it to application-group=%{GLOBAL} resolved the issue. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pymongo in Ubuntu. https://bugs.launchpad.net/bugs/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
To summarise, WSGIImportScript was using application-group=maas. Changing it to application-group=%{GLOBAL} resolved the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
Don't know if this matters, but... The blog article suggests WSGIProcessGroup %{GLOBAL}. We have WSGIApplicationGroup %{GLOBAL}, but WSGIProcessGroup maas. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pymongo in Ubuntu. https://bugs.launchpad.net/bugs/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
I can reproduce this - and demonstrate a fix - on a machine with apache2 and libapache2-mod-wsgi. See the attached archive; expand and run `make demo`. ** Attachment added: Demonstration of bson bug and fix. https://bugs.launchpad.net/ubuntu/+source/pymongo/+bug/1237615/+attachment/3872869/+files/bsonbug.tar.gz -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pymongo in Ubuntu. https://bugs.launchpad.net/bugs/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
Don't know if this matters, but... The blog article suggests WSGIProcessGroup %{GLOBAL}. We have WSGIApplicationGroup %{GLOBAL}, but WSGIProcessGroup maas. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
I can reproduce this - and demonstrate a fix - on a machine with apache2 and libapache2-mod-wsgi. See the attached archive; expand and run `make demo`. ** Attachment added: Demonstration of bson bug and fix. https://bugs.launchpad.net/ubuntu/+source/pymongo/+bug/1237615/+attachment/3872869/+files/bsonbug.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
http://emptysqua.re/blog/python-c-extensions-and-mod-wsgi/ has some answers. I'm still not sure how to change our Apache config though as it has most of the hacks in place already. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pymongo in Ubuntu. https://bugs.launchpad.net/bugs/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1237615] Re: python-bson-ext does not encode binary in Apache with mod_wsgi
http://emptysqua.re/blog/python-c-extensions-and-mod-wsgi/ has some answers. I'm still not sure how to change our Apache config though as it has most of the hacks in place already. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1237615 Title: python-bson-ext does not encode binary in Apache with mod_wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1237615/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs