New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Sublime Snippets Error - Komodo IDE #2471

Closed
stikx2432 opened this Issue Apr 9, 2017 · 10 comments

Comments

Projects
None yet
4 participants
@stikx2432

stikx2432 commented Apr 9, 2017

Short Summary

Import Sublime Snippets Folder error.

Steps to Reproduce

Import https://github.com/jprichardson/sublime-js-snippets

Expected results

Import folder of sublime snippets in to Komodo

Actual results

I noticed that a new folder was created called 'sublime-converted-snippets ' in the folder of the snippets I try to import.
A popup with the error below shows

Something went wrong importing your snippets: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [koIToolbox2Service.importDirectory]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://komodo/content/toolbox/toolbox2_command.js :: this.importSublimeSnippetFolder :: line 433" data: no]

Platform Information

IDE 10.2.1 + 10.2.2

Additional Information

I only copied what was relevant from the log.

[2017-04-09 12:49:08,323] [ERROR] sublime-converter: Folder Conversion Failed: global name 'WindowsError' is not defined
[2017-04-09 12:49:08,327] [ERROR] ko.toolbox2: 
-- EXCEPTION START --
Something went wrong importing your snippets: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [koIToolbox2Service.importDirectory]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: chrome://komodo/content/toolbox/toolbox2_command.js :: this.importSublimeSnippetFolder :: line 433"  data: no]
+ 0 (string) Something went wrong importing your snippets: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [koIToolbox2Service.importDirectory]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: chrome://komodo/content/toolbox/toolbox2_command.js :: this.importSublimeSnippetFolder :: line 433"  data: no]
-- EXCEPTION END --

Also created a folder 'sublime-converted-snippets' in the folder of the snippets I was trying to import

Something went wrong importing your snippets: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [koIToolbox2Service.importDirectory]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://komodo/content/toolbox/toolbox2_command.js :: this.importSublimeSnippetFolder :: line 433" data: no]

@Defman21

This comment has been minimized.

Contributor

Defman21 commented Apr 9, 2017

Please attach your log file as well. (Help - Troubleshooting - View Log File).

@Naatan

This comment has been minimized.

Member

Naatan commented Apr 10, 2017

Actual results
Error

Please supply the actual error you received.

Also created a folder 'sublime-converted-snippets' in the folder of the snippets I was trying to import

That is not a valid way of importing sublime snippets, it will certainly not work.

Have you tried importing the snippets one by one?

@Naatan

This comment has been minimized.

Member

Naatan commented Apr 10, 2017

Reproduced the issue. @cgchoffman I think there might be a problem with unix paths, as I can repro even with an empty directory.

@Naatan Naatan added this to the 10.2.2 milestone Apr 10, 2017

@cgchoffman

This comment has been minimized.

Member

cgchoffman commented Apr 10, 2017

Thanks for the report @stikx2432: Komodo/KomodoIDE@862f55d

@cgchoffman cgchoffman closed this Apr 10, 2017

@cgchoffman cgchoffman reopened this Apr 10, 2017

@cgchoffman cgchoffman closed this Apr 10, 2017

@cgchoffman cgchoffman reopened this Apr 10, 2017

@cgchoffman cgchoffman closed this Apr 10, 2017

@cgchoffman cgchoffman reopened this Apr 10, 2017

@Defman21

This comment has been minimized.

Contributor

Defman21 commented Apr 10, 2017

lol

@Naatan

This comment has been minimized.

Member

Naatan commented Apr 10, 2017

We're testing out a new tool. @cgchoffman had to tame it.

@Defman21

This comment has been minimized.

Contributor

Defman21 commented Apr 10, 2017

gotcha

@cgchoffman

This comment has been minimized.

Member

cgchoffman commented Apr 10, 2017

@stikx2432, sorry for the noise. Here's a helpful message though! This fix will be in a nightly tomorrow that you can try out if you're interested. I'll set a reminder to my self to notify here when it's ready.

@stikx2432

This comment has been minimized.

stikx2432 commented Apr 10, 2017

@Naatan Naatan closed this Apr 10, 2017

@cgchoffman

This comment has been minimized.

Member

cgchoffman commented Apr 11, 2017

Bits has been staged, They will be accessible here around 12pm (lunch) PST: http://downloads.activestate.com/Komodo/nightly/komodoide/latest-10.2.x/

Should be build number 89881.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment