Issue with CodeBlock in v14.2

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
hagchr
Automation Wizard
Posts: 331
Joined: Mon Jul 05, 2010 7:53 am
Location: Stockholm, Sweden

Issue with CodeBlock in v14.2

Post by hagchr » Sat Nov 08, 2014 1:12 pm

Hi, I just downloaded v14.2 and it gives me problem with CodeBlock. Says "Error in _debug.dbg...". Bug or do I need to modify something to use the new version?

Code: Select all

CodeBlock
    MessageModal>Hello
EndCodeBlock

hagchr
Automation Wizard
Posts: 331
Joined: Mon Jul 05, 2010 7:53 am
Location: Stockholm, Sweden

Re: Issue with CodeBlock in v14.2

Post by hagchr » Mon Nov 10, 2014 11:02 am

I tried to re-install v14.2 and also on a separate machine but I still cannot run my old scripts that are using CodeBlock so I will need to revert back to the previous installation. Also I cannot seem to find a place to submit a support ticket (was it (re)moved?) so I repost it here:

Full error message I get is:

Error in: _debug.dhg
Line xx - Missing parameters in function call (minimum of 3 expected)

this also for the simple example mentioned before:

Code: Select all

CodeBlock
    MessageModal>Hello
EndCodeBlock

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Issue with CodeBlock in v14.2

Post by Marcus Tettmar » Mon Nov 10, 2014 2:38 pm

This is fixed in 14.2.01 which you can download NOW!

:oops: apologies :oops:
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Issue with CodeBlock in v14.2

Post by Marcus Tettmar » Mon Nov 10, 2014 2:41 pm

No, we certainly haven't removed the ability to email support. You can do one of the following:

1. Email support AT mjtnet.com or support AT macroscheduler.com

2. Click the green "Help" or "Chat" tab that you see on the left of any page.

3. Click Support in the menu bar of the site to go to the knowledge base. Once there click "Contact" at the top right.

4. Click on "About Us" in the menu bar and then "Contact Us".

5. Or go direct to:
https://www.mjtnet.com/contact.htm
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

hagchr
Automation Wizard
Posts: 331
Joined: Mon Jul 05, 2010 7:53 am
Location: Stockholm, Sweden

Re: Issue with CodeBlock in v14.2

Post by hagchr » Mon Nov 10, 2014 3:00 pm

New version works great, many thanks for the update.

User avatar
Grovkillen
Automation Wizard
Posts: 1132
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Issue with CodeBlock in v14.2

Post by Grovkillen » Tue Nov 11, 2014 7:28 pm

Hate to start a new thread, hate to steal this one... but:

1. I have found that clicking on the new features "PyExec", "JSONParse", "XMLParse", and "CountDirs" in the Code Builder tab won't put the command in the script window. I guess this is a small bug? (using v14.2.01)

2. Also, auto complete is not working when typing the commands (mentioned above) in the script window.

3. The script command help (at the bottom of the script window) is blank when using these commands.

4. Right click on any of these commands will not let you go to "Code Builder".

5. (Just a though) Shouldn't the Method picker be a drop down window in the Code Builder window for "HTTPRequest"? We now have may options to pick...

I have not yet tried anything using Python but I can imagine it to be a huge thing. I just need to learn how to use it! :)
Let>ME=%Script%

Running: 15.0.27
version history

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Issue with CodeBlock in v14.2

Post by Marcus Tettmar » Mon Nov 17, 2014 4:32 pm

Erm. Can't replicate. This smacks of an incomplete installation to me.

Specifically it sounds like the new comdef.ini file (which defines the code builder and auto-complete values) is not installed.

Either 1) Try installing again, or 2) copy comdef.ini from the Samples folder inside the Macro Scheduler 14 *program folder* to your Macro Scheduler data folder (usually My Documents/Macro Scheduler 14) and then see if problem is resolved.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
Grovkillen
Automation Wizard
Posts: 1132
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Issue with CodeBlock in v14.2

Post by Grovkillen » Sun Nov 23, 2014 10:08 am

Marcus Tettmar wrote:2) copy comdef.ini from the Samples folder inside the Macro Scheduler 14 *program folder* to your Macro Scheduler data folder (usually My Documents/Macro Scheduler 14) and then see if problem is resolved.
I tried this and it fixed my problem. Thanks! :)
Let>ME=%Script%

Running: 15.0.27
version history

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts