I have just installed EcpliseFP in a flash Eclipse. The operation system is Ubuntu 13.04.
The installation is all good (I have to install some packages through cabal and apt-get). However when I start Eclipse it shows the following error messages:
ErrorloadinglocaldatabaseMigrating:CREATETABLE"db_package"("id"INTEGERPRIMARYKEY,"name"VARCHARNOTNULL,"version"VARCHARNOTNULL,"doc"VARCHARNULL,CONSTRAINT"unique_version"UNIQUE("name","version"))Migrating:CREATETABLE"db_module"("id"INTEGERPRIMARYKEY,"name"VARCHARNOTNULL,"doc"VARCHARNULL,"package_id"INTEGERNOTNULLREFERENCES"db_package")Migrating:CREATETABLE"db_decl"("id"INTEGERPRIMARYKEY,"decl_type"VARCHARNOTNULL,"name"VARCHARNOTNULL,"doc"VARCHARNULL,"kind"VARCHARNULL,"signature"VARCHARNULL,"equals"VARCHARNULL,"module_id"INTEGERNOTNULLREFERENCES"db_module")Migrating:CREATETABLE"db_ty_var"("id"INTEGERPRIMARYKEY,"name"VARCHARNOTNULL,"decl_id"INTEGERNOTNULLREFERENCES"db_decl")Migrating:CREATETABLE"db_fun_dep"("id"INTEGERPRIMARYKEY,"name"VARCHARNOTNULL,"decl_id"INTEGERNOTNULLREFERENCES"db_decl")Migrating:CREATETABLE"db_context"("id"INTEGERPRIMARYKEY,"shown"VARCHARNOTNULL,"decl_id"INTEGERNOTNULLREFERENCES"db_decl")Migrating:CREATETABLE"db_constructor"("id"INTEGERPRIMARYKEY,"name"VARCHARNOTNULL,"signature"VARCHARNOTNULL,"decl_id"INTEGERNOTNULLREFERENCES"db_decl")scion-browser:usererror(SQLite3returnedErrorErrorwhileattemptingtoperformprepare"create index if not exists module_pkgid_name on DbModule (packageId,name)":nosuchtable:main.DbModule)
When look at the error message, it seems that scion-browser expecting a table named "DbModule" but what has been created is call "db_module". So it must be a version mismatch. However I dont't know how to force another version of scion-browser or something else.
version of scion-browser: 0.2.15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh dear. I had tested that scion-browser worked with persistent 1.2, but not recreated the database, and I used the wrong method to persist. Try 0.2.16, should fix it!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have just installed EcpliseFP in a flash Eclipse. The operation system is Ubuntu 13.04.
The installation is all good (I have to install some packages through cabal and apt-get). However when I start Eclipse it shows the following error messages:
When look at the error message, it seems that scion-browser expecting a table named "DbModule" but what has been created is call "db_module". So it must be a version mismatch. However I dont't know how to force another version of scion-browser or something else.
version of scion-browser: 0.2.15
Oh dear. I had tested that scion-browser worked with persistent 1.2, but not recreated the database, and I used the wrong method to persist. Try 0.2.16, should fix it!
The version of GHC, cabal and cabal-install (see discussion in StackOverflow http://stackoverflow.com/questions/16461118/eclipsefp-rebuild-local-database-error/16464257?noredirect=1#comment23675031_16464257) is such a case: the GHC and initial cabal-install are installed through
apt-get, but I never updated them since Ubuntu didn't provide any upgrade for them. So the GHC is7.6.2, and cabal-install is1.14.0. In addition to it,cabal install cabal-installandcabal install cabalwere run in user mode.My guess is that the Ubuntu's version of cabal-install is compiled in GHC 7.4, so it causes problems.