Bug 1450900

Summary: [abrt] xpra: module(): xpra:3:<module>:ModuleNotFoundError: No module named 'xpra'
Product: [Fedora] Fedora Reporter: Karel Volný <kvolny>
Component: xpraAssignee: Jonathan Underwood <jonathan.underwood>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: anto.trande, colotunbabay2010, jonathan.underwood, sergio, tchollingsworth
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/feef267735cd21e316cf87ed38e388e55757c8fe
Whiteboard: abrt_hash:eb41f212e5dab41fc07580afe8d5f89b60ba41f8;
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-17 04:51:46 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: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

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.