LUA Glider and GIT REMOTE

I have reported this bug to M.Y. Developers directly but thought I better follow up here as it has been over a month and no update yet. 

M.Y. Developers, if you could take a moment to review this problem, and let me know if there is a fix coming, I would much appreciate it. I have been unable to update to 1.9 due to this bug, as I rely on using GIT to work with others. Please check email for screenshots of the failure I mention below. 

Since my email to you guys, I have received a confirmation that you were able to reproduce the error. This note was sent from M.Y. to me on June 29th, and indicated that the problem was repro’d on your end. Just looking for an update on the possibility of a fix for the remote GIT connection bug. 

Regards,

Paul Christensen

Tamarac Apps


(below is the text of my previous email to M.Y. reporting the bug)

On the MAC using the new 1.9 version just downloaded from your website, I tried creating a new copy of my repo using clone, and got the following error:

“java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException”  in the Clone repository dialog.

I want to be very clear here about what I have seen. Please examine what I say here for clues:

1.) On MAC, I have the original version of Glider1.9 you provided for beta test. I downloaded it and have been keeping it up to date using your normal update mechanism. It is the exact same revision as the version that can be downloaded from your download link. It works fine with remote repo connections.

2.) I have a PC version 1.7x, that connects correctly to the remote repository. 

3.) I downloaded the new PC version from the web, and found it does not connect to the remote repository.

4.) I downloaded the new MAC version from the web and found it does not connect to the remote repository.

5.) I have uploaded my log files. 

Quick Review/Summary:

PC:

  • I have 1.7 (old ver) on PC that does connect to my remote repo.
  • 1.9 (new version) on PC cannot connect - stops at the page where you fill in the remote repo information and throws the error mentioned above.

Mac:

  • 1.9(beta that has been updated) on my MAC that does connect
  • 1.9 (download direct from your site clean) that does not connect. Throws the same error as on PC version. 

The implication is that there is some missing configuration or jar or some other metadata that is missing in the installation from the website. I recommend trying an install on a box that already has a working version of 1.9 by getting the new bits from your download link on the web, and installing side by side with the old version, and then testing to see if remote works under that situation to try to repro the problem. This is exactly what I have done. Make sure your remote connection uses an SSH connection with password. In my case, the remote repo cannot be connected to.  Note this problem is happening on both PC and MAC newly downloaded versions from your site. I assume something has been changed or gone missing between the time I received the beta version of 1.9 and the current download package. 

Things to consider: 

  • Is there some kind of java dependency?
  • Does the missing class exception imply a missing jar file or some other missing data?
  • Could it be that not first uninstalling the old version causes a conflict between the old and new preventing the git system from functioning? (I fear doing this because the old one works now and new does not)

Thanks for any help you can provide,

Best Regards,

Paul Christensen 

Tamarac Apps

Hello Paul,

We apologize for overlooking this email. When we packaged Java 7 with Glider it added a good 50 MB to the installation size. We were able to offset this addition by removing many modules not necessary for Lua editing (xml, css, html, etc.) The strange part is that the required modules for git over ssh were never removed but yet still failed to load for whatever reason. Here is a zip file that contains all the modules as in the previous distributions. This zip distribution does not contain the bundled JRE.

http://www.mydevelopersgames.com/luagliderv19-all-modules.zip

Installation instructions:

Windows:

  1. Please unzip the archive into the Glider installation directory (“C:\Program Files (x86)\M.Y. Developers\Lua Glider v 1.9.x”) Make sure you merge all the folders together. This will add the missing modules

Mac:

  1. Right click on the app package in finder -> Show package contents
  2. Contents->Resources -> luagliderv19
  3. Paste all the folders from the zip archive into here just as you do with windows.
  4. Please be aware that the zip archive does not contain the etc subfolder (to make the patch cross platform), if you overwrite luagliderv19 on Mac it will replace the folders instead of merging them. Please only replace the subfolders instead.

Best Regards,

M.Y. Developers

Hello Paul,

Just to follow up on this, were you able to get this working with the patch provided?

Regards,

M.Y. Developers

No it didnt work. We just tried again and it still fails to connect to my remote repository. Is there some requirement with Java that I may need? What version of java should I have installed? What if I have installed git bash as well as lua glider 1.9?  

Looking for anything to help with this. 

Regards,

Paul

A bit more detail: I also reboot the machine after the install in case anything was holding references. The failure is identical to the one I sent screenshots. The reported error is that it cannot connect to the remote repository, but as mentioned before, the older 1.7 version (or in the case of my MAC) the 1.9 version that was given to me during your Beta does work. 

Confusing…

Paul

One more thing. I keep the old 1.7 version on my PC as well as this newer 1.9 version. Could they be interacting? 

Also, should I uninstall the 1.9 version I have and restart from there? Do you guys have a full build that should install all the “missing” components as well as the main program in one installer? I would be happy to try that out. 

Hello Paul,

We just tried again and it still fails to connect to my remote repository

Is it the same error? Please try cloning :

git@github.com:ansca/Ghosts-vs.-Monsters.git

and see if it is able to clone that correctly. It may potentially have something to do with the ssh keys on windows.

Do you guys have a full build that should install all the “missing” components as well as the main program in one installer? I would be happy to try that out. 

Here is a standalone version for windows, you just need to unzip it to a folder and run bin/luaglider.exe

www.mydevelopersgames.com/luagliderv19-full-no-jre.zip

What if I have installed git bash as well as lua glider 1.9?

Absolutely. The IDE will detect when there has been an update to the git repository from external sources and update accordingly. 

One more thing. I keep the old 1.7 version on my PC as well as this newer 1.9 version. Could they be interacting? 

