Fails to build:
==> ERROR: Missing package() function in /tmp/yaourt-tmp-raziel/aur-fofix/./PKGBUILD
==> ERROR: Makepkg was unable to build fofix
Search Criteria
Package Details: fofix 3.121-6
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2015-06-30)
| Package Base: | fofix |
|---|---|
| Description: | fretsonfire X (FoFiX). Highly improved version of Frets on Fire |
| Upstream URL: | http://code.google.com/p/fofix |
| Category: | games |
| Licenses: | |
| Submitter: | doorknob60 |
| Maintainer: | doorknob60 |
| Last Packager: | None |
| Votes: | 49 |
| First Submitted: | 2010-09-07 22:42 |
| Last Updated: | 2013-11-17 21:24 |
Dependencies (9)
Required by (0)
Sources
- fofix.desktop
- fofix.png
- http://fofix.googlecode.com/files/fofix-3.121.tar.gz
Latest Comments
Comment by RazZziel
Comment by oswald-p
Replacing "import Image" by "from PIL import Image" in video.py file fixes the error allowing to launch fofix.
Songs must be placed in /opt/fofix/data/songs directory with 777 settings (!)
The game is still unplayable as it crashes during sound initialization (I tryed solo>quickplay) returning this error:
"Fatal Python error: (pygame parachute) Floating Point Exception".
according to this : https://code.google.com/p/fofix/issues/detail?id=1278
it is probably due to pyvorbis.
Comment by alucryd
Merging into fofix.
Comment by MCMic
Thanks for looking into it. It seems replacing "import Image" by "from PIL import Image" fixes the error.
Comment by doorknob60
And it looks like as of today, python2-imaging was removed from the official repos, and is now orphaned in AUR, and doesn't build. Hmm, not sure what to do here. Looking at the file list for pillow, it looks like it provides files relating to PIL and Imaging, but Fofix doesn't seem to accept them. I'll see what I can do, but no promises.
Comment by doorknob60
I'm not sure if there's a way to make it work with pillow. Because pillow conflicts and provides python2-imaging, I would probably consider it a bug with the pillow package that it doesn't work with pillow, because it's not properly providing the other package. If anyone finds a way to easily patch fofix to work with pillow, I can switch the dependency over, but I would file a bug report since pillow isn't doing its job at "providing" imaging.
Comment by MCMic
I don't have python2-imaging, I have python2-pillow which provides python2-imaging and is needed by several other packages so I can't switch package :-/
Is there any way to make it work with python2-pillow?
Comment by doorknob60
python2-imaging should contain that module, so I don't know what could be missing. I don't have time to troubleshoot it right now though, and might not until sometime next week.
Comment by MCMic
/usr/bin/fofix is missing a "!" on first line.
It should be "#!/bin/sh"
Even after fix, I get : "ImportError: No module named Image" so I guess there is a dependency missing.
Comment by kdb424
Also note that I force reverted from pillow to pil, so that isn't an issue for me (though that does need fixed eventually)
Comment by kdb424
Having an issue with a crash when song loads. It's numpy on 231 (around there). If you fix it so the game doesn't crash, the audio track doesn't play for guitar. If you don't fix it, it crashes on song load. I had to change to this just to keep it from crashing
...
import numpy
def zeros(size):
return numpy.zeros(size, dtype='h')
...
Anonymous comment
This is a duplicate package (https://aur.archlinux.org/packages/fofix/) and a dependency is missing (python2-numpy).
Comment by doorknob60
Never mind, I think I fixed it :D Pyxml apperantly isn't required anymore, and it seems to work without it. As for python2-imaging, the python2-pillow package is a fork of it, and supposedly provides it. However, when I replace the imaging package with pillow, fofix fails to load. I consider this a bug with python2-pillow, because it does not properly provide the libraries fofix needs, and there's nothing I can do about that.
Comment by doorknob60
I'm not sure if the pyxml package exists anymore. Apperantly, it was old, unmaintained code, and I didn't find any articles about Arch, but I think Fedora dropped it: https://fedoraproject.org/wiki/Features/RemovePyXML . I assume Arch must have done the same. You can try building it without the package, but that will probably fail. Unless they updated the Fofix code to run with a different library, it probably won't build unless someone makes a pyxml package (which I don't have time to mess with).
The problem is, that the Fofix code hasn't been updated in years, and it uses some obscure libraries, so I don't know how easy it will be to get working again.
Comment by blablubb1234
Cannot install this package as "pyxml" is not available anymore :/
Furthermore python2-imaging conflicts with python2-pillow (which is, f.e., needed by calibre). A pity, because I really love Frets on Fire....
Comment by RazZziel
Fails to run:
Traceback (most recent call last):
File "./FoFiX.py", line 108, in <module>
from GameEngine import GameEngine
File "/opt/fofix/src/GameEngine.py", line 38, in <module>
from Video import Video
File "/opt/fofix/src/Video.py", line 28, in <module>
import Image
ImportError: No module named Image
Fixed it with:
yaourt -Rdd python2-pillow
yaourt -S python2-pil
Comment by doorknob60
Whet exactly is wrong with this package right now? It's flagged, but all the dependencies seem to be referring to their proper python2 names, and it seems to work fine on my system as is. I don't have python2-rsvg installed, does it need it?
Comment by nico666
needs to solve python-rsvg to python2-rsvg dependency issue:
https://mailman.archlinux.org/pipermail/arch-dev-public/2012-September/023558.html
Comment by doorknob60
Oh, I've seen that bug plenty of times, and never really found any solutions. I'm pretty sure it's on their bugtracker, go look at that and see if it has any useful information.
Comment by matse
Another addition to my bug: Sometimes the songs really work! But in nine of ten times fofix crashes, what is really annoying.
Comment by matse
I get the following error when I try to play a lot of songs:
Fatal Python error: (pygame parachute) Segmentation Fault
/usr/bin/fofix: Zeile 3: 17540 Abgebrochen python2 ./FoFiX.py
(and the songs worked once under the windows version of fofix).
Using an up to date stable arch, advice is welcome ;)
Comment by doorknob60
It works fine for me with a fully updated [testing] system.
Anonymous comment
i found the solution!... you have to downgrade this packages, blas and lapack to their previous version
Anonymous comment
I have the same trouble.. help!!
Anonymous comment
I get the following error:
[gert@boks ~]$ fofix
Traceback (most recent call last):
File "./FoFiX.py", line 108, in <module>
from GameEngine import GameEngine
File "/opt/fofix/src/GameEngine.py", line 32, in <module>
from numpy import array, float32
File "/usr/lib/python2.7/site-packages/numpy/__init__.py", line 136, in <module>
import add_newdocs
File "/usr/lib/python2.7/site-packages/numpy/add_newdocs.py", line 9, in <module>
from numpy.lib import add_newdoc
File "/usr/lib/python2.7/site-packages/numpy/lib/__init__.py", line 13, in <module>
from polynomial import *
File "/usr/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 11, in <module>
import numpy.core.numeric as NX
AttributeError: 'module' object has no attribute 'core'