Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wine-doors isn't using the correct Python interpreter
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
mqduck
n00b
n00b


Joined: 04 Apr 2006
Posts: 59

PostPosted: Sun Aug 10, 2014 1:00 am    Post subject: wine-doors isn't using the correct Python interpreter Reply with quote

wine-doors is written in Python 2 but isn't using it.

Code:
$ wine-doors
  File "/usr/bin/wine-doors", line 54
    print "Usage: " + name + " <command> <argument>"
                  ^
SyntaxError: invalid syntax


Might this be a problem with the way my system is set up or should I file a bug report?
_________________
Property is theft.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Sun Aug 10, 2014 1:58 am    Post subject: Reply with quote

Try
Code:
PYTHON_SINGLE_TARGET="python2_7" emerge -av wine-doors
or
Code:
eselect python list
eselect python set python2.7
emerge -av wine-doors
In the latter option, if python3.3 was set, it might be well to set it again, after the emerge. Note that the wine-doors ebuild does not specify a python version.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
mqduck
n00b
n00b


Joined: 04 Apr 2006
Posts: 59

PostPosted: Sun Aug 10, 2014 3:16 am    Post subject: Reply with quote

I just edited the first line of /usr/bin/wine-doors to specify python2. Seems strange to me that I would need to though.
_________________
Property is theft.
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2273
Location: Bardowick, Germany

PostPosted: Mon Aug 11, 2014 9:16 am    Post subject: Reply with quote

wine-doors is deprecated and abandoned for years. Use app-emulation/winetricks instead. I have a live ebuild in my overlay (layman -a seden) that'll keep you up-to-date, although the "fixed version" in the portage tree should be doing alright.

(If you check, http://www.wine-doors.org is down and gone)
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum