PlayonLinux error : IOError: [Errno 21] Is a directory:
Linux - GamesThis forum is for all discussion relating to gaming in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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'
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.
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
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
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.
@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.
@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
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.
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.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
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.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.