Bug 1450900 - [abrt] xpra: module(): xpra:3:<module>:ModuleNotFoundError: No module named 'xpra'
Summary: [abrt] xpra: module(): xpra:3:<module>:ModuleNotFoundError: No module named '...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xpra
Version: 26
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jonathan Underwood
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:eb41f212e5dab41fc07580afe8d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-15 11:25 UTC by Karel Volný
Modified: 2017-07-18 17:23 UTC (History)
5 users (show)

Fixed In Version: xpra-2.0.3-1.fc26 xpra-2.0.3-1.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-17 04:51:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (533 bytes, text/plain)
2017-05-15 11:25 UTC, Karel Volný
no flags Details
File: cgroup (289 bytes, text/plain)
2017-05-15 11:25 UTC, Karel Volný
no flags Details
File: cpuinfo (1.27 KB, text/plain)
2017-05-15 11:25 UTC, Karel Volný
no flags Details
File: environ (3.27 KB, text/plain)
2017-05-15 11:25 UTC, Karel Volný
no flags Details
File: mountinfo (3.13 KB, text/plain)
2017-05-15 11:25 UTC, Karel Volný
no flags Details
File: namespaces (102 bytes, text/plain)
2017-05-15 11:25 UTC, Karel Volný
no flags Details
File: open_fds (236 bytes, text/plain)
2017-05-15 11:25 UTC, Karel Volný
no flags Details

Description Karel Volný 2017-05-15 11:25:41 UTC
Version-Release number of selected component:
xpra-2.0.2-1.fc26

Additional info:
reporter:       libreport-2.9.1
cmdline:        python3 /usr/bin/xpra _sound_query
crash_function: module
exception_type: ModuleNotFoundError
executable:     /usr/bin/xpra
kernel:         4.11.0-2.fc26.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
xpra:3:<module>:ModuleNotFoundError: No module named 'xpra'

Traceback (most recent call last):
  File "/usr/bin/xpra", line 3, in <module>
    from xpra.platform import init, set_default_name
ModuleNotFoundError: No module named 'xpra'

Local variables in innermost frame:
__name__: '__main__'
__doc__: None
__package__: None
__loader__: <_frozen_importlib_external.SourceFileLoader object at 0x7fa81b780b38>
__spec__: None
__annotations__: {}
__builtins__: <module 'builtins' (built-in)>
__file__: '/usr/bin/xpra'
__cached__: None

Comment 1 Karel Volný 2017-05-15 11:25:48 UTC
Created attachment 1278922 [details]
File: backtrace

Comment 2 Karel Volný 2017-05-15 11:25:49 UTC
Created attachment 1278923 [details]
File: cgroup

Comment 3 Karel Volný 2017-05-15 11:25:51 UTC
Created attachment 1278924 [details]
File: cpuinfo

Comment 4 Karel Volný 2017-05-15 11:25:52 UTC
Created attachment 1278925 [details]
File: environ

Comment 5 Karel Volný 2017-05-15 11:25:54 UTC
Created attachment 1278926 [details]
File: mountinfo

Comment 6 Karel Volný 2017-05-15 11:25:56 UTC
Created attachment 1278927 [details]
File: namespaces

Comment 7 Karel Volný 2017-05-15 11:25:57 UTC
Created attachment 1278928 [details]
File: open_fds

Comment 8 Antonio T. (sagitter) 2017-05-15 16:24:44 UTC
(In reply to Karel Volný from comment #0)
> Version-Release number of selected component:
> xpra-2.0.2-1.fc26
> 
> Additional info:
> reporter:       libreport-2.9.1
> cmdline:        python3 /usr/bin/xpra _sound_query
> crash_function: module
> exception_type: ModuleNotFoundError
> executable:     /usr/bin/xpra
> kernel:         4.11.0-2.fc26.x86_64
> runlevel:       N 5
> type:           Python3
> uid:            1000
> 
> Truncated backtrace:
> xpra:3:<module>:ModuleNotFoundError: No module named 'xpra'
> 
> Traceback (most recent call last):
>   File "/usr/bin/xpra", line 3, in <module>
>     from xpra.platform import init, set_default_name
> ModuleNotFoundError: No module named 'xpra'
> 
> Local variables in innermost frame:
> __name__: '__main__'
> __doc__: None
> __package__: None
> __loader__: <_frozen_importlib_external.SourceFileLoader object at
> 0x7fa81b780b38>
> __spec__: None
> __annotations__: {}
> __builtins__: <module 'builtins' (built-in)>
> __file__: '/usr/bin/xpra'
> __cached__: None

'xpra' uses Python2.

Try with:

$ /usr/bin/python2 /usr/bin/xpra _sound_query

Comment 9 Karel Volný 2017-05-22 07:39:48 UTC
something else is broken then ... I'm not running python3 explicitly, just 'xpra'

$ cat /usr/bin/xpra
#!/usr/bin/python2

from xpra.platform import init, set_default_name
...

^ shebang looks okay, so it should be run using python2, I don't see how this could be user error ("notabug"), I've never ever run 'python3 /usr/bin/xpra _sound_query' manually

Comment 10 Fedora Update System 2017-07-08 10:19:57 UTC
xpra-2.0.3-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-1c032789ac

Comment 11 Fedora Update System 2017-07-08 23:49:43 UTC
xpra-2.0.3-1.fc25 has been pushed to the Fedora 25 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-2017-c8fbbbdb97

Comment 12 Fedora Update System 2017-07-09 02:54:12 UTC
xpra-2.0.3-1.fc26 has been pushed to the Fedora 26 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-2017-1c032789ac

Comment 13 Fedora Update System 2017-07-17 04:51:46 UTC
xpra-2.0.3-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2017-07-17 09:20:13 UTC
xpra-2.0.3-1.fc25 has been pushed to the Fedora 25 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.