← Back to team overview

ius-coredev team mailing list archive

[Bug 1081112] Re: python32-postgresql 1.1.0 invalid (and broken)

 

We have decided to roll back the python32-postgresql-1.1.0-2.ius package to python32-postgresql-1.0.4-1.ius,
the reason for this rollback is due to Python 3.2.x not supporting py-postgresql 1.1.0.

python32-postgresql-1.1.0-2.ius has been added to the IUS Archive repository in case needed,
and python32-postgresql-1.0.4-1.ius has been moved from Archive back to Stable.

It was decided not to epoch python32-postgresql to avoid any future confusion,
that being the case a manual rollback will be necessary (note the mirrors can take up to 24hours to sync):

   # rpm -e python32-postgresql
   # yum install python32-postgresql

As the mirrors can take up to 24 hours to sync, you may choose to grab the packages directly,
below are the links for both i686 and x86_64 for Enterprise Linux 6:

   http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/i386/python32-postgresql-1.0.4-1.ius.el6.i686.rpm
   http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/python32-postgresql-1.0.4-1.ius.el6.x86_64.rpm

-- 
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


References