FOF, Linux - LINUX

Help center. Members helping members
Forum rules
This topic is 18 years and 1 month old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
pedrotski
Member
Posts: 6
Joined: December 1st, 2006
Location: Mandurah
Reputation: 0
Contact:

Postby pedrotski » Fri Dec 01, 2006 3:49 am

I cant seem to get this app running in linux. What do i have to do?
pedrotski
Member
Posts: 6
Joined: December 1st, 2006
Location: Mandurah
Reputation: 0
Contact:

Postby pedrotski » Fri Dec 01, 2006 4:22 am

root@pedrotski-linux:/home/pedrotski# '/home/pedrotski/Desktop/FretsOnFire/FretsOnFire.bin'
Traceback (most recent call last):
File "/home/skyostil/src/cx_Freeze-3.0.3/initscripts/Console.py", line 27, in ?
File "src/FretsOnFire.py", line 27, in ?
File "src/GameEngine.py", line 34, in ?
File "src/Data.py", line 25, in ?
File "src/Svg.py", line 39, in ?
File "src/Log.py", line 55, in <lambda>
File "src/Log.py", line 50, in log
LookupError: unknown encoding: iso-8859-1
root@pedrotski-linux:/home/pedrotski#
Ozzi
Member
Posts: 34
Joined: November 24th, 2006
Location: Kangasala / Finland
Reputation: 0
Contact:

Postby Ozzi » Fri Dec 01, 2006 11:38 am

Try start it without .bin

/home/pedrotski/Desktop/FretsOnFire/FretsOnFire
pedrotski
Member
Posts: 6
Joined: December 1st, 2006
Location: Mandurah
Reputation: 0
Contact:

Postby pedrotski » Fri Dec 01, 2006 8:40 pm

That doesn't work. I have tried it heaps.
Hellmark
Member
Posts: 38
Joined: February 11th, 2007
Location: Winfield, MO, USA
Reputation: 0
Contact:

Postby Hellmark » Tue Feb 13, 2007 3:30 am

I had this problem too, I found out that it was because it wants you to execute it from within the directory that frets on fire is at. so cd into the directory that has FoF, and run "FretsOnFire" (no .bin).
3D_geek
Member
Posts: 1
Joined: February 13th, 2007
Reputation: 0

Postby 3D_geek » Tue Feb 13, 2007 3:06 pm

I have the exact same problem - but it doesn't matter which directory I run from. Same set of messages:

Code: Select all

fof/FretsOnFire> ./FretsOnFire
Traceback (most recent call last):
  File "/home/skyostil/src/cx_Freeze-3.0.3/initscripts/Console.py", line 27, in ?
  File "src/FretsOnFire.py", line 27, in ?
  File "src/GameEngine.py", line 34, in ?
  File "src/Data.py", line 25, in ?
  File "src/Svg.py", line 39, in ?
  File "src/Log.py", line 55, in <lambda>
  File "src/Log.py", line 50, in log
LookupError: unknown encoding: iso-8859-1


Furthermore, I tried to download the sources from the FoF homepage with the vague idea of trying to find the problem myself - but the gzipped tarball is actually a gzip of an HTML file of some kind - no sourcecode in sight. The ZIP file comes up with some kind of 404 error in some non-english language that I don't recognise.

Help?!
dOb
Member
Posts: 39
Joined: August 8th, 2006
Location: Finland
Reputation: 0

Postby dOb » Wed Feb 14, 2007 6:05 pm

3D_geek wrote:Furthermore, I tried to download the sources from the FoF homepage with the vague idea of trying to find the problem myself - but the gzipped tarball is actually a gzip of an HTML file of some kind - no sourcecode in sight. The ZIP file comes up with some kind of 404 error in some non-english language that I don't recognise.

Download it from the SourceForge project page.
Frets on Fire game tester
Calamitous
Member
Posts: 1
Joined: February 13th, 2007
Reputation: 0

Postby Calamitous » Thu Feb 15, 2007 7:39 pm

