Frets on Fire Score Chart - Personal Frets on Fire Score Chart
This topic is 17 years and 10 months old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
Now I get this, hehe
Code: Select all
Traceback (most recent call last):
File "F:\Spel\FretsOnFire-1.1.324-win32\FretsOnFire\buildDatabase.py", line 17
0, in <module>
main()
File "F:\Spel\FretsOnFire-1.1.324-win32\FretsOnFire\buildDatabase.py", line 16
5, in main
importSongs(os.path.abspath("."))
File "F:\Spel\FretsOnFire-1.1.324-win32\FretsOnFire\buildDatabase.py", line 50
, in importSongs
if not hash == "":
UnboundLocalError: local variable 'hash' referenced before assignment
-
- Member
- Posts: 136
- Joined: August 14th, 2006
- Location: USA
- Reputation: 0
- Contact:
-
- Member
- Posts: 486
- Joined: September 22nd, 2006
- Location: Uppsala, Sweden
- Reputation: 0
- Contact:
m0nkiii wrote:Now I get this, heheCode: Select all
Traceback (most recent call last):
File "F:\Spel\FretsOnFire-1.1.324-win32\FretsOnFire\buildDatabase.py", line 17
0, in <module>
main()
File "F:\Spel\FretsOnFire-1.1.324-win32\FretsOnFire\buildDatabase.py", line 16
5, in main
importSongs(os.path.abspath("."))
File "F:\Spel\FretsOnFire-1.1.324-win32\FretsOnFire\buildDatabase.py", line 50
, in importSongs
if not hash == "":
UnboundLocalError: local variable 'hash' referenced before assignment
I seem to remember something like that, but I can't find any change I made that would have fixed it... This is my (pretty ugly) version of it, it scans folders too, but only if they start with a '='
Charts (Down as of November 25th)
Line 17 is in the initial comment... did you put in a character by a mistake ?
not sure if python would like that... but that probably isn't it

Last edited by sneftrup on Wed Mar 07, 2007 4:02 pm, edited 1 time in total.
Ok, I added a bit of error handling to the script, probably should have done that from the start, but it was just meant as a project for myself
Anyway, www.sneftrup.net/buildDatabase.py if you want it, maybe that can solve your problem. I'm not going to post anything to sourceforge until it reads scores and subfolders.

Woohoo!!!
I've made it
Spanks for the help
http://m0nkiii.apakossa.org/index.php?action=frets
Don't you also like pink
I've made it

Spanks for the help

http://m0nkiii.apakossa.org/index.php?action=frets
Don't you also like pink

Return to “FOF Mod Discussion and Support”
Who is online
Users browsing this forum: Google [Bot] and 5 guests