Closed JWJoubert closed 9 years ago
What do you have in your application.conf
? I have been changing line 114 to db=fs
(and uncommenting) which lets it use a file as a database, as I understand it.
Thanks Mark.
Mine was commented out as well. I added db=fs
, restarted the editor, but same error. Should I also comment out all the postgresql
lines in the application.conf
file? I still have the following:
db.url=jdbc:postgresql://127.0.0.1/gtfs-editor
db.driver=org.postgresql.Driver
db.user=postgres
Tried commenting the postgres
three lines out, same error.
I've been able to get a local version running by simply overwriting the application.conf
file with the application.conf.template
... but it does not import the GTFS feed that was exported using the postgresql
version of the editor I used.
Is there a way to fetch a working GIT SHA-1
commit? Or rather, to which SHA-1
should I revert to get my old version back?
I had to start from scratch and re-installed gtfs-editor completely... so I guess I can close this issue. Maybe I just messed up the transition to the new database type. If someone stumbles across this issue again, they can consider re-opening it.
After encountering issue #210 I thought it might be time for an update... and reading a few things about
mapdb
being implemented in February, I thought: "right, it IS time for an upgrade".So I did.
Now I cannot even get GTFS-Editor running, I get a
ExceptionInInitializerError occured : null
error, with a reference toOn refreshing/reloading the page, the error changes to
NoClassDefFoundError occured : Could not initialize class datastore.VersionedDataStore
I try to look into the the
VersionedDataStore
but I'm a bit lost, other than realising thatGlobalTx
is amapdb
-related object. Still, I think a major problem is the fact that the original GTFS feed was created inPostgresql
, and I guessmapdb
does not play very nicely. This might also be why issue #210 does not want to save alignment edits?Is there a way to fix it, i.e. just get GTFS-Editor running again? I have a copy of the GTFS feed which I can import (but only if I get the editor running of course).