I'm having this exact problem as well (LookupError: unknown encoding: iso-8859-1). I'm running PCLinuxOS (a debian derivative).
User avatar
dmatrix7
Member
Posts: 12
Joined: January 18th, 2007
Reputation: 0

Postby dmatrix7 » Fri Feb 16, 2007 9:30 am

Works great out of the box on my Ubuntu Edgy and Feisty rigs.

Seems like a possible locale problem or possibly a python package is missing.
User avatar
wiggin
Member
Posts: 2
Joined: March 2nd, 2007
Reputation: 0

Postby wiggin » Mon Mar 05, 2007 9:02 am

Hi all,

I have the exact same problem and it seems that there is a lot of missin python packages.

The only thing I found was that in rder to make it..work, Python has to be able to decode unicode types (ISO)

I tried to make default ISO in etc/python/2.x/site.py but it doesn't seem to work neither.. I just feel stuck !

Has anybody found a way to solve this ?
User avatar
wiggin
Member
Posts: 2
Joined: March 2nd, 2007
Reputation: 0

Postby wiggin » Mon Mar 05, 2007 11:01 am

Welle well,

Solved it with another lauching method and after installing python-pygame :

Code: Select all

sh FretsOnFire
Fallen-Angel
Member
Posts: 1
Joined: March 12th, 2007
Reputation: 0

Postby Fallen-Angel » Tue Mar 13, 2007 6:21 pm

Personally i can launch it, but in 90% of the time, when i start a "song"
the screen keep showing "according guitare" and the song never starts :s
But sometimes it does work and i can play.
Do you know this problem ?
i am under linux, i get the binary package from the sourceforge web site.
Maka
Member
Posts: 1
Joined: March 25th, 2007
Location: FInland
Reputation: 0

Postby Maka » Sun Mar 25, 2007 2:38 pm

This is how I solved the "LookupError: unknown encoding: iso-8859-1" problem in Ubuntu Edgy:

Code: Select all

$ locale

gave me

Code: Select all

...
LANGUAGE=fi_FI:fi:en_GB:en
...

Next

Code: Select all

$ export LANGUAGE=fi_FI.ISO-8859-1:fi:en_GB:en

That's it!

So, basically, try "export LANGUAGE=x.ISO-8859-1:y:z", where x,y and z are the values of your environment variable LANGUAGE. Remember to write down the original values to be able to back up, if something goes wrong or if this solution just doesn't work or if this breaks something else.

I found the solution here. There is also some information about the bug. It seems that it's Python's, not FoF's bug.

Be careful when editing the environment variables. I won't be responsible if you suddenly find your linux box speaking zulu! :p
User avatar
bellerophon
Member
Posts: 12
Joined: February 16th, 2007
Reputation: 0

Postby bellerophon » Mon Apr 09, 2007 9:12 am

Hmmm, didn't work for me. :(
One note however: There is no need to be careful, since the exporting of an environment variable using export will not be permanent. This means, after restarting your shell, the values assigned to the variables will be lost.
If you want to keep them permanently, put the export command into your ~/.bashrc, so the value will be assigned any time you start your bash (or any other shell of your personal taste for which there might be another configuration script than the bashrc).

Or, even better, do a non-permanent change which remains permanent for FretsOnFire. Edit FretsOnFire using nano (in the FoF dir: nano FretsOnFire) or vim or somehting else and add the line containing your desired locale:

Code: Select all

#!/bin/sh
export LANGUAGE=de_AT.iso-8859-1:de
export LD_LIBRARY_PATH=$(dirname $0)
exec ./FretsOnFire.bin $@
Last edited by bellerophon on Mon Apr 09, 2007 9:16 am, edited 1 time in total.
Mulletman262
Member
Posts: 1
Joined: November 26th, 2006
Location: Pittsburgh
Reputation: 0

Postby Mulletman262 » Mon Apr 30, 2007 6:21 pm

i used these commands in FedoraCore6 to install the program, yet it still will not install:

cd /home/zandak/Desktop/
tar -zxvf FretsOnFire-1.2.451-linux.tar.gz


./configure
make
make install

Return to “Tech Support”

Who is online

Users browsing this forum: No registered users and 6 guests