Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upstream Python problem on Ubuntu #120

Open
poeml opened this issue Jun 5, 2015 · 0 comments
Open

upstream Python problem on Ubuntu #120

poeml opened this issue Jun 5, 2015 · 0 comments
Labels

Comments

@poeml
Copy link
Owner

poeml commented Jun 5, 2015

                                                                               [          ]

Issue migrated (2015-06-05) from old issue tracker http://mirrorbrain.org/issues/issue120

Title    upstream Python problem on Ubuntu
 Priority   bug     Status    chatting
Superseder         Nosy List  floeff, poeml
Assigned To poeml  Keywords   Packaging

msg420 (view) Author: floeff Date: 2013-03-14.16:29:32

It seems that starting with Ubuntu 11.10, one has to patch Python in order to
make MirrorBrain work. Sadly, I forgot to document the precise error message
today, but here's what I had to patch in order to make it run:

sed -i s/"conn.autocommit(auto)"/"conn.autocommit = auto"/g
/usr/lib/pymodules/python2.7/sqlobject/postgres/pgconnection.py

sed -i s/"conn.autocommit(1)"/"conn.autocommit = 1"/g
/usr/lib/pymodules/python2.7/sqlobject/postgres/pgconnection.py

msg453 (view) Author: poeml Date: 2014-01-12.23:19:39

That's actually a bug in Ubuntu's python-sqlobject package then.

Looking at https://launchpad.net/ubuntu/+source/sqlobject/+changelog ,
it has been fixed at some time, but I can't see on which Ubuntu versions
an update was issued. Anyway, we can't do anything here than

  1. document the problem, and
  2. complain upstreams (Ubuntu resp. python-sqlobject upstream).

Do you happen to know if the problem was fixed everywhere?

msg456 (view) Author: floeff Date: 2014-01-13.09:55:56

I agree, we can't fix it, but stating a warning makes sense.
I just grabbed http://packages.ubuntu.com/precise/python-sqlobject and looked at
the file, and it seems this bug is still in 12.04. Given that LTS release is in
wide use, a warning makes sense.

msg457 (view) Author: floeff Date: 2014-01-13.09:58:11

And, can you confirm that this is really a bug in Ubuntu? I'm a Python noob, so
I don't know in detail. Happy to open a bug report if so (I thought I had, but
can't find it right now somehow...)

msg459 (view) Author: poeml Date: 2014-01-22.20:13:13

Yes, it is really a bug in Ubuntu.

And I found the bug report you were thinking of:

https://bugs.launchpad.net/ubuntu/+source/sqlobject/+bug/941382

msg469 (view) Author: floeff Date: 2014-01-23.10:34:06

Seems to require some work to get that escalated to be fixed in 12.04. I lack
time for it right now, but maybe someone wants to have a look :-)

History
         Date          User  Action                     Args
2014-01-23 10:34:06 floeff set    messages: + msg469
                                    messages: + msg459
2014-01-22 20:13:13 poeml  set    keyword: + Packaging
                                    title: Python problems on Ubuntu -> upstream
                                    Python problem on Ubuntu
2014-01-13 09:58:11 floeff set    messages: + msg457
2014-01-13 09:55:56 floeff set    messages: + msg456
                                    status: unread -> chatting
2014-01-12 23:19:39 poeml  set    assignedto: poeml
                                    messages: + msg453
                                    nosy: + poeml
2013-03-14 16:29:32 floeff create

(end of migrated issue)
@poeml poeml added the bug label Jun 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant