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
Errors trying to create language extension #514
Comments
I confirmed that this works correctly on 9.1 |
Cannot reproduce. Can you provide the exact steps, including what you filled out in the wizard? |
I opened it via Project -> New From Template -> Create Komodo Language To test, I left all the fields at default except for language name (LScript) and file extension (.ls) |
Are you certain you had write permissions to the location where you chose to save the files? |
I think I'm seeing the same thing (KE 9.2.0, Vista 32 bit), using The path is writable and not special in any way. The Could the extraneous double quotes in the filenames be causing a problem? shrug Here's the log:
|
I see the same errors after creating a regular extension, too. (KE 9.2.0, Vista 32bit) |
@mitchell-as could you please look into this for 9.2.1? I think it might be windows only. @ervumlens - woah, vista? Living life on the edge huh :p |
@Naatan I confirm this is a bug and was introduced in 9.2. It works just fine in 9.1. I don't know what might have caused it though. |
Floating quotes in the path produces the error.
I'll test this some more in Windows 6 once the hard drive light stops flashing for no reason. |
Here's a macro that shows the problem a little clearer. First create a file named //This is a javascript macro
var koext = ko.koextgen.extensionLib;
var filename = koext.getProjectPath('testfile.js');
alert("filename: " + filename);
alert("contents: " + koext.readFile(filename)); In Windows, In KE 9.1, the contents are displayed correctly. In 9.2, the contents fail to display. |
Awesome job tracking that down @ervumlens, that will make fixing this a ton easier. |
…ows - fixes #514 The issue this commit was originally trying to address needs to be fixed at a higher level. Revert "Fixed an error in the Run service" This reverts commit 03e692d84437518677e38729c4d1ff54306462a9. (integrated from master branch change 9.2.1-214-gc57a733 by Nathan Rijksen <n.rijksen@gmail.com>)
Komodo 9.2/Win7 x64
When I try to use the language extension template, after filling out the form I get these errors:
I checked the directory where I put the project and there's only a ".komodotools" directory and the project file, it doesn't appear to have written the source files. I tried different paths as well as filling only the minimal amount in the form in case something I was adding was breaking it, but that didn't seem to help.
The text was updated successfully, but these errors were encountered: