[SRU] extractreads fails to run

Bug #2069647 reported by Sudip Mukherjee
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
obitools (Debian)
Fix Released
Unknown
obitools (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Committed
Undecided
Unassigned
Jammy
Fix Committed
Undecided
Unassigned
Mantic
Won't Fix
Undecided
Unassigned
Noble
Fix Committed
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
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Sudip, or anyone else affected,

Accepted obitools into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/obitools/1.2.13+dfsg-7ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in obitools (Ubuntu Noble):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-noble
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Proposed package upload rejected

An upload of obitools to mantic-proposed has been rejected from the upload queue for the following reason: "mantic will be EOL in six days".

Changed in obitools (Ubuntu Mantic):
status: In Progress → Won't Fix
Changed in obitools (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed-jammy
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Sudip, or anyone else affected,

Accepted obitools into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/obitools/1.2.13+dfsg-4ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in obitools (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello Sudip, or anyone else affected,

Accepted obitools into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/obitools/1.2.13+dfsg-3ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

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.