[SRU] extractreads fails to run

Bug #2069647 reported by Sudip Mukherjee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
obitools (Debian)
Fix Released
Unknown
obitools (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
In Progress
Undecided
Unassigned
Jammy
In Progress
Undecided
Unassigned
Mantic
In Progress
Undecided
Unassigned
Noble
In Progress
Undecided
Unassigned

Bug Description

[ Impact ]

extractreads fails to run and crashes immediately with the error:

$ extractreads
Traceback (most recent call last):
  File "/usr/bin/extractreads", line 12, in <module>
    from obitools.word._readindex import ReadIndex,minword
  File "src/obitools/word/_readindex.pyx", line 11, in init obitools.word._readindex
ModuleNotFoundError: No module named 'cPickle'

[ Test Plan ]

install obitools.

Execute "extractreads --help"

If the package is not fixed, it will fail with the above error.

With the fixed package, it will print the help menu.

[ Where problems could occur ]

There should not be any regression due to this change. The code modification from "cPickle" to "pickle" was done during Python2 to Python3 migration.
I guess this reference to cPickle was overlooked and missed at that time.

[ Other Info ]

This has been fixed in Debian and has synced with Oracular, so Oracular is now fixed.

[ Original Bug Description ]

extractreads fails to run on Oracular with the following error:

$ extractreads
Traceback (most recent call last):
  File "/usr/bin/extractreads", line 12, in <module>
    from obitools.word._readindex import ReadIndex,minword
  File "src/obitools/word/_readindex.pyx", line 11, in init obitools.word._readindex
ModuleNotFoundError: No module named 'cPickle'

summary: - extractreads fails to run
+ extractreads fails to run on oracular
Changed in obitools (Debian):
status: Unknown → New
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote : Re: extractreads fails to run on oracular

debdiff attached for Oracular.

Changed in obitools (Ubuntu):
status: New → Confirmed
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Hi Sudip. Thanks for the patch.

This seems to be a leftover from debian/patches/2to3.patch. Do you think we should move this there instead of introducing a new patch here?

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

This has been fixed in Debian now. So should get synced by tomorrow.

Changed in obitools (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Sudip Mukherjee (sudipmuk)
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

It has synced and tested to confirm that the issue is resolved.

Changed in obitools (Ubuntu):
status: In Progress → Fix Released
Changed in obitools (Debian):
status: New → Fix Released
Changed in obitools (Ubuntu Noble):
status: New → In Progress
assignee: nobody → Sudip Mukherjee (sudipmuk)
Changed in obitools (Ubuntu):
assignee: Sudip Mukherjee (sudipmuk) → nobody
summary: - extractreads fails to run on oracular
+ [SRU] extractreads fails to run
description: updated
Changed in obitools (Ubuntu Mantic):
status: New → In Progress
Changed in obitools (Ubuntu Noble):
assignee: Sudip Mukherjee (sudipmuk) → nobody
Changed in obitools (Ubuntu Jammy):
status: New → In Progress
Changed in obitools (Ubuntu Focal):
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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