gokr / spry

A Smalltalk and Rebol inspired language implemented as an AST interpreter in Nim
Other
390 stars 23 forks source link

"spryvm not found" when installing on macOS #11

Closed kamidev closed 6 years ago

kamidev commented 6 years ago

Spry.nimble requires spryvm... but where is it?

I am using macOS 10.13.1, Nim 0.17.2 via choosenim. Error message below:

➜ spry git:(master) nimble install Verifying dependencies for spry@0.7.0 Installing spryvm@any version Prompt: spryvm not found in any local packages.json, check internet for updated packages? [y/N] Answer: y Downloading Official package list Success Package list downloaded. Tip: 5 messages have been suppressed, use --verbose to show them. Error: Package not found.

gokr commented 6 years ago

I am restructuring right now and I have missed adding it to nimble's catalog. Will fix

Den 2 dec 2017 09:36 skrev "Kami Development" notifications@github.com:

Spry.nimble requires spryvm... but where is it?

I am using macOS 10.13.1, Nim 0.17.2 via choosenim. Error message below:

➜ spry git:(master) nimble install Verifying dependencies for spry@0.7.0 Installing spryvm@any version Prompt: spryvm not found in any local packages.json, check internet for updated packages? [y/N] Answer: y Downloading Official package list Success Package list downloaded. Tip: 5 messages have been suppressed, use --verbose to show them. Error: Package not found.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gokr/spry/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFaHh0o3rceNLCUzp8siGF5wk8tsl7lks5s8Qv_gaJpZM4QzOli .

gokr commented 6 years ago

You can clone it out manually from my github and do "nimble install" in it.

Den 2 dec 2017 10:07 skrev "Göran Krampe" goran.krampe@gmail.com:

I am restructuring right now and I have missed adding it to nimble's catalog. Will fix

Den 2 dec 2017 09:36 skrev "Kami Development" notifications@github.com:

Spry.nimble requires spryvm... but where is it?

I am using macOS 10.13.1, Nim 0.17.2 via choosenim. Error message below:

➜ spry git:(master) nimble install Verifying dependencies for spry@0.7.0 Installing spryvm@any version Prompt: spryvm not found in any local packages.json, check internet for updated packages? [y/N] Answer: y Downloading Official package list Success Package list downloaded. Tip: 5 messages have been suppressed, use --verbose to show them. Error: Package not found.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gokr/spry/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFaHh0o3rceNLCUzp8siGF5wk8tsl7lks5s8Qv_gaJpZM4QzOli .

kamidev commented 6 years ago

Cloning and nimble installing spryvm works, I can build spry and ispry.

There are some warnings, however:

Warning: Package 'ui' has an incorrect structure. It should contain a single directory hierarchy for source files, named 'ui', but file 'toy.nim' is in a directory named 'examples' instead. This will be an error in the future. Warning: Package 'nimsnappy' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'nimsnappy.nim', but a file named 'tests.nim' was found. This will be an error in the future.

gokr commented 6 years ago

Yeah, but those nimble packages aren't mine :)

Regards, Göran

Den 2 dec 2017 11:29 fm skrev "Kami Development" notifications@github.com:

Cloning and nimble installing spryvm works, I can build spry and ispry.

There are some warnings, however:

Warning: Package 'ui' has an incorrect structure. It should contain a single directory hierarchy for source files, named 'ui', but file 'toy.nim' is in a directory named 'examples' instead. This will be an error in the future. Warning: Package 'nimsnappy' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'nimsnappy.nim', but a file named 'tests.nim' was found. This will be an error in the future.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gokr/spry/issues/11#issuecomment-348682969, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFaHksk93O9IUYmnSqQpHw4Oii6b9aAks5s8SaDgaJpZM4QzOli .

kamidev commented 6 years ago

Then so be it. :-)

kamidev commented 6 years ago

BTW, doing ctrl-c out of ispry does this. Is that expected?

Error: unhandled exception: Linenoise returned nil [IOError].

gokr commented 6 years ago

It would be cleaner to catch it and quit cleanly of course :)

You can fix it in ispry.nim

Regards, Göran

Den 2 dec 2017 11:33 fm skrev "Kami Development" notifications@github.com:

BTW, doing ctrl-c out of ispry does this. Is that expected?

Error: unhandled exception: Linenoise returned nil [IOError].

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gokr/spry/issues/11#issuecomment-348683202, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFaHu9iWDG7k-Am2JLdfp2mCa_qZTY4ks5s8SeOgaJpZM4QzOli .

kamidev commented 6 years ago

Cool. I'll do that.

gokr commented 6 years ago

https://nim-lang.org/0.13.0/system.html#addQuitProc,proc)

Den 2 dec 2017 11:38 fm skrev "Kami Development" notifications@github.com:

Cool. I'll do that.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gokr/spry/issues/11#issuecomment-348683473, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFaHnZz8LPgNtgP5xYmbzqYI5ERrS_tks5s8Si5gaJpZM4QzOli .