Perl Dev Kit options disabled on Komodo's Tool menu

I have recently upgraded to the Perl Dev Kit 9.5. I have Komodo version 9.3.2, build 88191, platform win32-x86 and none of the PDK options are enabled in the Tools menu. How do I enable these?

Hi @9Nk6yKdr,

You need to point Komodo at your PDK install. You can specify that under Preferences > Languages > Perl > PDK.

That should enable things.

  • Carey

That didn’t work. They are still disabled. I’m on Windows 10 with Komodo IDE, version 9.3.2, build 88191, platform win32-x86 and PerlApp 64bit ver 9.5 Build 299500.

  • Have you tried restarting Komodo?
  • Does it work when restarting in safe mode? Help > Troubleshooting > Restart in Safe-Mode
  • Can you share your error log after opening the tools menu? Help > Troubleshooting > View Log File

I have restarted Komodo both normally and in safe mode. Unfortunately, it didn’t work in either case. Here is the log file:

[2016-01-29 11:32:27,404] [INFO] Startup: Welcome to Komodo IDE 9.3.2 build 88191 (platform win32-x86, running on Windows post2012Server version 6.3.9600)
[2016-01-29 11:32:27,404] [INFO] Startup: C:\Program Files (x86)\ActiveState Komodo IDE 9\lib\mozilla\komodo.exe built on Thu Dec 10 11:38:17 2015
[2016-01-29 11:32:28,009] [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 resource://gre/modules/Preferences.jsm:381
[2016-01-29 11:32:28,062] [WARNING] root: ko.logging has been converted to a CommonJS module; use require("ko/logging") instead (since Komodo 9.0.0a1).
    @chrome://komodo/content/komodo.js:15:1

[2016-01-29 11:32:28,663] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
  File "", line 0, in 

[2016-01-29 11:32:28,825] [WARNING] keybindings: [Ctrl+Shift+#] was used for 'cmd_uncomment', overriding to use 'cmd_uncomment'
[2016-01-29 11:32:29,713] [WARNING] koLanguageServiceBase.indenting: Found non-positive guess of 0 (min 1)
[2016-01-29 11:32:32,681] [ERROR] console-logger: While trying to require("spellcheck/spellcheck"): (0) in chrome://komodo/content/jetpack.js:156
Traceback (most recent call last):
  File "chrome://komodo/content/jetpack.js", line 156, in 

[2016-01-29 11:32:32,681] [ERROR] console-logger: Module `spellcheck/spellcheck` is not found at resource://gre/modules/commonjs/spellcheck/spellcheck.js (0) in chrome://komodo/content/jetpack.js:157
Traceback (most recent call last):
  File "chrome://komodo/content/jetpack.js", line 157, in 

[2016-01-29 11:32:32,697] [ERROR] console-logger: require@chrome://komodo/content/jetpack.js:154:20
doUpdateUI/this.spellcheck_timeout<@viewbufferbase:1132:25
 (0) in chrome://komodo/content/jetpack.js:160
Traceback (most recent call last):
  File "chrome://komodo/content/jetpack.js", line 160, in 

[2016-01-29 11:32:33,585] [INFO] elastic_tabstops: Elastic tabstops loaded.
[2016-01-29 11:32:33,617] [INFO] komodospellchecker: Spell checker loaded.
[2016-01-29 11:32:33,617] [INFO] komodospellchecker: Using dictionary en-US
[2016-01-29 11:32:34,733] [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:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%209/lib/mozilla/components/koamAddonManager.js:138

hey @9Nk6yKdr,

Can you make sure that you have compatible Perl and PDK installs? If you mix 64x Perl.exe with 32x PDK (or vice versa) it won’t work.

  • Carey

It runs as a standalone. I did have to reinstall the license for the PDK for some unknow reason.

Ok - I just checked again and I’m not sure what happened. But it suddenly started working. Thanks for your help.

PDK is a standalone tool yes, but it doesn’t ship with Perl in it. If your installed Perl is 32x and the PDK is 64x then you won’t be able to do anything. Komodo attempts to start the PDK with you configured Perl and if they aren’t compatible, it fails. That’s more of FYI than anything.

Glad it’s working for you!

  • Carey