New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix -- Right Click Menu Crash in Edit Tag Window #2968

Merged
merged 1 commit into from Sep 13, 2018

Conversation

Projects
None yet
2 participants
@TheYokai
Contributor

TheYokai commented Sep 13, 2018

I fixed a crash that complained about adding a list and a map together. The following is the crash report I received:

TypeError: unsupported operand type(s) for +: 'map' and 'list'
------
Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/quodlibet/qltk/edittags.py", line 632, in __popup_menu
    [1])

TypeError: unsupported operand type(s) for +: 'map' and 'list'

Converting the map to a list allows the addition of these elements, but I'd like to hear if this is actually the desired behavior? Never-the-less, this PR solves the bug and seems to run well on my local repository.

This is my first commit to this project, so hopefully it meets your standards.

@TheYokai TheYokai force-pushed the TheYokai:master branch from 26813fb to 965d573 Sep 13, 2018

Bug fix -- Right Click Menu Crash in Edit Tag Window
Fixed a crash that complained about adding a list and a map together. Solved this issue but converting the map to a list before addition.

@TheYokai TheYokai force-pushed the TheYokai:master branch from 965d573 to 5bfa623 Sep 13, 2018

@lazka lazka merged commit 2dc6411 into quodlibet:master Sep 13, 2018

6 checks passed

ci/circleci: job.fedora28 Your tests passed on CircleCI!
Details
ci/circleci: job.ubuntu16.04 Your tests passed on CircleCI!
Details
ci/circleci: job.ubuntu18.04 Your tests passed on CircleCI!
Details
ci/circleci: job.win32 Your tests passed on CircleCI!
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@lazka

This comment has been minimized.

Member

lazka commented Sep 13, 2018

Sentry issue: QUODLIBET-9C

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment