jHeidi 5 in Ubuntu Linux

[expired user #3752]'s profile image [expired user #3752] posted 15 years ago in jHeidi (discontinued) Permalink
Hi.

I've been trying to get the latest version of jHeidi to run on my Ubuntu machine, and I'm having problems with it. A chap at the Ubuntu forums has been very helpful. He's got the program to run, but it won't actually start. (Problems detailed over there, but I can repost them here if you find it easier.)

TRiG.:)
[expired user #3375]'s profile image [expired user #3375] posted 15 years ago Permalink
Did you download the latest build from http://jheidi.com or use the autoupdate feature?

Ill download and double check the build tonight, jHeidi is developed on linux so soomething odd mustve occurred in the build last night.
[expired user #3375]'s profile image [expired user #3375] posted 15 years ago Permalink
unzipped the latest on ubuntu. Chmodded the jheidi script.

Ran fine.

:D
[expired user #3752]'s profile image [expired user #3752] posted 15 years ago Permalink
I downloaded it from here.

I'll try it again and report back.

TRiG.:)
[expired user #3752]'s profile image [expired user #3752] posted 15 years ago Permalink
$ cd sql
$ ./jheidi


configuring logging from system property log4jconfig=logs/log4jconfig.xml
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Cant load AutoUpdater:AppProps!
at com.rendion.ajl.AutoUpdater$AppProps.<init>(Unknown Source)
at com.rendion.ajl.AutoUpdater.<init>(Unknown Source)
at jheidi.run(jheidi.java:19)
at com.rendion.ajl.AjlScript.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.rendion.ajl.Loader.run(Unknown Source)
at com.rendion.ajl.Loader.runScript(Unknown Source)
at com.rendion.ajl.Loader.runScript(Unknown Source)
at com.rendion.ajl.ScriptHelper.script(Unknown Source)
at com.rendion.ajl.AjlScript$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.io.FileNotFoundException: .autoupdater (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
... 21 more


I'll try doing the simple thing: I'll delete it and download it again in case I have a corrupt version. (Though I have already tried that once.)

TRiG.:)
[expired user #3375]'s profile image [expired user #3375] posted 15 years ago Permalink
Have you moved the jheidi script from its location or create a gnome shortcut to it?

there is a hidden file named .autoupdater which is in the root directory of the application. Make sure it is there. If not I dont know what to do about that since when I download it the file is there.

You must run the script from the root directory of the application it can not be relocated.

Let me know if any of this helps. Please when you download confirm that the hidden file is there by "Showing Hidden Files" in Nautilus.
[expired user #3375]'s profile image [expired user #3375] posted 15 years ago Permalink
A friend of mine had this problem because he unzipped the application and then did a copy and paste of all the files to a different location.

When you do this with hidden files not showing, you are actually not copying all the files in the application dir.

Either unzip the application to tyhe location you want, or copy the application's root folder and do not "select all" the files in the application dir without hidden files turned on.
[expired user #3752]'s profile image [expired user #3752] posted 15 years ago Permalink
So, as I suspected, it was my fault. It usually is.

I'm still a Linux neonate. Thanks for the help.

It's working now. Might I suggest one tiny improvement?

Could error messages appear in a pop-up box, not just in the SQL log? I have a small screen, and often don't have the log showing. And sometimes it's hard to know whether something's gone wrong or the computer is just taking its time.

But I suppose this sort of thing should be in a different thread.

TRiG.
[expired user #3375]'s profile image [expired user #3375] posted 15 years ago Permalink
jHeidi follows HeidiSQL in that regard but the reason is simple. In the course of doing lots of queries, running scripts, errors happen.

The log provides context of the error and allows you to walk away while a script is running and come back and see if there are errors.

A popup error can be a bit annoying as it has to be cleared before you can continue using the application.

But I will say it might be a decent option in the preferences to turn popup errors on or off, so thanks for the idea!

Please login to leave a reply, or register at first.