• Register

This member has provided no bio about themself...

Comment History
RazZziel
RazZziel - - 2 comments @ The Body Changer

Hi, thanks for the follow up! I'm no pro at all :) just found an specific problem with the game on my system.

In my previous comment I pasted a log of the actual error (http://pastebin.com/raw.php?i=tf6ki9E5)

> SystemError: W:Unable to read /etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory), W:Unable to read /etc/apt/sources.list - RealFileExists (2: No such file or directory), E:Could not open file /var/lib/dpkg/status - open (2: No such file or directory), E:The package lists or status file could not be parsed or opened.

In short, apt_pkg.so complains that the /etc/apt/sources.list.d/, /etc/apt/sources.list and /var/lib/dpkg/status paths don't exist, and the game seems to abort.

These paths only exist on Debian-based distros (Debian, Ubuntu, Mint, etc, anything with apt-get), so any other distro (ArchLinux in my case, Fedora, OpenSuse, etc) won't have those paths, so the game will probably fail there as well. It's cool that the game checks to install its own dependencies, but a) it should be done only if the distro supports it, and ignore (instead of aborting) otherwise! and b) I think it would actually be better to pack all dependencies with the game (which is what I try to do at portablelinuxgames.org)

Which dependencies are you trying to install with apt_pkg? Maybe it just lacks an try/catch.

If you want to discuss further, please contact me at tux~AT~portablelinuxgames.org :) I'm also very interested to know how you pack Python apps in a portable way

Good karma+1 vote
RazZziel
RazZziel - - 2 comments @ The Body Changer

Looks like it will fail to run eerywhere except Debian-based distros...

Pastebin.com

Good karma+1 vote