Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xf86-video-qxl
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • driver
  • xf86-video-qxl
  • Issues
  • #8

Closed
Open
Created May 30, 2019 by Matthew Trescott@mtrescott

[Xspice] --xsession option broken with Python 3

When using a command like Xspice --port 5900 --xsession /usr/bin/xterm :3, Xspice starts up and then crashes shortly after when attempting to start xterm with the following error:

Traceback (most recent call last):
  File "/usr/bin/Xspice", line 358, in <module>
    os.spawnlpe(os.P_NOWAIT, args.xsession, environ)
  File "/usr/lib64/python3.6/os.py", line 961, in spawnlpe
    return spawnvpe(mode, file, args, env, execvpe)
  File "/usr/lib64/python3.6/os.py", line 905, in spawnvpe
    return _spawnvef(mode, file, args, env, execvpe)
  File "/usr/lib64/python3.6/os.py", line 840, in _spawnvef
    raise ValueError('argv first element cannot be empty')
ValueError: argv first element cannot be empty

This is on RHEL 8, which uses the Xspice script from current git master. Switching the shebang to use Python 2 fixes the problem but I don't know enough Python to fix it myself.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking