/var/lib/python-support/python2.6/sqlalchemy/ext/activemapper.py:262: SyntaxWarning: assertion is always true, perhaps remove parentheses?

Bug #344884 reported by Paul Larson
26
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sqlalchemy (Ubuntu)
Fix Released
Low
Unassigned
Nominated for Jaunty by Luke Faraone

Bug Description

Got this error when trying to install avant-window-navigator on Jaunty alpha6 (which had been updated within the past day):
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
/var/lib/python-support/python2.6/sqlalchemy/ext/activemapper.py:262: SyntaxWarning: assertion is always true, perhaps remove parentheses?
  assert(version_id_col_object is not None, "version_id_col (%s) does not exist." % version_id_col)

Version installed:
python-sqlalchemy:
  Installed: 0.4.8-1
  Candidate: 0.4.8-1

Revision history for this message
Paul Larson (pwlars) wrote :
Revision history for this message
Piotr Ożarowski (piotr) wrote :

FTR: problem doesn't exist in python-sqlalchemy 0.5.2-1 (and all reverse dependencies are already 0.5 compatible in Debian unstable)

Revision history for this message
Paul Larson (pwlars) wrote :

So it looks like I picked it up as a dependency to awn-applets-python-core. Does that mean that awn-applets-python-core dependencies need to be updated (along with all the others) to point depend on 0.5.2-1? Or if all of them are compatible then perhaps 0.5.2-1 should be the only option for python-sqlalchemy?

$ apt-cache rdepends python-sqlalchemy
python-sqlalchemy
Reverse Depends:
  sagemath
 |python-turbogears
  python-sqlalchemy-doc
  python-sqlalchemy-doc
  python-sasync
 |python-pylons
  python-migrate
  python-imdbpy
  python-elixir
  python-beaker
  python-authkit
  gourmet
  awn-applets-python-core
  anki

Revision history for this message
Piotr Ożarowski (piotr) wrote :

from that list: anki and python-migrate are still not compatible and need syncing, see also #316429

BTW: fixing this bug should be easy, though (assert(...) is used only in one line in 0.4.8-1)

(I will not provide patch as there's no python2.6 in Debian yet)

Revision history for this message
Edgard Pineda (edgard-pineda) wrote :

I've got the same error with a Jaunty daily-build of 13-Apr-2009:

...
Setting up avant-window-navigator (0.3.2-0ubuntu1) ...

Setting up awn-manager (0.3.2-0ubuntu1) ...

Setting up awn-applets-c-core (0.3.2.1-0ubuntu2) ...

Setting up awn-applets-python-core (0.3.2.1-0ubuntu2) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
/var/lib/python-support/python2.6/sqlalchemy/ext/activemapper.py:262: SyntaxWarning: assertion is always true, perhaps remove parentheses?
  assert(version_id_col_object is not None, "version_id_col (%s) does not exist." % version_id_col)

Revision history for this message
Vladimir Osintsev (osintsev) wrote :

I get a similar message when try to install a package.

My system is Jaunty right after `apt-get update && apt-get upgrade`

Revision history for this message
Benjamin Rubin (bnrubin) wrote :

Confirmed on a post-release install of python-sqlalchemy alone.

Changed in sqlalchemy (Ubuntu):
status: New → Confirmed
Revision history for this message
Luke Faraone (lfaraone) wrote :

Fixed in Karmic.

Changed in sqlalchemy (Ubuntu):
importance: Undecided → Low
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.