FS#50311 - [picard] Failure to Launch

Attached to Project: Community Packages
Opened by M.Reynolds (TheChickenMan) - Monday, 08 August 2016, 06:24 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 08 August 2016, 12:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

picard version: 1.3.2-4

Traceback (most recent call last):
File "/usr/bin/picard", line 2, in <module>
from picard.tagger import main; main('/usr/share/locale', True)
File "/usr/lib/python2.7/site-packages/picard/tagger.py", line 65, in <module>
from picard.formats import open as open_file
File "/usr/lib/python2.7/site-packages/picard/formats/__init__.py", line 157, in <module>
from picard.formats.id3 import (
File "/usr/lib/python2.7/site-packages/picard/formats/id3.py", line 30, in <module>
from picard.formats.mutagenext import compatid3
File "/usr/lib/python2.7/site-packages/picard/formats/mutagenext/compatid3.py", line 25, in <module>
from mutagen.id3 import ID3, Frames, Frames_2_2, TextFrame, TORY, \
ImportError: cannot import name BitPaddedInt
“picard &” has ended

Steps to reproduce:
Picard fails to launch when called. I tried from my desktop computer running Gnome3 and from my laptop running XFCE with the same results. I also tried from my testing virtual machine. All packages are up to date. When picard is called from terminal it produces the output above before the process exits.
This task depends upon

Closed by  Gaetan Bisson (vesath)
Monday, 08 August 2016, 12:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  picard-1.3.2-5 in [community]
Comment by Antonio Rojas (arojas) - Monday, 08 August 2016, 08:12 GMT
Patch attached, works for me but could use more testing.

Upstream report: http://tickets.musicbrainz.org/browse/PICARD-833
Comment by M.Reynolds (TheChickenMan) - Monday, 08 August 2016, 08:43 GMT
I built it with the attached patch and it also seems to be working for me now too.
Ah maybe I spoke too soon. The patched version launches for me but I'm getting some errors from the program when I actually try to use it.
Comment by Antonio Rojas (arojas) - Monday, 08 August 2016, 08:56 GMT
can you post the actual errors?
Comment by M.Reynolds (TheChickenMan) - Monday, 08 August 2016, 09:35 GMT
Sure thing. With the patch the program launches but then I go to save out a file it does not work and produces the following error.

E: 05:33:56 Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/picard/util/thread.py", line 46, in run
result = self.func()
File "/usr/lib/python2.7/site-packages/picard/file.py", line 172, in _save_and_rename
self._save(old_filename, metadata)
File "/usr/lib/python2.7/site-packages/picard/formats/id3.py", line 424, in _save
tags.save(encode_filename(filename), v2=3, v1=v1)
File "/usr/lib/python2.7/site-packages/picard/formats/mutagenext/compatid3.py", line 97, in save
framedata = [self.__save_frame(frame, v2) for (key, frame) in frames]
File "/usr/lib/python2.7/site-packages/picard/formats/mutagenext/compatid3.py", line 174, in __save_frame
framedata = frame._writeData()
File "/usr/lib/python2.7/site-packages/mutagen/id3/_frames.py", line 193, in _writeData
writer.write(config, frame, getattr(frame, writer.name)))
TypeError: patched_MultiSpec_write() takes exactly 3 arguments (4 given)
Comment by Antonio Rojas (arojas) - Monday, 08 August 2016, 10:10 GMT
Please try this one
Comment by M.Reynolds (TheChickenMan) - Monday, 08 August 2016, 10:56 GMT
The second patch was able to build successfully. The program loaded and was able to save out a file without noticeable errors. I would call it working.

Loading...