Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.16k stars 302 forks source link

Save As Userscript doesn't work for macros #1010

Open tuckdesign opened 8 years ago

tuckdesign commented 8 years ago

Go to Tools->Macros->Start recording. Record Macro and click on 'Stop recording' Now go to Tools->Macros->Save As Userscript

Popup to enter macro name shows up but komodo gets stucked there. Eventually I am able to enter few letters (but very slowly). At the end need to force shutdown Komodo and can not save macro.

Using: Komodo IDE, version 9.3.2, build 88191, platform macosx. Built on Thu Dec 10

mitchell-as commented 8 years ago

Hi, I'm not able to reproduce this on Mac OSX. When this happens, would you please post the contents of your error log? http://docs.komodoide.com/Troubleshooting/Where-does-Komodo-log-errors

Note that Komodo clears the contents of that log file every time you start it back up. So please send us the contents right after you have to force quit Komodo and before you open it again. Thanks!

tuckdesign commented 8 years ago

pystderr.log.zip

I think this part is interesting: [2016-01-19 16:01:45,368] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in file:///Applications/Komodo%20IDE%209.app/Contents/Resources/components/koamAddonManager.js:138 [2016-01-19 16:01:45,661] [INFO] komodospellchecker: Spell checker loaded. [2016-01-19 16:01:45,661] [INFO] komodospellchecker: Using dictionary en-US [2016-01-19 16:01:45,700] [INFO] elastic_tabstops: Elastic tabstops loaded.

I don't have spell checker enabled, and don't have any add-ons installed.

Naatan commented 8 years ago

That appears to be a clean log. Did you follow @mitchell-as's instructions? Ie. reproduce the issue, then copy the error log "before" restarting Komodo.

tuckdesign commented 8 years ago

Yes. I took log after 30 min Komodo was freezed and couldn't put it back in foreground on desktop. Didn't restart it.

mitchell-as commented 8 years ago

@Naatan is it possible for the "Save As Userscript..." dialog to start outside the KOMODO_USERDIR/tools directory? If so, perhaps the current directory (whatever it is) is a remote one that isn't accessible (hence the hang). Just an idea.

Naatan commented 8 years ago

Could be. @tuckdesign does the same issue happen when you hit File > Open > File?

tuckdesign commented 8 years ago

No, never happened there.