Atom rhino-python deprecation errors?


#1

the package is being shown as deprecated. Is anyone seeing this? thanks.


#3

I’m seeing the same error, did you manage to solve it?


#4

yeah, i changed the following line in rhino-python.coffee


#5

i can’t get Atom to run any scripts either, keep getting the “Rhino isn’t listening for requests”.

i’m also getting the following error for auto-completion:

/Users/rgilmore/.atom/packages/rhino-python/lib/rhino-autocomplete-plus-python-provider.coffee:44
Hide Stack Trace
TypeError: suggestions.map is not a function
    at RhinoProvider.module.exports.RhinoProvider.filterCachedSuggestions (/Users/rgilmore/.atom/packages/rhino-python/lib/rhino-autocomplete-plus-python-provider.coffee:44:24)
    at RhinoProvider.module.exports.RhinoProvider.getSuggestions (/Users/rgilmore/.atom/packages/rhino-python/lib/rhino-autocomplete-plus-python-provider.coffee:28:15)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:333:54
    at Array.forEach (native)
    at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:309:17)
    at AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:298:19)

#6

did you run the rhino command StartAtomEditorListener ?


#7

yeah.


#8

i’m seeing the same thing (deprecated message in Atom regarding Rhino)…

other than that, all is working normal here (i can run the script from Atom in Rhino…
autocomplete and help work for the rs.( ) stuff)

is your file saved as .py? the rhino stuff doesn’t work in the generic untitled file.


#9

are you using Atom 1.13.1?

guess it’s time to do a package dance


#10

Atom 1.13.1
rhino-python package 0.8.2

Rhino 5E12w (WIP)


#11

same here.

i just cleared out ~/.atom/storage and rebooted and i can run scripts again and autocomplete is working again. not sure if it was the reboot or deleting the files.

thanks for the replies, that let me know that running and autocomplete was on my end.


(Alain Cormier) #12

Great!
Even though it’s not a problem I just patched the package to take care of the deprecation warning.
Thanks.