Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S Solaar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure 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
  • pwr-Solaar
  • Solaar
  • Issues
  • #651
Closed
Open
Issue created Jan 21, 2020 by Peter F. Patel-Schneider@pfpsContributor

solaar 1.0.1 loses receiver occasionally

Information

  • Solaar version: 1.0.1 from late December 2019
  • Distribution: github

Describe the bug

Pairing a M310 mouse results in Solaar not showing the receiver until it has been unplugged and plugged back in. However, this happens only occasionally. The problem appears to be linked to an assertion failure in window.py.

This may be related to #444 (closed) and #493 (closed)

To Reproduce Steps to reproduce the behavior:

  1. Start Solaar
  2. Pair M310 mouse (new style)

Additional context

peter.patel@2030008406L:~/Samsung/github/Solaar$ bin/solaar

(solaar:5523): Gdk-CRITICAL **: 09:58:43.893:
gdk_window_thaw_toplevel_updates: assertion 'window-
> update_and_descendants_freeze_count > 0' failed
Traceback (most recent call last):
  File "/home/peter.patel/Samsung/github/Solaar/lib/solaar/ui/__init__.py", line 165, in _status_changed
    window.update(device, need_popup)
  File "/home/peter.patel/Samsung/github/Solaar/lib/solaar/ui/window.py", line 771, in update
    assert item
AssertionError
Traceback (most recent call last):
  File "/home/peter.patel/Samsung/github/Solaar/lib/solaar/ui/__init__.py", line 165, in _status_changed
    window.update(device, need_popup)
  File "/home/peter.patel/Samsung/github/Solaar/lib/solaar/ui/window.py", line 771, in update
    assert item
AssertionError
Traceback (most recent call last):
  File "/home/peter.patel/Samsung/github/Solaar/lib/solaar/ui/__init__.py", line 165, in _status_changed
    window.update(device, need_popup)
  File "/home/peter.patel/Samsung/github/Solaar/lib/solaar/ui/window.py", line 771, in update
    assert item
AssertionError
Traceback (most recent call last):
  File "/home/peter.patel/Samsung/github/Solaar/lib/solaar/ui/pair_window.py", line 75, in _check_lock_state
    if receiver.status.get(_K.ERROR):
AttributeError: 'unicode' object has no attribute 'get'
Traceback (most recent call last):
  File "/home/peter.patel/Samsung/github/Solaar/lib/solaar/ui/pair_window.py", line 120, in _finish
    receiver.status.new_device = None
AttributeError: 'unicode' object has no attribute 'new_device'
Assignee
Assign to
Time tracking