Welcome, Guest. Please Login or Register.
Sep 10th, 2010, 12:11am
News: RE3 beta is released, go download it!
Home Help Search Login Register


Pages: 1
Send Topic Print
Backup database on mac? (Read 669 times)
brendanrtw
YaBB Newbies
*




Posts: 12
Backup database on mac?
Jan 26th, 2010, 8:50am
 
I'd like to reinstall RE on my mac, but can't find any .xml backup files in the RE folder (or anywhere else).
 
Does the mac version save them same as windows version?
 
Thanks
Back to top
 
 
Email   IP Logged
pyttroll
YaBB Newbies
*




Posts: 6
Re: Backup database on mac?
Reply #1 - Jan 26th, 2010, 6:07pm
 
Check my post here: http://www.mixshare.com/cgi-bin/yabb2/YaBB.pl?num=1258598261/1#1
You'll find the xml database in the same location as the config files.
 
Pyt
Back to top
 
 
  IP Logged
brendanrtw
YaBB Newbies
*




Posts: 12
Re: Backup database on mac?
Reply #2 - Jan 26th, 2010, 6:20pm
 
Got it ... thanks!
 
(I was looking in the wrong library folder ... should have read the post closer)
Back to top
 
 
Email   IP Logged
brendanrtw
YaBB Newbies
*




Posts: 12
Re: Backup database on mac?
Reply #3 - Feb 8th, 2010, 9:01am
 
might sound a bit crazy, but I can't seem to find the DB file anymore. I reinstalled to change the memory setting, but now each time I add songs, they are lost when I restart RE.
 
The only files in /Users/{username}/Library/Application Support/Rapid Evolution 2 are the album covers folder, lookfeel.cfg & skin.dat
 
Is there a way to check in RE where the DB is pointing?
 
 
Back to top
 
 
Email   IP Logged
dirtyscience
YaBB Newbies
*




Posts: 5
Re: Backup database on mac?
Reply #4 - Feb 8th, 2010, 5:31pm
 
I'm actually having the exact same problem.  Any help would be appreciated
Back to top
 
 
  IP Logged
Qualia
YaBB Administrator
*****


without music, life
would be a mistake

Posts: 3718
Re: Backup database on mac?
Reply #5 - Feb 17th, 2010, 12:02pm
 
the location of music_database.xml on the mac should be in:
 
/Users/<username>/Library/Application Support/Rapid Evolution 2  
 
if you don't see the file there, or your added songs don't persist between sessions, then re2 is unable to write to this location.
 
perhaps during install the folder permissions were not setup so that it could write properly here?  in my re3 testing i had to make a fix to the install to avoid this problem, but i hadn't gone back and tested re2 again.  if you can try granting write permissions on this folder it might help... otherwise, i could create a new install JAR file for mac which could be used to see if that resolves this problem (if you want to try this please email me and i'll create it for you)
Back to top
 
 
Email WWW 2465335   IP Logged
dirtyscience
YaBB Newbies
*




Posts: 5
Re: Backup database on mac?
Reply #6 - Feb 17th, 2010, 12:55pm
 
Thank you for your advice but unfortunately that didn't get it working.
 
I started with a clean re-install of re2. I then changed the permissions of "/Users/<username>/Library/Application Support/Rapid Evolution 2" to ensure that re2 can write to it (chmod 777). When I load up re2, other files are written to that directory (skin.dat, lookfeel.cfg, etc.) but no music_database.xml.  As such, the songs that I added did not persist between sessions.  
 
I also tried manually creating a music_database.xml file with write permissions, but nothing was written to it after adding songs or quitting re2.  Interestingly, quitting re2 actually caused the file to be deleted and replaced by backup2010-02-17.xml.
 
Let me know if there's anything else I can do to help debug this issue.  Your help is much appreciated.
Back to top
 
 
  IP Logged
Qualia
YaBB Administrator
*****


without music, life
would be a mistake

Posts: 3718
Re: Backup database on mac?
Reply #7 - Feb 17th, 2010, 1:52pm
 
i think you might be running into the same problem another person has posted about in the bugs section.  so permissions are obviously not an issue as you pointed out, because other files are written there.  therefore, some error is occurring during the saving of music_database.xml.  if you open your console when closing re2, i bet you would see some error to this effect (save FAILED).  now, when i just tested in my mac vmware environment, with a fresh install, i wasn't able to reproduce this (i.e. i opened re2, added a song, closed it, saved fine)... what i will need are some steps i can use to reproduce this
 
so, first confirm you see this problem in the console.  then, if possible, perhaps narrow down steps to cause it.  in my case, i simply added 1 song (didn't even associate a file, just clicked add song, specified a title, and clicked ok).  if you were to do the same, for example, do you see the problem..
Back to top
 
 
Email WWW 2465335   IP Logged
dirtyscience
YaBB Newbies
*




Posts: 5
Re: Backup database on mac?
Reply #8 - Feb 17th, 2010, 2:22pm
 
Yep, there is an error when closing re2.  It doesn't matter whether I add a song(s) or just do nothing, when I close re2 the console shows the same error:
 
saveDatabase(): error saving database filename=music_database.xml
java.lang.ArrayIndexOutOfBoundsException: -1
     at rapid_evolution.F.a(Unknown Source)
     at rapid_evolution.RapidEvolution.a(Unknown Source)
     at rapid_evolution.RapidEvolution.a(Unknown Source)
     at rapid_evolution.E.run(Unknown Source)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296
)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201
)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Save FAILED!
 
 
Not sure if this is relevant, but there is also another exception thrown at startup:
 
java.lang.reflect.InvocationTargetException
     at java.awt.EventQueue.invokeAndWait(EventQueue.java:1033)
     at quicktime.QTSession.<clinit>(QTSession.java:94)
     at com.mixshare.rapid_evolution.c.a.a(Unknown Source)
     at com.mixshare.rapid_evolution.c.b.b(Unknown Source)
     at rapid_evolution.RapidEvolution.<init>(Unknown Source)
     at rapid_evolution.RapidEvolution.main(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: /System/Library/Java/Extensions/libQTJNative.jnilib:  no suitable image found.  Did find:  /System/Library/Java/Extensions/libQTJNative.jnilib: no matching architecture in universal wrapper
     at java.lang.ClassLoader$NativeLibrary.load(Native Method)
     at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1861)
     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1754)
     at java.lang.Runtime.loadLibrary0(Runtime.java:823)
     at java.lang.System.loadLibrary(System.java:1045)
     at quicktime.QTSession$1.run(QTSession.java:96)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296
)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201
)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Back to top
 
 
  IP Logged
Qualia
YaBB Administrator
*****


without music, life
would be a mistake

Posts: 3718
Re: Backup database on mac?
Reply #9 - Feb 19th, 2010, 5:59pm
 
okay, i think i found the problem!  please test 2.13.13 and cross your fingers Smiley
Back to top
 
 
Email WWW 2465335   IP Logged
brendanrtw
YaBB Newbies
*




Posts: 12
Re: Backup database on mac?
Reply #10 - Feb 20th, 2010, 1:51am
 
quick answer: YES
 
thanks for the help with this Qualia. Much appreciated    Smiley  Smiley
Back to top
 
 
Email   IP Logged
Qualia
YaBB Administrator
*****


without music, life
would be a mistake

Posts: 3718
Re: Backup database on mac?
Reply #11 - Feb 20th, 2010, 11:04am
 
sweet!  thanks for reporting back...
 
kill bugs dead pew pew!
Back to top
 
 
Email WWW 2465335   IP Logged
Pages: 1
Send Topic Print