Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Syntax Error: Conflicting variable name.
Topic Summary: AutoMate 5.5.1 and Windows 7 trying to run a task that works on XP.
Created On: 04/03/2014 05:07 PM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 04/03/2014 05:07 PM
User is offline View Users Profile Print this message

Author Icon
JacquiMaynes
n00b (>6 posts)

Posts: 4
Joined: 04/03/2014

Hi all,

Before anyone anyone says "buy a new version", believe me I've been screaming for one but cannot get permission yet.

Now the problem... I had several tasks that worked great on Windows XP.

We have been foreced to take up Windows 7 on these older boxes and now it seems this older version of AutoMate doesn't like it.

When trying to run these tasks now it says...

"Syntax Error:  Conflicting variable name.  Check that environment variables do not contain a restricted AutoMate Basic keywork.  (Public PUBLIC As variant)"

The step it's referring to has the variable name "pimLetterList" so I don't think that's a reserved word   (Also, these tasks worked previously.

Is this a known issue?

Is there a known work around for this version of AutoMate (5.5.1) when running in Windows 7?

Or is it simply... a case of THIS VERSION WILL NOT WORK IN WINDOWS 7?

Thanks all!

 

Regards,

J

 04/04/2014 06:49 AM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile
HelpSystems

Posts: 5454
Joined: 05/15/2007

Jacqui,

For many reasons, AM5 does not work in Windows 7! But unfortunately, I do not believe the issue you are experiencing is related to Windows 7. Would it be possible to post the contents of your task using the Attach Code button? We need to review the contents in order to further troubleshoot. I, myself am running AM5 on a Windows 8.1 machine but I am unable to unlock/logon the workstation of elevate privileges within a task. Those are the obvious and outstanding issues with AM5 with any Vista or higher machines and I'm sure there are other issues as well. But, like I mentioned, post your task and we'll see what we can do.




-------------------------

Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
 04/06/2014 06:38 PM
User is offline View Users Profile Print this message

Author Icon
JacquiMaynes
n00b (>6 posts)

Posts: 4
Joined: 04/03/2014

See below.  Thanks!




Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)
 04/07/2014 08:32 AM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile
HelpSystems

Posts: 5454
Joined: 05/15/2007

Hi Jacqui,

I am able to execute your task beyond step 3 where the variable pimLetterList is being created. Is the error at step 3? It's possible that there is a Windows environment variable on this machine with the same name.




-------------------------

Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
 04/07/2014 06:41 PM
User is offline View Users Profile Print this message

Author Icon
JacquiMaynes
n00b (>6 posts)

Posts: 4
Joined: 04/03/2014

Hi Leonard,

Thank you.

It's actually Step 10 that triggers the error. Seems declaring the variable (step 3) is OK, it's when I go to use it that the problems start!

I tried changing the variable name "FileIs" to "FileIs77" - but I still get this error...which I think is a red herring.

"Syntax Error: Conflicting variable name. Check that environment variables do not contain a restricted AutoMate Basic keywork. (Public PUBLIC As variant)"

I think is just must be an issue with Automate and Windows 7 (32-bit version BTW) and my Masters willjust need to spring for the later version. 

The Automate 5.5 program itself will run fine, but the tasks themselves just don't seem to like it when I try to use declared variables.

If you have any further thoughts let me know, but thank you for your help to date.

Regards Jacqui.

 

 04/07/2014 06:53 PM
User is offline View Users Profile Print this message

Author Icon
JacquiMaynes
n00b (>6 posts)

Posts: 4
Joined: 04/03/2014

Sorry - I am getting this task mixed up with another generating the same error.

Line 28 generates the error. The line where pimLetterList is used for the first time.

As I mentioned - declaring the vars is OK, using them is the problem!

 04/08/2014 05:03 PM
User is offline View Users Profile Print this message

Author Icon
Valentineo McGowan
HelpSystems

Posts: 766
Joined: 09/03/2013

Hello Jacqui,

Line 28 is 'loop list' action. I tested this on a Windows 8.1 machine and entered '140408' when prompted on step 26. The task had no issue on Step 28. The task finally through an error after looping several times until reaching step 122 due to no *.zip files being created.
I will retest on Windows 7, and share my findings.

-------------------------

Valentineo McGowan | Technical Consultant
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1 213.738.6966 | F: +1.213.738.7665
 04/10/2014 05:04 PM
User is offline View Users Profile Print this message

Author Icon
Valentineo McGowan
HelpSystems

Posts: 766
Joined: 09/03/2013

Hello Jacqui,

I re-tested this on a Windows 7 ultimate SP1 VM and entered '140410' when prompted on step 26. The task again had no issue on Step 28. The task through an error after looping several times again on step 122 due to no *.zip files being created.
Has Leonard stated earlier;
"It's possible that there is a Windows environment variable on this machine with the same name."

-------------------------

Valentineo McGowan | Technical Consultant
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1 213.738.6966 | F: +1.213.738.7665
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1425 guests browsing this forum, which makes a total of 1425 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog