ius-coredev team mailing list archive
-
ius-coredev team
-
Mailing list archive
-
Message #02053
[Bug 1081112] [NEW] python32-postgresql 1.1.0 invalid (and broken)
Public bug reported:
Reported by Jason G. via Email:
Hey Guys,
I just noticed that one of our main production sites was down with this
error:
=================
Traceback (most recent call last):
File "/home/jason/DevLevel.2/TMTManage/Python/AppStruct/WSGI/Handler/__init__.py", line 47, in __new__
Res = self.Exec()
File "/home/jason/DevLevel.2/TMTManage/Python/AppStruct/WSGI/Handler/Coaster.py", line 174, in Exec
RVAL = Callable(self)
File "/home/jason/DevLevel.2/TMTManage/Python/TMTManage/ShockBox_UI/__init__.py", line 71, in Index
SO.Hit(self.Env.get('REMOTE_ADDR', ''))
File "/home/jason/DevLevel.2/TMTManage/Python/TMTManage/Dashboard/ShockBox.py", line 897, in Hit
('IP', IP),
File "/home/jason/DevLevel.2/TMTManage/Python/AppStruct/Database/PostgreSQL.py", line 261, in Execute
return self.CachePrepare(SQL).Execute(*Params)
File "/home/jason/DevLevel.2/TMTManage/Python/AppStruct/Database/PostgreSQL.py", line 150, in CachePrepare
self._PS_Cache[SQL] = self.prepare(SQL)
File "/home/jason/DevLevel.2/TMTManage/Python/AppStruct/Database/PostgreSQL.py", line 136, in prepare
ps = super().prepare(*args, **kwargs)
File "/usr/lib64/python3.2/site-packages/postgresql/driver/pq3.py", line 2326, in prepare
ps._fini()
File "/usr/lib64/python3.2/site-packages/postgresql/driver/pq3.py", line 1548, in _fini
pack = (typio.resolve(x) or (None,None))[0]
File "/usr/lib64/python3.2/site-packages/postgresql/driver/pq3.py", line 247, in resolve
typio = builtins(typid)
File "/usr/lib64/python3.2/site-packages/postgresql/types/io/__init__.py", line 107, in resolve
module_io.update(load(io).oid_to_io)
File "/usr/lib64/python3.2/site-packages/postgresql/types/io/__init__.py", line 97, in load
return __import__(__name__ + '.' + relmod, fromlist = True, level = 1)
File "/usr/lib64/python3.2/site-packages/postgresql/types/io/pg_network.py", line 3, in <module>
import ipaddress
ImportError: No module named ipaddress
=================
Jason spoke with the python postgresql guys and discovered Python 3.2 is
not compatible with v1.1.0 py-postgresql:
http://pgfoundry.org/pipermail/python-
general/2012-October/001003.html
** Affects: ius
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/1081112
Title:
python32-postgresql 1.1.0 invalid (and broken)
Status in IUS Community Project:
New
Bug description:
Reported by Jason G. via Email:
Hey Guys,
I just noticed that one of our main production sites was down with
this error:
=================
Traceback (most recent call last):
File "/home/jason/DevLevel.2/TMTManage/Python/AppStruct/WSGI/Handler/__init__.py", line 47, in __new__
Res = self.Exec()
File "/home/jason/DevLevel.2/TMTManage/Python/AppStruct/WSGI/Handler/Coaster.py", line 174, in Exec
RVAL = Callable(self)
File "/home/jason/DevLevel.2/TMTManage/Python/TMTManage/ShockBox_UI/__init__.py", line 71, in Index
SO.Hit(self.Env.get('REMOTE_ADDR', ''))
File "/home/jason/DevLevel.2/TMTManage/Python/TMTManage/Dashboard/ShockBox.py", line 897, in Hit
('IP', IP),
File "/home/jason/DevLevel.2/TMTManage/Python/AppStruct/Database/PostgreSQL.py", line 261, in Execute
return self.CachePrepare(SQL).Execute(*Params)
File "/home/jason/DevLevel.2/TMTManage/Python/AppStruct/Database/PostgreSQL.py", line 150, in CachePrepare
self._PS_Cache[SQL] = self.prepare(SQL)
File "/home/jason/DevLevel.2/TMTManage/Python/AppStruct/Database/PostgreSQL.py", line 136, in prepare
ps = super().prepare(*args, **kwargs)
File "/usr/lib64/python3.2/site-packages/postgresql/driver/pq3.py", line 2326, in prepare
ps._fini()
File "/usr/lib64/python3.2/site-packages/postgresql/driver/pq3.py", line 1548, in _fini
pack = (typio.resolve(x) or (None,None))[0]
File "/usr/lib64/python3.2/site-packages/postgresql/driver/pq3.py", line 247, in resolve
typio = builtins(typid)
File "/usr/lib64/python3.2/site-packages/postgresql/types/io/__init__.py", line 107, in resolve
module_io.update(load(io).oid_to_io)
File "/usr/lib64/python3.2/site-packages/postgresql/types/io/__init__.py", line 97, in load
return __import__(__name__ + '.' + relmod, fromlist = True, level = 1)
File "/usr/lib64/python3.2/site-packages/postgresql/types/io/pg_network.py", line 3, in <module>
import ipaddress
ImportError: No module named ipaddress
=================
Jason spoke with the python postgresql guys and discovered Python 3.2
is not compatible with v1.1.0 py-postgresql:
http://pgfoundry.org/pipermail/python-
general/2012-October/001003.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1081112/+subscriptions
Follow ups
References