Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1630395 - [abrt] solaar: _match(): udev.py:88:_match:TypeError: int() can't convert non-string with explicit base
Summary: [abrt] solaar: _match(): udev.py:88:_match:TypeError: int() can't convert non...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: solaar
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Eric Smith
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:24903383faf9e6ae2bec27875ad...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-18 14:04 UTC by Toby Haynes
Modified: 2019-05-28 22:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-28 22:30:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (deleted)
2018-09-18 14:04 UTC, Toby Haynes
no flags Details
File: cgroup (deleted)
2018-09-18 14:04 UTC, Toby Haynes
no flags Details
File: cpuinfo (deleted)
2018-09-18 14:04 UTC, Toby Haynes
no flags Details
File: environ (deleted)
2018-09-18 14:04 UTC, Toby Haynes
no flags Details
File: mountinfo (deleted)
2018-09-18 14:04 UTC, Toby Haynes
no flags Details
File: namespaces (deleted)
2018-09-18 14:04 UTC, Toby Haynes
no flags Details
File: open_fds (deleted)
2018-09-18 14:04 UTC, Toby Haynes
no flags Details

Description Toby Haynes 2018-09-18 14:04:26 UTC
Version-Release number of selected component:
solaar-0.9.2-7.20180720git59b7285.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 -s /usr/bin/solaar
crash_function: _match
exception_type: TypeError
executable:     /usr/bin/solaar
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.17.19-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            10990

Truncated backtrace:
udev.py:88:_match:TypeError: int() can't convert non-string with explicit base

Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/gi/overrides/GLib.py", line 668, in <lambda>
    func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
  File "/usr/lib/python3.6/site-packages/hidapi/udev.py", line 166, in _process_udev_event
    d_info = _match(action, device, *filter)
  File "/usr/lib/python3.6/site-packages/hidapi/udev.py", line 88, in _match
    if not ((vendor_id is None or vendor_id == int(vid, 16)) and
TypeError: int() can't convert non-string with explicit base

Local variables in innermost frame:
pid: None
vid: None
usb_device: Device('/sys/devices/pci0000:00/0000:00:14.0/usb3/3-6')
hid_driver: 'logitech-djreceiver'
interface_number: 2
product_id: 50475
vendor_id: 1133
device: Device('/sys/devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.0/0003:046D:C01A.006A/hidraw/hidraw0')
action: 'add'

Comment 1 Toby Haynes 2018-09-18 14:04:30 UTC
Created attachment 1484390 [details]
File: backtrace

Comment 2 Toby Haynes 2018-09-18 14:04:31 UTC
Created attachment 1484391 [details]
File: cgroup

Comment 3 Toby Haynes 2018-09-18 14:04:32 UTC
Created attachment 1484392 [details]
File: cpuinfo

Comment 4 Toby Haynes 2018-09-18 14:04:33 UTC
Created attachment 1484393 [details]
File: environ

Comment 5 Toby Haynes 2018-09-18 14:04:34 UTC
Created attachment 1484394 [details]
File: mountinfo

Comment 6 Toby Haynes 2018-09-18 14:04:35 UTC
Created attachment 1484395 [details]
File: namespaces

Comment 7 Toby Haynes 2018-09-18 14:04:36 UTC
Created attachment 1484396 [details]
File: open_fds

Comment 8 Toby Haynes 2018-09-18 14:08:11 UTC
This bug keeps coming up sporadically:

Fedora 21 
https://bugzilla.redhat.com/show_bug.cgi?id=1202928

Fedora 25
https://bugzilla.redhat.com/show_bug.cgi?id=1411140

Adding some protective code around int(vid) to catch a bad conversion should be trivial enough.

Comment 9 Jason Tibbitts 2018-09-19 13:33:41 UTC
Has been open upsteam as https://github.com/pwr/Solaar/issues/396

If you have a proposed patch, please feel free to provide it to upstream or attach it here and I'll forward it.

Comment 10 Ben Cotton 2019-05-02 20:52:44 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

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 28 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 11 Ben Cotton 2019-05-28 22:30:40 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 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.