Bug 1758042 - [abrt] video-downloader: _set_X_scaling(): platform.py:74:_set_X_scaling:ValueError: invalid literal for int() with base 10: '93.119140625'
Summary: [abrt] video-downloader: _set_X_scaling(): platform.py:74:_set_X_scaling:Valu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: video-downloader
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Artem
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:0768b7902cb544542bfff20caeb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-03 05:44 UTC by yuriy
Modified: 2020-01-15 00:14 UTC (History)
1 user (show)

Fixed In Version: video-downloader-0.2.1-2.fc31 video-downloader-0.2.1-2.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-10 02:09:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.31 KB, text/plain)
2019-10-03 05:44 UTC, yuriy
no flags Details
File: cgroup (341 bytes, text/plain)
2019-10-03 05:44 UTC, yuriy
no flags Details
File: cpuinfo (1.47 KB, text/plain)
2019-10-03 05:44 UTC, yuriy
no flags Details
File: environ (4.39 KB, text/plain)
2019-10-03 05:44 UTC, yuriy
no flags Details
File: mountinfo (4.03 KB, text/plain)
2019-10-03 05:45 UTC, yuriy
no flags Details
File: namespaces (129 bytes, text/plain)
2019-10-03 05:45 UTC, yuriy
no flags Details
File: open_fds (1.24 KB, text/plain)
2019-10-03 05:45 UTC, yuriy
no flags Details

Description yuriy 2019-10-03 05:44:52 UTC
Description of problem:
I installed this app videodownloader using terminal, then started it up, but it crashed. 

Version-Release number of selected component:
video-downloader-0.1.5-6.fc30

Additional info:
reporter:       libreport-2.10.1
cmdline:        /usr/bin/python3 /usr/bin/video-downloader
crash_function: _set_X_scaling
exception_type: ValueError
executable:     /usr/bin/video-downloader
interpreter:    python3-3.7.4-1.fc30.x86_64
kernel:         5.2.17-200.fc30.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
platform.py:74:_set_X_scaling:ValueError: invalid literal for int() with base 10: '93.119140625'

Traceback (most recent call last):
  File "/usr/bin/video-downloader", line 34, in <module>
    main.main(VERSION)
  File "/usr/share/video-downloader/video_downloader/main.py", line 140, in main
    app = App()
  File "/usr/share/video-downloader/video_downloader/main.py", line 51, in __init__
    BaseWindowMixin.__init__(self, Platform(self, [f1, f2]))
  File "/usr/share/video-downloader/video_downloader/platform.py", line 36, in __init__
    self._set_X_scaling()
  File "/usr/share/video-downloader/video_downloader/platform.py", line 74, in _set_X_scaling
    xdpi = int(rdb.get("Xft.dpi", "Xft.dpi", BASE_DPI))
ValueError: invalid literal for int() with base 10: '93.119140625'

Local variables in innermost frame:
self: <video_downloader.platform.Platform object at 0x7f983f5c1310>
Xlib: <module 'Xlib' from '/usr/lib/python3.7/site-packages/Xlib/__init__.py'>
Xatom: <module 'Xlib.Xatom' from '/usr/lib/python3.7/site-packages/Xlib/Xatom.py'>
Xutil: <module 'Xlib.Xutil' from '/usr/lib/python3.7/site-packages/Xlib/Xutil.py'>
rdbstring: 'Xft.dpi:\t93.119140625\nXft.hinting:\t1\nXft.hintstyle:\thintfull\nXft.antialias:\t1\nXft.rgba:\trgb\nXcursor.size:\t24\nXcursor.theme:\tYaru\n'
rdb: <Xlib.rdb.ResourceDB object at 0x7f983e98b210>

Comment 1 yuriy 2019-10-03 05:44:55 UTC
Created attachment 1622180 [details]
File: backtrace

Comment 2 yuriy 2019-10-03 05:44:56 UTC
Created attachment 1622181 [details]
File: cgroup

Comment 3 yuriy 2019-10-03 05:44:58 UTC
Created attachment 1622182 [details]
File: cpuinfo

Comment 4 yuriy 2019-10-03 05:44:59 UTC
Created attachment 1622183 [details]
File: environ

Comment 5 yuriy 2019-10-03 05:45:01 UTC
Created attachment 1622184 [details]
File: mountinfo

Comment 6 yuriy 2019-10-03 05:45:02 UTC
Created attachment 1622185 [details]
File: namespaces

Comment 7 yuriy 2019-10-03 05:45:03 UTC
Created attachment 1622186 [details]
File: open_fds

Comment 8 Fedora Update System 2020-01-05 07:14:31 UTC
FEDORA-2020-684a3e32ff has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-684a3e32ff

Comment 9 Fedora Update System 2020-01-05 07:14:46 UTC
FEDORA-2020-bd270a82de has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-bd270a82de

Comment 10 Artem 2020-01-05 07:16:12 UTC
Hello. Please try new version. Upstream switched to GTK.

Comment 11 Fedora Update System 2020-01-06 00:48:25 UTC
video-downloader-0.2.1-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-bd270a82de

Comment 12 Fedora Update System 2020-01-06 01:19:14 UTC
video-downloader-0.2.1-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-684a3e32ff

Comment 13 Fedora Update System 2020-01-10 02:09:40 UTC
video-downloader-0.2.1-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2020-01-15 00:14:19 UTC
video-downloader-0.2.1-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.