Bug 1901488

Summary: [abrt] rtlsdr-scanner: module(): spectrum.py:29:<module>:ImportError: cannot import name 'seconds' from 'matplotlib.dates' (/usr/lib64/python3.9/site-packages/matplotlib/dates.py)
Product: [Fedora] Fedora Reporter: Kevin <bug.on.kev1864>
Component: rtlsdr-scannerAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: aaron, dgilmore, jskarvad, koen.schram, rfe.gen, ScottDWebster
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/82468c84b9b92a94f7c6c363d75d3b5203bc44b5
Whiteboard: abrt_hash:4c5d35af9e679ca8d409280c07d757c2a4415091;VARIANT_ID=cinnamon;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-05 21:00:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Kevin 2020-11-25 12:02:52 UTC
Description of problem:
$ /usr/bin/python3 /usr/bin/rtlsdr_scan
Traceback (most recent call last):
  File "/usr/bin/rtlsdr_scan", line 48, in <module>
    from rtlsdr_scanner.cli import Cli
  File "/usr/lib/python3.9/site-packages/rtlsdr_scanner/cli.py", line 38, in <module>
    from rtlsdr_scanner.file import save_plot, export_plot, ScanInfo, File
  File "/usr/lib/python3.9/site-packages/rtlsdr_scanner/file.py", line 46, in <module>
    from rtlsdr_scanner.spectrum import create_mesh, sort_spectrum
  File "/usr/lib/python3.9/site-packages/rtlsdr_scanner/spectrum.py", line 29, in <module>
    from matplotlib.dates import seconds
ImportError: cannot import name 'seconds' from 'matplotlib.dates' (/usr/lib64/python3.9/site-packages/matplotlib/dates.py)

Version-Release number of selected component:
rtlsdr-scanner-1.3.2-8.fc33

Additional info:
reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
cmdline:        /usr/bin/python3 /usr/bin/rtlsdr_scan
crash_function: module
exception_type: ImportError
executable:     /usr/bin/rtlsdr_scan
interpreter:    python3-3.9.0-1.fc33.x86_64
kernel:         5.9.9-200.fc33.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
#1 [/usr/lib/python3.9/site-packages/rtlsdr_scanner/spectrum.py:29] <module>
#2 [/usr/lib/python3.9/site-packages/rtlsdr_scanner/file.py:46] <module>
#3 [/usr/lib/python3.9/site-packages/rtlsdr_scanner/cli.py:38] <module>
#4 [/usr/bin/rtlsdr_scan:48] <module>

Comment 1 Kevin 2020-11-25 12:02:57 UTC
Created attachment 1733315 [details]
File: backtrace

Comment 2 Kevin 2020-11-25 12:02:59 UTC
Created attachment 1733316 [details]
File: cpuinfo

Comment 3 Kevin 2020-11-25 12:03:00 UTC
Created attachment 1733317 [details]
File: environ

Comment 4 Kevin 2020-11-25 12:03:02 UTC
Created attachment 1733318 [details]
File: mountinfo

Comment 5 Kevin 2020-11-25 12:03:04 UTC
Created attachment 1733319 [details]
File: namespaces

Comment 6 Kevin 2020-11-25 12:03:06 UTC
Created attachment 1733320 [details]
File: open_fds

Comment 7 ScottDWebster 2021-03-01 23:55:44 UTC
CC: ScottDWebster

Comment 8 rfge 2021-05-02 12:38:27 UTC
I see the same issue on 
 Linux localhost.localdomain 5.11.17-200.fc33.x86_64 #1 SMP Wed Apr 28 17:34:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

with
 rtlsdr-scanner.noarch 1.3.2-8.fc33 @fedora    

$ /usr/bin/rtlsdr_scan
Traceback (most recent call last):
  File "/usr/bin/rtlsdr_scan", line 48, in <module>
    from rtlsdr_scanner.cli import Cli
  File "/usr/lib/python3.9/site-packages/rtlsdr_scanner/cli.py", line 38, in <module>
    from rtlsdr_scanner.file import save_plot, export_plot, ScanInfo, File
  File "/usr/lib/python3.9/site-packages/rtlsdr_scanner/file.py", line 46, in <module>
    from rtlsdr_scanner.spectrum import create_mesh, sort_spectrum
  File "/usr/lib/python3.9/site-packages/rtlsdr_scanner/spectrum.py", line 29, in <module>
    from matplotlib.dates import seconds
ImportError: cannot import name 'seconds' from 'matplotlib.dates' (/usr/lib64/python3.9/site-packages/matplotlib/dates.py)

Need more info?

Comment 9 Aaron Sowry 2021-07-25 20:38:56 UTC
Bug still present in fc34.

Comment 10 Ben Cotton 2021-11-04 13:49:41 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
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 '33'.

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 33 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 2021-11-04 14:19:03 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
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 '33'.

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 33 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 12 Ben Cotton 2021-11-04 15:16:50 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
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 '33'.

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 33 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 13 Ben Cotton 2021-11-30 19:02:26 UTC
Fedora 33 changed to end-of-life (EOL) status on 2021-11-30. Fedora 33 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.

Comment 14 Dennis Gilmore 2022-11-07 18:57:01 UTC
this still exists in Fedora 37
rtlsdr-scanner-1.3.2-14.fc37.noarch
[root@haikon ~]# /usr/bin/rtlsdr_scan
Traceback (most recent call last):
  File "/usr/bin/rtlsdr_scan", line 48, in <module>
    from rtlsdr_scanner.cli import Cli
  File "/usr/lib/python3.11/site-packages/rtlsdr_scanner/cli.py", line 38, in <module>
    from rtlsdr_scanner.file import save_plot, export_plot, ScanInfo, File
  File "/usr/lib/python3.11/site-packages/rtlsdr_scanner/file.py", line 46, in <module>
    from rtlsdr_scanner.spectrum import create_mesh, sort_spectrum
  File "/usr/lib/python3.11/site-packages/rtlsdr_scanner/spectrum.py", line 29, in <module>
    from matplotlib.dates import seconds
ImportError: cannot import name 'seconds' from 'matplotlib.dates' (/usr/lib64/python3.11/site-packages/matplotlib/dates.py)


I tried on AArch64 hardware

Comment 15 Aoife Moloney 2023-11-23 00:04:12 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
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
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 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 Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 16 Aoife Moloney 2023-12-05 21:00:16 UTC
Fedora Linux 37 entered end-of-life (EOL) status on None.

Fedora Linux 37 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 Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

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