There should be no interaction.

Regards,

M.Y. Developers

The full install link you provided did the trick. I guess there was indeed something missing or possibly corrupt in my installed directory. So I uninstalled using windows un-installer and then setup the program stand-alone. I had to  modify the luaglider19.config file to point to the correct version of java (it couldnt find it probably because paths were not setup for it due to the fact it was not “installed” with an installer), but after that it went fine. I wont test on my mac right now because I have an installed version that works fine for it already and can keep it stable without downloading new bits from your website. 

Thanks for helping me resolve to the point I can use the new version on both systems. I wish I had better information for you on what was missing or incorrectly setup. I have no guesses on that score. 

Best Regards,

Paul

Hello Paul,

Thanks for the feedback. Its a very strange issue but including all the modules seems to fix it, the Netbeans git maintainers perhaps forgot to add a dependency to some module.

Please do post on the forum if you run into any more issues. The Java folks should be releasing update 40 soon (they are at build 38) so then we can do a major overhaul on the mac side of things.

Regards,

M.Y. Developers

Hello Paul,

We apologize for overlooking this email. When we packaged Java 7 with Glider it added a good 50 MB to the installation size. We were able to offset this addition by removing many modules not necessary for Lua editing (xml, css, html, etc.) The strange part is that the required modules for git over ssh were never removed but yet still failed to load for whatever reason. Here is a zip file that contains all the modules as in the previous distributions. This zip distribution does not contain the bundled JRE.

http://www.mydevelopersgames.com/luagliderv19-all-modules.zip

Installation instructions:

Windows:

  1. Please unzip the archive into the Glider installation directory (“C:\Program Files (x86)\M.Y. Developers\Lua Glider v 1.9.x”) Make sure you merge all the folders together. This will add the missing modules

Mac:

  1. Right click on the app package in finder -> Show package contents
  2. Contents->Resources -> luagliderv19
  3. Paste all the folders from the zip archive into here just as you do with windows.
  4. Please be aware that the zip archive does not contain the etc subfolder (to make the patch cross platform), if you overwrite luagliderv19 on Mac it will replace the folders instead of merging them. Please only replace the subfolders instead.

Best Regards,

M.Y. Developers

Hello Paul,

Just to follow up on this, were you able to get this working with the patch provided?

Regards,

M.Y. Developers

No it didnt work. We just tried again and it still fails to connect to my remote repository. Is there some requirement with Java that I may need? What version of java should I have installed? What if I have installed git bash as well as lua glider 1.9?  

Looking for anything to help with this. 

Regards,

Paul

A bit more detail: I also reboot the machine after the install in case anything was holding references. The failure is identical to the one I sent screenshots. The reported error is that it cannot connect to the remote repository, but as mentioned before, the older 1.7 version (or in the case of my MAC) the 1.9 version that was given to me during your Beta does work. 

Confusing…

Paul

One more thing. I keep the old 1.7 version on my PC as well as this newer 1.9 version. Could they be interacting? 

Also, should I uninstall the 1.9 version I have and restart from there? Do you guys have a full build that should install all the “missing” components as well as the main program in one installer? I would be happy to try that out. 

Hello Paul,

We just tried again and it still fails to connect to my remote repository

Is it the same error? Please try cloning :

git@github.com:ansca/Ghosts-vs.-Monsters.git

and see if it is able to clone that correctly. It may potentially have something to do with the ssh keys on windows.

Do you guys have a full build that should install all the “missing” components as well as the main program in one installer? I would be happy to try that out. 

Here is a standalone version for windows, you just need to unzip it to a folder and run bin/luaglider.exe

www.mydevelopersgames.com/luagliderv19-full-no-jre.zip

What if I have installed git bash as well as lua glider 1.9?

Absolutely. The IDE will detect when there has been an update to the git repository from external sources and update accordingly. 

One more thing. I keep the old 1.7 version on my PC as well as this newer 1.9 version. Could they be interacting? 

There should be no interaction.

Regards,

M.Y. Developers

The full install link you provided did the trick. I guess there was indeed something missing or possibly corrupt in my installed directory. So I uninstalled using windows un-installer and then setup the program stand-alone. I had to  modify the luaglider19.config file to point to the correct version of java (it couldnt find it probably because paths were not setup for it due to the fact it was not “installed” with an installer), but after that it went fine. I wont test on my mac right now because I have an installed version that works fine for it already and can keep it stable without downloading new bits from your website. 

Thanks for helping me resolve to the point I can use the new version on both systems. I wish I had better information for you on what was missing or incorrectly setup. I have no guesses on that score. 

Best Regards,

Paul

Hello Paul,

Thanks for the feedback. Its a very strange issue but including all the modules seems to fix it, the Netbeans git maintainers perhaps forgot to add a dependency to some module.

Please do post on the forum if you run into any more issues. The Java folks should be releasing update 40 soon (they are at build 38) so then we can do a major overhaul on the mac side of things.

Regards,

M.Y. Developers

Wow this post really came in handy today! Glad I found it. I was suffering the same issues, but also I came across this article from the NetBeans forums:

https://netbeans.org/bugzilla/show_bug.cgi?id=203614

Where it said even with a public key I needed to use the username “git”. Wierd I know but hey, in the end everything worked out. Thanks again folks!

-Mario

Hello Mario,

Glad everything worked out in the end!

Regards,

M.Y. Developers

Wow this post really came in handy today! Glad I found it. I was suffering the same issues, but also I came across this article from the NetBeans forums:

https://netbeans.org/bugzilla/show_bug.cgi?id=203614

Where it said even with a public key I needed to use the username “git”. Wierd I know but hey, in the end everything worked out. Thanks again folks!

-Mario