Great, the only issue is that packaging the application to a non user writable directory like /usr/ will prevent the extraction of the libe_sqlite3.so. in any case I adjusted the ArchLinux packaging script to execute the ManagerServer.exe on port 1 so it fails, this way it extracts the sqlite3 library before packaging the files, PKGBUILD - aur.git - AUR Package Repositories
Thanks a lot for your work!, now I wonder if there is a way to package an ARM version of the sqlite3 library…
@jgm & @mprokopov, yes it’s an ugly hack just to make it work. The main issue here is that I really have little experience with making Debian packages. I’m going to find someone to take over this part as I have no interest in penetrating Debian documentation - it’s massive!
As for ARM build, try to download sqlite3.c and compile it on ARM-based machine with following command:
Now that I’m thinking about this, maybe Manager shouldn’t include libe_sqlite3.so at all. It should include sqlite3.c which would be compiled into platform-dependent libe_sqlite3.so (x86, x64, ARM etc) during install.
Same here. I was on 16.12.21 (desktop edition) I think, and about 4 hours ago I tried to upgrade to 16.12.31 and now it doesn’t start. I’m on Ubuntu 16.04 64-bit. I tried removing it and installing it again like two times and nothing. It just doesn’t start.
You could set the data path on both machines to the Dropbox location. Then you never have to import. Manager on both machines will call the data from the Dropbox folder. But you need to make sure both machines are kept up to date on versions so you don’t get in the situation of opening the file with an older version after it’s been accessed by a newer version.
I have updatet the new Version on a little Laptop but i have no workws in Manager Accounting with them.
I open the Programm to test the new Update, and it works. Then i search the Backup in my Dropboxfolder and try to import but it did not work. Why i don´t know
OK on my Packard Bell Laptop all went fine, i don´t know why but i will look what is different on my eepc Laptop.
I will spend time tomorrow to update on my desktop and post again. Good night all.
Thank you and advance
Yes I think that is the Problem, my Desktop an my Packard Bell are working with the same Folder on Dropbox, and the eepc not, i will change it and test it out, thanks for reply an for the tipp.
Now it works, my symlink was wrong, now all is fine.
/opt/manager-accounting $ ./manager-accounting
Unhandled Exception:
System.UnauthorizedAccessException: Access to the path "/opt/manager-accounting/libe_sqlite3.so" is denied.
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode,
However, starting Manager as superuser solves the issue…
/opt/manager-accounting $ sudo ./manager-accounting
[sudo] password for xxxxxx:
Vector smash protection is enabled.
openjdk version "1.8.0_03-Ubuntu"
OpenJDK Runtime Environment (build 1.8.0_03-Ubuntu-8u77-b03-3ubuntu3-b03)
OpenJDK 64-Bit Server VM (build 25.03-b03, mixed mode)
Maybe this information will help.
With some additional testing, I’ve found a workaround.
Workaround:
de-install Manager.
remove libe_sqlite3.so (or at least rename it)
re-install Manager
Start Manager with root rights (This wil recreate the libe_sqlite3.so file)
Exit Manager.
After these steps, I was able te start the Manager as ordinary user.
All of the above is done on Linux Mint 18 (Ubuntu 16.04)
@Gert thank you very much for this workaround. You have saved my life. Also, I have already installed Manager and just did this command and close it, just testing, without doing anything else and it worked. Again, thank you.
Hi
This fix doesn’t work for me. I’m using Ubuntu on a 32bit.
I get the response below:
mjr@mjr-ESPRIMO-Mobile-U9200:~$ sudo ./manager-accounting
[sudo] password for mjr:
sudo: ./manager-accounting: command not found
mjr@mjr-ESPRIMO-Mobile-U9200:~$ /opt/manager-accounting
bash: /opt/manager-accounting: Is a directory
mjr@mjr-ESPRIMO-Mobile-U9200:~$ sudo ./manager-accounting
sudo: ./manager-accounting: command not found
mjr@mjr-ESPRIMO-Mobile-U9200:~$