[SOLVED] Ver. 3.4.0 asking for Neko VM, unable to run...

dcatley

  • Posts: 19
Updated to the new version of Stencyl on my student laptops (I work at a junior high).
Unable to run any games anymore, so this is a major issue!
Running on OSX (El Capitan) and Stencyl wants me to install Neko VM and when I press the 'install' button, nothing happens. I installed it the long way, but that didn't make a difference.
I could really, really use some help here ASAP as I have many students who cannot use Stencyl anymore in my classroom.
Thx in advance.
PS: I am aware of this thread that addresses this issue, however their solution didn't work for me - potentially because the student laptops are not being run as admin? http://community.stencyl.com/index.php?topic=44747.0

« Last Edit: December 03, 2015, 12:22:47 pm by dcatley »

Justin

  • *
  • Posts: 4716
Here's another thread where there were some hiccups in the neko install process. Maybe it will help.

TL;DR of it is to make sure that the folders it installs to have their permissions set so Java can access their contents (chmod 755 should work), and that you don't have a previous neko install already sitting there that's the wrong version.

http://community.stencyl.com/index.php/topic,45258.0.html

If that doesn't work out, post the logs after a failed install attempt, and we can figure out what the problem is from there.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

dcatley

  • Posts: 19
Thanks so much for getting back to me, Justin.

- The link to that thread you sent doesn't exist.
- After installing Neko, I put the folder (neko-2.0.0-osx) into the Documents folder. I checked the "Sharing and Permissions" settings for both the neko folder and the Documents folder, and they both say [Name: student (Me)] and [Privilege: Read & Write].
- Sorry, I don't know what chmod 755 is or how to ensure Java can access neko.
- Same error still occuring. After an attempted run, I grabbed the logs and attached them here.

Justin

  • *
  • Posts: 4716
Oh, sorry, it's in a customers-only forum.

In your log, I see a bunch of "sudo: 1 incorrect password attempt". Are you sure the correct password was entered?

If that isn't the issue, here's how to make sure the permissions are correct.

Code: [Select]
sudo chmod 755 /usr/local/lib
sudo chmod 755 /usr/local/bin

Make sure that the following files/folders don't exist (they could be present from a previous neko install).
Code: [Select]
/usr/local/lib/neko
/usr/local/lib/libneko.dylib
/usr/local/bin/neko
/usr/local/bin/nekoc
/usr/local/bin/nekotools
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

dcatley

  • Posts: 19
Those incorrect password attempt were from yesterday before I made the initial post, when I tried to follow the instructions from that other thread. I just figured out now the problem was I was entering the admin password, which was coming up incorrect, so I tried the "student" account password which students use to log in.

Using that correct password, I now get the following message in terminal after typing in the chmod 755 code:
"student is not in the sudoers file. This incident will be reported."

I also searched in Finder for those 5 files/folders. Only one came up, /usr/local/lib/neko, so I deleted that.

Attempted to run a game in Stencyl and still no luck :(

I wish I could simply revert back to version 3.3.2, but I read that certain things like the Crash Course doesn't work (which my students use to learn the program)...

Let me know if you have any other suggestions.

Ogiul

  • *
  • Posts: 229
Yesterday I updated from Mavericks to Yosemite and now I have the same problem as dcatley: stencyl ask me for installing  Neko and my password but nothing seems happen and when I try again it asks me again for Neko.

Ogiul

  • *
  • Posts: 229
I have deleted these files:
/usr/local/lib/neko
/usr/local/lib/libneko.dylib
/usr/local/bin/neko
/usr/local/bin/nekoc
/usr/local/bin/nekotools

Stencyl still asks me to install Neko and to write my password, when I write it nothing happens... Please can somebody explain me step by step how can I install Neko?

« Last Edit: December 02, 2015, 12:02:45 pm by Ogiul »

Ogiul

  • *
  • Posts: 229
Ok I eventually solved the problem putting in the Terminal Justin's code:
Code: [Select]
sudo chmod 755 /usr/local/lib
sudo chmod 755 /usr/local/bin

The problem was I had not permission for my lib folder... .

dcatley

  • Posts: 19
This is brutal...
When I type in the code that Justin suggested while logged in as a student, I receive this error:
"student is not in the sudoers file. This incident will be reported."

When I type in the code while logged in as admin,
sudo chmod 755 /usr/local/lib
I get this message: chmod: /usr/local/lib: No such file or directory
and
sudo chmod 755 /usr/local/bin
results in nothing.

I'm nearly ready to give up on Stencyl, this is incredibly frustrating that this can't be solved. Someone please help...

captaincomic

  • *
  • Posts: 6108
You need to be using an account with sudo privileges (defined in the sudoers file).

As admin, type these commands to create the missing directory first:
Code: [Select]
sudo mkdir /usr/local/lib
sudo chmod 755 /usr/local/lib

If there is no error, there will be no output.

dcatley

  • Posts: 19
Thanks captain comic,
I completed those steps and there was no output, so I suppose that's a good sign.
What's next?
I tried switching back and logging in as a student, tried to run a game in Stencyl and I get the same error.

Justin

  • *
  • Posts: 4716
Did you try running Stencyl while logged in as an admin? Everything should work if you run Stencyl and install neko from an admin account and provide the proper password, but if not, you can also try running the script yourself (from an admin account).

Note that the first line depends on the location you've installed Stencyl to. (Perhaps it should be Stencyl.app? I can't double check on a Mac right now.)

Code: [Select]
cd /Applications/Stencyl/plaf
sudo -S mkdir -p /usr/local/lib/neko
sudo -S cp -r neko-mac/* /usr/local/lib/neko

sudo -S mkdir -p /usr/local/bin
sudo -S ln -s /usr/local/lib/neko/libneko.dylib /usr/local/lib/libneko.dylib
sudo -S ln -s /usr/local/lib/neko/neko /usr/local/bin/neko
sudo -S ln -s /usr/local/lib/neko/nekoc /usr/local/bin/nekoc
sudo -S ln -s /usr/local/lib/neko/nekotools /usr/local/bin/nekotools
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

dcatley

  • Posts: 19
Okay, so some good news:

After installing Stencyl on the admin account, I ran Stencyl (again, while logged in as an administrator), made a blank game and tested it. The same pop-up appeared asking to install Neko, so I said okay, and gave the admin password, and sure enough - it works!

The bad news:

Obviously, I can't have students logged in as administrators while in my class. Any suggestions on how to fix that?

Thanks for the continued support! We're almost there!

dcatley

  • Posts: 19
Holy smokes, IT WORKS.

Just for fun, I switched back to the student account, and sure enough, it runs perfectly fine. I guess I needed to install Neko under the admin account first.

*phew*

Thanks for your help. You guys are heroes.

Praveen816

  • Posts: 3
It still not working.
chmod: /usr/local/lib: No such file or directory. Please suggest me :(