Debian Bug report logs - #1072710
qa.debian.org: mia tools fail with newer python

Package: qa.debian.org; Maintainer for qa.debian.org is [email protected];

Reported by: Guillem Jover <[email protected]>

Date: Thu, 6 Jun 2024 20:39:02 UTC

Severity: normal

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected]:
Bug#1072710; Package qa.debian.org. (Thu, 06 Jun 2024 20:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Guillem Jover <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected]. (Thu, 06 Jun 2024 20:39:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Guillem Jover <[email protected]>
To: [email protected]
Subject: qa.debian.org: mia tools fail with newer python
Date: Thu, 6 Jun 2024 22:35:46 +0200
Package: qa.debian.org
Severity: normal
User: [email protected]
Usertags: mia

Hi!

Was trying to use the mia-query tool, and it failed to execute, I
guess because the host might have been upgraded to bookworm recently:

  $ /srv/qa.debian.org/mia/mia-query user
  Traceback (most recent call last):
    File "/srv/qa.debian.org/mia/mia-query", line 23, in <module>
      import apt_pkg, status
    File "/srv/qa.debian.org/mia/status.py", line 50
      print "Cannot find directory of database: %s" % path
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

There seems to be issues with module names too:

  Traceback (most recent call last):
    File "/home/guillem/./mia-query", line 23, in <module>
      import apt_pkg, status
    File "/home/guillem/status.py", line 27, in <module>
      import apt_pkg, carnivore
    File "/srv/qa.debian.org/carnivore/carnivore.py", line 24, in <module>
      import os, sys, bsddb
  ModuleNotFoundError: No module named 'bsddb'

I didn't dig further, but I guess at least all mia code needs to be
checked against later python versions.

Thanks,
Guillem



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:10:21 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.