vineyard-launcher fails with usr/lib/python.. complaints

Asked by AntohnyH

Hi first let me say vineyard looks very promising, thanks for your work so far.

I have wine installed after PlayOnLinux so there may be a conflict but I'm not sure.

I'm running Mint 17.3 which is 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

When I run vineyeard-launcher in the terminal I get the following:
> vineyard-launcher
Traceback (most recent call last):
  File "/usr/bin/vineyard-launcher", line 48, in <module>
    import wine, vineyard
  File "/usr/lib/python2.7/dist-packages/wine/__init__.py", line 63, in <module>
    prefixes.use(None) # Same as using ~/.wine actually
  File "/usr/lib/python2.7/dist-packages/wine/prefixes.py", line 435, in use
    prefix_data = get_metadata_from_name_or_prefix(prefix_name_or_path)
  File "/usr/lib/python2.7/dist-packages/wine/prefixes.py", line 425, in get_metadata_from_name_or_prefix
    prefix_data = get_metadata_from_name(prefix_name_or_path)
  File "/usr/lib/python2.7/dist-packages/wine/prefixes.py", line 395, in get_metadata_from_name
    return get_metadata(os.path.expanduser('~/.wine'))
  File "/usr/lib/python2.7/dist-packages/wine/prefixes.py", line 164, in get_metadata
    info_default = get_default_metadata()
  File "/usr/lib/python2.7/dist-packages/wine/prefixes.py", line 129, in get_default_metadata
    _set('WINESERVER', common.ENV_BASE['WINESERVER'])
KeyError: 'WINESERVER'

Is there something I can do?

Thanks, Anthony

Question information

Language:
English Edit question
Status:
Solved
For:
Vineyard Edit question
Assignee:
No assignee Edit question
Solved by:
Christian Dannie Storgaard
Solved:
Last query:
Last reply:
Revision history for this message
Best Christian Dannie Storgaard (cybolic) said :
#1

That's my fault, sorry! Due to some reason changes Vineyard assumes the environment variables WINE, WINESERVER and WINELOADER are set and fails if they aren't. Thanks to you, I've fixed it now and the PPA will auto-update shortly with a fixed version. If you're eager to get running, you can start Vineyard like this from a terminal:

WINE=/usr/bin/wine WINESERVER=/usr/bin/wineserver WINELOADER=/usr/bin/wine vineyard-preferences

Revision history for this message
AntohnyH (anthonyh-f) said :
#2

Thanks Christian Dannie Storgaard, that solved my question.