neurolabs / henplus

HenPlus is a SQL shell that can handle multiple sessions in parallel. The commandline interface with the usual history functions features TAB-completion for commands, tables and columns. Database connect via JDBC.
GNU General Public License v2.0
98 stars 51 forks source link

Unexpected exit - no Hen*Plus prompt shown #31

Closed jbee closed 12 years ago

jbee commented 12 years ago

Hey folks,

I once again ended up trying to make henplus work on my laptop but I got the same problem again. After installation (through dist. Ubunutu 11.04) I provided the JDBC driver in home config and types henplus in a shell. I get the wellcome prompt

using GNU readline (Brian Fox, Chet Ramey), Java wrapper by Bernhard Bablok
henplus config at /home/jan/.henplus
---------------------------------------------------------------------------
 HenPlus II 0.9.7-2 Debian
 Copyright(C) 1997..2006 Henner Zeller <H.Zeller@acm.org>
 HenPlus is provided AS IS and comes with ABSOLUTELY NO WARRANTY
 This is free software, and you are welcome to redistribute it under the
 conditions of the GNU Public License <http://www.gnu.org/licenses/gpl.txt>
---------------------------------------------------------------------------
usage: henplus
 -h,--help <arg>            print this message
 -J,--url <jdbc:...>        JDBC URL to connect to
 -P,--password <password>   Password to connect with
 -U,--username <username>   Username to connect with

I tried to provide URL, user and password using parameters. They are recognised correctly but after all I directly be back in the shell. No prompt Hen*Plus like in the docs ever shown up. As far as I know this is a more or less known issue running a 64bit system. I run:

$uname -a
Linux ist286 2.6.38-13-generic #55-Ubuntu SMP Tue Jan 24 15:34:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Any questions or suggestions ?

Greets from Sweden Jan

bjrke commented 12 years ago

Hi Jan,

U are using a version which is not distributed by us. It depends on a not working library (readline). You should use the package from the download section, which includes all needed libraries. wget https://github.com/downloads/neurolabs/henplus/henplus_0.9.8_all.deb sudo dpkg -i henplus_0.9.8_all.deb

Greets from Hamburg The other Jan

jbee commented 12 years ago

Works!

neurolabs commented 12 years ago

We really tried to get the debian version updated, but it's maintainer hell. The current maintainer is not answering, and bypassing maintainership is costing too much time.

Sorry for the inconvenience.