Gremlin Console unusable on Windows (Tinkerpop M8 level)

179 views
Skip to first unread message

Kelvin Lawrence

unread,
Jun 1, 2015, 3:49:42 PM6/1/15
to gremli...@googlegroups.com
I usually run Gremlin on a Mac but today I had a need to run it on my Windows machine. I downloaded M8 from the web page and unpacked it in the normal way.

However, the bottom line is that the console is unusable or close to it on Windows.

If I ask for :help I get a screen full of VT100 commands (which work fine on Mac) but are not recognized by the Windows CMD.exe shell.

Further, command retrieval (up arrow) does not work.

There is also the following error message displayed after I ask for :help (after the help text is displayed)

  Can't find bundle for base name org.apache.tinkerpop.gremlin.console.commands.GremlinSetCommand, locale en_US

Hopefully in M9 you have already fixed this but, at least in M8, the Gremlin Console is pretty close to unusable on a Windows machine.

In theory I could run under something like Cygwin but given Tinkerpop 2 works fine in the Windows CMD.exe shell I think TP3 needs to as well.

Cheers
Kelvin

Jason Plurad

unread,
Jun 1, 2015, 4:08:26 PM6/1/15
to gremli...@googlegroups.com
I'm seeing the same in the latest 3.0.0-SNAPSHOT code that I compiled, except the "Can't find bundle..." issue looks resolved.

One other thing worth noting, the Groovy link doesn't work anymore as of yesterday since Codehaus is shutting down. This URL should be better http://www.groovy-lang.org/

I've attached a screenshot.



--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/315a2067-f01b-4e82-8988-55dbb13be36e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Have a good one,
Jason

Stephen Mallette

unread,
Jun 1, 2015, 4:09:57 PM6/1/15
to gremli...@googlegroups.com
yeah - the "can't find bundle" thing was a problem with "help".  The up arrow thing i believe is a groovy problem:




Kelvin Lawrence

unread,
Jun 1, 2015, 4:30:43 PM6/1/15
to gremli...@googlegroups.com
Thanks for the pointer on the Groovy bug (that is a regression from whatever level TP2 shipped with). I hope they fix that. Most Windows devs probably won't know that CTRL-P retrieves the last command etc.

As for all the VT100 junk - hopefully you can test for shell/OS type before printing anything to the console. It's not just the help text, it shows up all over the place. The :history list is another example.

Cheers
Kelvin

Stephen Mallette

unread,
Jun 1, 2015, 4:37:06 PM6/1/15
to gremli...@googlegroups.com
Jason, any chance you feel like being a hero and taking a deeper look at the problem with the output on windows? :)

Jason Plurad

unread,
Jun 1, 2015, 5:24:16 PM6/1/15
to gremli...@googlegroups.com
Haha, yeah I'll take a look.. definitely prefer using my Linux machine though!


For more options, visit https://groups.google.com/d/optout.

Stephen Mallette

unread,
Jun 11, 2015, 10:40:24 AM6/11/15
to gremli...@googlegroups.com
Just merged in this nice PR from Jason (thanks):


Windows in the Gremlin Console should be looking nicer now.

Kelvin Lawrence

unread,
Jun 11, 2015, 11:51:17 AM6/11/15
to gremli...@googlegroups.com
Thanks Jason and Stephen. Gotta love the open source model of collaboration!

Kelvin
Reply all
Reply to author
Forward
0 new messages