rhiokim / haroopad

Haroopad - The Next Document processor based on Markdown
http://pad.haroopress.com
GNU General Public License v3.0
1.6k stars 225 forks source link

Impossible to open on Ubuntu 15.04 #542

Open louis-etne opened 9 years ago

louis-etne commented 9 years ago

I'm trying to open the version 0.13.1 on ubuntu 15.04 but I have an issue. It seems to come Web SQLite.

[3998:1020/210009:ERROR:browser_main_loop.cc(162)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[3998:1020/210009:ERROR:connection.cc(1060)] Web sqlite error 5, errno 0: database is locked, sql: PRAGMA journal_mode = PERSIST
[3998:1020/210011:ERROR:connection.cc(1060)] Web sqlite error 5, errno 0: database is locked, sql: PRAGMA cache_size=32
[3998:1020/210011:ERROR:connection.cc(1060)] Web sqlite error 5, errno 0: database is locked, sql: CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR)
[3998:1020/210011:ERROR:web_data_service_backend.cc(54)] Cannot initialize the web database: 1

Thanks for your help!

tleb commented 9 years ago

Exact same problem here. Running xubuntu, i3wm.

$ sudo dpkg -i haroopad-v0.13.1-ia32.deb
Sélection du paquet haroopad précédemment désélectionné.
(Lecture de la base de données... 231014 fichiers et répertoires déjà installés.)
Préparation du décompactage de haroopad-v0.13.1-ia32.deb ...
Décompactage de haroopad (0.13.1) ...
Paramétrage de haroopad (0.13.1) ...
Traitement déclenché pour  mime-support (3.54ubuntu1.1) ...
Traitement déclenché pour  gnome-menus (3.10.1-0ubuntu2) ...
Traitement déclenché pour  desktop-file-utils (0.22-1ubuntu1) ...
Traitement déclenché pour  hicolor-icon-theme (0.13-1) ...

$ haroopad 
[28965:1020/234809:ERROR:browser_main_loop.cc(162)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[28965:1020/234809:ERROR:connection.cc(1060)] Web sqlite error 5, errno 0: database is locked, sql: PRAGMA journal_mode = PERSIST
[28965:1020/234810:ERROR:connection.cc(1060)] Web sqlite error 5, errno 0: database is locked, sql: PRAGMA cache_size=32
[28965:1020/234810:ERROR:connection.cc(1060)] Web sqlite error 5, errno 0: database is locked, sql: CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR)
[28965:1020/234810:ERROR:web_data_service_backend.cc(54)] Cannot initialize the web database: 1

This link didn't help.

jimtremblay commented 8 years ago

I have the same problem. Does any of you @tleb @boopr have found a workaround?

louis-etne commented 8 years ago

Absolulty not.. I gave up. :disappointed:

tleb commented 8 years ago

I gave up too. :cry:

vdeville commented 8 years ago

Me too same problem on Debian 8 with Cinnamon.

[19907:1117/224653:ERROR:connection.cc(1060)] Web sqlite error 5, errno 0: database is locked, sql:        PRAGMA journal_mode = PERSIST
[19907:1117/224654:ERROR:connection.cc(1060)] Web sqlite error 5, errno 0: database is locked, sql:       PRAGMA cache_size=32
[19907:1117/224654:ERROR:connection.cc(1060)] Web sqlite error 5, errno 0: database is locked, sql:     CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR)
[19907:1117/224654:ERROR:web_data_service_backend.cc(54)] Cannot initialize the web database: 1
Arcesilas commented 8 years ago

Same problem here on Ubuntu 15.10...

Wanted to try Haroopad, so I'll use Atom.

valvin1 commented 8 years ago

get the same I am using Haroopad since a lot of time and decided to update today ... unfortunately i have :

haroopad 
[11305:0225/212531:ERROR:browser_main_loop.cc(162)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[11305:0225/212532:ERROR:connection.cc(1060)] Web sqlite error 5, errno 0: database is locked, sql: PRAGMA journal_mode = PERSIST
[11305:0225/212533:ERROR:connection.cc(1060)] Web sqlite error 5, errno 0: database is locked, sql: PRAGMA cache_size=32
[11305:0225/212533:ERROR:connection.cc(1060)] Web sqlite error 5, errno 0: database is locked, sql: CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR)
[11305:0225/212533:ERROR:web_data_service_backend.cc(54)] Cannot initialize the web database: 1

any workaround?

tleb commented 8 years ago

I haven't got the package anymore and I gave up at the time, but have you tried using the root user to start haroopad? I can't remember what I tried.

Arcesilas commented 8 years ago

There is no way I run an application with root privileges just because it does not run with a standard user. Running an application with root should not be a solution of any kind.

Anyway, I'm using Atom which fits all my needs.

tleb commented 8 years ago

I'm not trying to say the root privileges is the solution, if it works, it would just mean that there is a privilege issue, and that can help to find the problem.

rhiokim commented 8 years ago

I've made new pkg for next release. it's release candidate version, not official

And it was work well in pure Ubuntu 15.04/12.04/14.04LTS 64bit and 15.10 64bit

If any Haroopad processes still running after closing Haroopad? ps aux | grep haroopad

Try killing them manually via their PID. And remove ~/.config/Haroopad

ljoli commented 8 years ago

@rhiokim I can't download your rc on dropbox. Where can I found a binary ?

And do you have an binary version for UBUNTU 15.10 32 bit ?

is it possible to build project from a tarball ?

rhiokim commented 8 years ago

@ljoli I made mirror for download - https://bitbucket.org/rhiokim/haroopad-download/downloads

ljoli commented 8 years ago

@rhiokim : OK Thanks for the link. But one question , why the source code of haroopad is not update since 3 years ago ?