You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
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...)
Issue migrated (2015-06-05) from old issue tracker http://mirrorbrain.org/issues/issue120
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
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 :-)
(end of migrated issue)
The text was updated successfully, but these errors were encountered: