Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gnome-music gnome-music
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 106
    • Issues 106
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 35
    • Merge requests 35
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gnome-musicgnome-music
  • Merge requests
  • !486

songsview: fix a TypeError

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Hugo Posnic requested to merge Huluti/gnome-music:fix-selection-typeerror into master Aug 21, 2019
  • Overview 10
  • Commits 1
  • Pipelines 8
  • Changes 1

Just a small fix to prevent a TypeError when displacing a row in selection mode in SongsView.

Here's the resolved error:

Traceback (most recent call last):
  File "/app/lib/python3.7/site-packages/gnomemusic/views/songsview.py", line 200, in _on_view_clicked
    path, col, cell_x, cell_y = self._view.get_path_at_pos(x, y)
TypeError: cannot unpack non-iterable NoneType object
L’application s’est fermée
Edited Aug 21, 2019 by Hugo Posnic
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-selection-typeerror