LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 06-08-2018, 02:45 AM   #1
TheMilkMan-Man
Member
 
Registered: Jun 2018
Posts: 46

Rep: Reputation: Disabled
PlayonLinux error : IOError: [Errno 21] Is a directory:


Back with another question guys. So when I go to start up PlayonLinux everything goes smoothly. It launches the program, but when I go to install a game, i get this error:

Traceback (most recent call last):
File "/usr/share/playonlinux/python/install.py", line 605, in AddApps
self.apps = codecs.open(Variables.playonlinux_rep+"/configurations/listes/1",'r',"utf-8")
File "/usr/lib/python2.7/codecs.py", line 898, in open
file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 21] Is a directory: '/home/Milkman/.PlayOnLinux//configurations/listes/1'

..Any ideas on how to solve this?
 
Old 06-08-2018, 07:42 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I don't know where it sets the variable filename, that detail isn't shown, but it feels that it is a directory and then goes on to cite what it was told, /home/Milkman/.PlayOnLinux/configurations/listes/1 (where listes seems to be misspelled, unless this is not an English system)

Is that something you've set up? At least check that location and see whether or not '1' is a file or directory.

If that is all stuff set up by this program or install, then you're likely going to have to ask the inventor/maintainer of this PlayOnLinux. Or you'll have to read their python scripts enough to be able to figure out their intentions when they coded that line. Likely if there is one coding problem, there may be many, just a precautionary note there. More likely is that there's some environment or preparation needed prior to install that is not set up ideally and this is why you've run into the failure.
 
Old 06-08-2018, 06:54 PM   #3
_roman_
Member
 
Registered: Dec 2017
Location: _Austro_Bavaria_
Distribution: gentoo / linux mint
Posts: 433

Rep: Reputation: 29
You have the file.

use an editor, open it, read it and analyse.
And you have your box.

I value a proper toolchain and environment which gentoo ships.

I suspect a newbie distro, or misconfigured system.

You should also check what the author used as reference for his scripts
 
Old 06-08-2018, 08:05 PM   #4
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: Pop!_OS
Posts: 945

Rep: Reputation: 297Reputation: 297Reputation: 297
Based on this thread https://www.linuxquestions.org/quest...ed-4175631486/ I believe the OP is using Kali. If true, and you want to use Wine and other gaming you should use a distribution more tailored to newcomers to Linux. Mint would be a good choice, there are others as well
 
1 members found this post helpful.
Old 06-09-2018, 06:20 AM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Now I've seen everything: Kali for gaming!
 
Old 06-09-2018, 11:26 AM   #6
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
If you where using this on Kali, I'd suggest you try it on Linux Mint or similar and see if you have the same issue.
 
Old 06-09-2018, 11:29 AM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by jsbjsb001 View Post
If you where using this on Kali, I'd suggest you try it on Linux Mint or similar and see if you have the same issue.
The OP is now using Ubuntu.

https://www.linuxquestions.org/quest...6/#post5865429
 
Old 06-09-2018, 11:31 AM   #8
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Hi TheMilkMan-Man ..

I have also had trouble getting PlayOnLinux installed, configured properly and working. In my case, it was on Mint, so perhaps the "finickiness" of this particular program is cross-distro.

I was trying it due to its ability to easily manage multiple versions of Wine, but have gone back to using Wine itself without the PlayOnLinux front-end ( .. which is what it seems to be, in my opinion ...). Perhaps you could try that avenue.

Cheers.
 
1 members found this post helpful.
Old 06-09-2018, 11:33 AM   #9
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by hydrurga View Post
Yeah I forgot about that

TheMilkMan-Man,

I just had a look at it's website and it doesn't seem well supported anymore. It might be better to use Wine directly or the Steam client instead.
 
Old 06-09-2018, 11:40 AM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
@OP: On your Ubuntu system, can you please tell us which game it is you are trying to install through PlayOnLinux, and what the error message is now if it is any different than it was in your first post. Many thanks.
 
Old 06-09-2018, 11:58 AM   #11
TheMilkMan-Man
Member
 
Registered: Jun 2018
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
@OP: On your Ubuntu system, can you please tell us which game it is you are trying to install through PlayOnLinux, and what the error message is now if it is any different than it was in your first post. Many thanks.
Yes, sorry about the lack of information I've provided. I guess it's mainly because I don't know exactly what to post.

So I'm trying to install the Battle.net program to run WoW. When I click on it in PlayOnLinux, I get this output in my command line:

[POL_Wine] Message: Wine return: 0
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org

I went to the website and downloaded the font package, tried using the make command to install it and get this output:

cd builds/unix; \
./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/milkman/Desktop/freetype-2.9.1/builds/unix':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
builds/unix/detect.mk:85: recipe for target 'setup' failed
make: *** [setup] Error 1
 
Old 06-09-2018, 12:01 PM   #12
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
I should have asked, which version of Ubuntu are you using, and where did you get the version of PlayonLinux that you installed (from the repo or from somewhere else)?

As for Freetype, it's probably best not to be compiling external software until you're a bit more comfortable with Linux, imo anyway.
 
Old 06-09-2018, 12:05 PM   #13
TheMilkMan-Man
Member
 
Registered: Jun 2018
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
I should have asked, which version of Ubuntu are you using, and where did you get the version of PlayonLinux that you installed (from the repo or from somewhere else)?

As for Freetype, it's probably best not to be compiling external software until you're a bit more comfortable with Linux, imo anyway.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic

And I downloaded PlayOnLinux from the repo

As far as the Freetype is concerned, I'm just trying to read and follow along with installing...as you can see it's not going to well lol

Last edited by TheMilkMan-Man; 06-09-2018 at 12:06 PM.
 
Old 06-09-2018, 12:15 PM   #14
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Do you know if you have the gcc package installed?

(I'm not a *buntu user, so I don't know if that's the correct name for that package or exactly which, I assume apt-get command it is that you need to use.)
 
Old 06-09-2018, 12:18 PM   #15
TheMilkMan-Man
Member
 
Registered: Jun 2018
Posts: 46

Original Poster
Rep: Reputation: Disabled
I didn't before, now I've installed gcc through the sudo apt-get install gcc
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IOError: [Errno 2] No such file or directory: '/var/cache/alps/scripts/hplip.sh' christophe60_fr AryaLinux 2 05-25-2016 03:24 AM
[SOLVED] IOError: [Errno 2] No such file or directory: '/var/cache/alps/scripts/xf86-video-mach64.sh' christophe60_fr AryaLinux 3 05-23-2016 03:15 AM
[SOLVED] Python error IOError: [Errno 24] Too many open files noodow715 Programming 4 05-17-2015 08:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 05:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration