Bug 1033974 - [abrt] picard-1.2-1.fc19: metadata.py:114:compare_to_release:ValueError: invalid literal for int() with base 10: 'ot'
Summary: [abrt] picard-1.2-1.fc19: metadata.py:114:compare_to_release:ValueError: inva...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: picard
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alex Lancaster
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:87fde3b907d3d32ed11d40b5628...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-24 22:24 UTC by Kerry
Modified: 2015-02-17 19:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-17 19:23:16 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (2.44 KB, text/plain)
2013-11-24 22:24 UTC, Kerry
no flags Details
File: environ (4.92 KB, text/plain)
2013-11-24 22:24 UTC, Kerry
no flags Details

Description Kerry 2013-11-24 22:24:04 UTC
Version-Release number of selected component:
picard-1.2-1.fc19

Additional info:
reporter:       libreport-2.1.9
cmdline:        /usr/bin/python /bin/picard
executable:     /bin/picard
kernel:         3.11.6-200.fc19.x86_64
runlevel:       N 3
type:           Python
uid:            500

Truncated backtrace:
metadata.py:114:compare_to_release:ValueError: invalid literal for int() with base 10: 'ot'

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/picard/webservice.py", line 243, in _process_reply
    handler(xml_handler.document, reply, error)
  File "/usr/lib64/python2.7/site-packages/picard/acoustid.py", line 111, in _on_lookup_finished
    next(doc, http, error)
  File "/usr/lib64/python2.7/site-packages/picard/file.py", line 532, in _lookup_finished
    reverse=True, key=itemgetter(0))[0]
  File "/usr/lib64/python2.7/site-packages/picard/file.py", line 531, in <genexpr>
    track, self.comparison_weights) for track in tracks),
  File "/usr/lib64/python2.7/site-packages/picard/metadata.py", line 204, in compare_to_track
    t, p = self.compare_to_release(release, weights, return_parts=True)
  File "/usr/lib64/python2.7/site-packages/picard/metadata.py", line 114, in compare_to_release
    a = int(self["totaltracks"])
ValueError: invalid literal for int() with base 10: 'ot'

Local variables in innermost frame:
b: u'Fresh Maggots'
return_parts: True
self: {'album': [u'Fresh Maggots... Hatched'], '~bitrate': [u'320.0'], 'title': [u'Quickie (Live)'], '~sample_rate': [u'44100'], 'artist': [u'Fresh Maggots'], '~length': [u'1:30'], 'totaltracks': [u'ot'], '~extension': [u'mp3'], '~format': [u'MPEG-1 Layer 3'], 'acoustid_id': [u'136994ee-3edc-4573-86d7-4dcea821746a'], '~dirname': [u'/mnt/Samsung2TB/MusicDownloads/new65/Fresh Maggots - 1971'], 'date': [u'1971'], 'tracknumber': [u'16'], '~filename': [u"16. (bonus) Quickie (Live, Kid Jensen's show on Radio Luxembourg)"]}
parts: [(0.8333333333333334, 5)]
weights: {'album': 5, 'totaltracks': 4, 'length': 10, 'title': 13, 'format': 2, 'artist': 4, 'releasetype': 20, 'releasecountry': 2}
release: {'attribs': {'id': u'ca97b29d-94d9-4bf6-92cd-f728f5bdd6b8'}, 'text': u'', 'children': {'country': [{'attribs': {}, 'text': u'US', 'children': {}}], 'medium_list': [{'attribs': {'count': u'1'}, 'text': u'', 'children': {'medium': [{'attribs': {}, 'text': u'', 'children': {'track_list': [{'attribs': {'count': u'11'}, 'text': u'', 'children': {'track': [{'attribs': {}, 'text': u'', 'children': {'position': [{'attribs': {}, 'text': u'3', 'children': {}}]}}]}}]}}]}}], 'release_group': [{'attribs': {'id': u'2357eeb9-3083-3de3-a5f5-ebca960a5f25'}, 'text': u'', 'children': {}}], 'title': [{'attribs': {}, 'text': u'Fresh Maggots', 'children': {}}]}}
total: 5.0
config: <picard.config.Config object at 0x19613b0>

Comment 1 Kerry 2013-11-24 22:24:12 UTC
Created attachment 828435 [details]
File: backtrace

Comment 2 Kerry 2013-11-24 22:24:15 UTC
Created attachment 828436 [details]
File: environ

Comment 3 Fedora End Of Life 2015-01-09 20:41:18 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2015-02-17 19:23:16 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.