Machsupport Forum

Third party software and hardware support forums. => Newfangled Solutions Mach3 Wizards => Topic started by: dr.fiero on September 15, 2012, 07:27:25 PM

Title: I broke it??
Post by: dr.fiero on September 15, 2012, 07:27:25 PM
I'm lost here...  and I'm usually the one that finds things!

I was running mach3 in demo mode.  Registered it (along with NFS).
All seemed to be fine BEFORE I registered, except of course it wouldn't post the g-code, as expected.
Now that I've put the .dat files in \mach3, I can't even get past "pick material" etc! Continue button does nothing except look like it's being clicked.

I just downloaded a 'fresh' copy of 2.86, deleted the old.  Rebooted mach (about 10 times).  Same thing.

Renamed the .lic file, now it says I'm un-licensed....  and doesnt work!

Whud-I-do?!

Title: Re: I broke it??
Post by: Ron Ginger on September 15, 2012, 08:48:01 PM
I suspect you have somehow deleted the Materials.txt file that should be in the Addons/Newfangled folder. The continue button tries to open that fie to get the material specs. If it gets an error the script just ends and doesnt go to the next screen.

A reinstall of the wizard ought to fix that.
Title: Re: I broke it??
Post by: dr.fiero on September 16, 2012, 12:55:40 AM
Just looked here.  Nope.

I even thought "oh!" - materialS.txt, and it came material(no S).txt -- that wasn't it either.  :(

I have:
 Volume in drive C is CNC_drive
 Volume Serial Number is D85E-B4E2

 Directory of C:\Mach3\Addons\Newfangled

09/15/2012  09:53 PM    <DIR>          .
09/15/2012  09:53 PM    <DIR>          ..
09/15/2012  04:03 PM    <DIR>          Bitmaps
05/23/2011  12:26 PM             2,457 ChangeLog.txt
09/15/2012  09:53 PM                 0 dir.txt
05/23/2011  12:19 PM               777 init.m1s
02/09/2007  03:50 PM               283 Material.txt
02/09/2007  04:16 PM             1,069 MaterialHelp.htm
02/09/2007  03:50 PM               283 Materials.txt
05/23/2011  12:44 PM           329,682 newfangled.set
05/23/2011  12:48 PM             2,602 newfangled.set.def
10/20/2007  03:33 PM             2,902 ToolHelp.htm
               9 File(s)        340,055 bytes
               3 Dir(s)  62,043,160,576 bytes free


So they're all there that I can see.  As I said, I had DL'd a fresh copy just in case, but no dice.
Title: Re: I broke it??
Post by: dr.fiero on September 16, 2012, 01:08:50 AM
Oh, and I just came upstairs and ran it on the machine that's in demo mode - works fine!

I'm going to add the license file to this one and see if I can break it too.  ;)


edit:  Nope - didn't break on this machine.

Ok - thought...  what if I'm missing a library or something on the other machine? 
I ran a windows update to see if it would add a file/patch/etc, but nothing. 
Does it use .net?  Something in VB maybe?  I don't write wizards (just Arduino stuff!), so I'm a but lost as to what to look for.
Title: Re: I broke it??
Post by: Ron Ginger on September 16, 2012, 08:11:47 AM
That is strange. Please try another of the Newfangled wizards, like copy cat or drillwiz. Also try another non-newfangled wizard. I want to see if this is wizard specific or a mach issue.

Actually, the wizard code never looks for the license, that is handled by mach when the wizard exits, not on startup, so I dont see how adding a license would stop the wizard.

What if you remove the license files from the c:\mach3 folder? dont loose them, make sure you have a copy somewhere else. Try removing wizlic.dat first, restart mach and see what happens. No need to re-boot, just a restart of mach.
Title: Re: I broke it??
Post by: dr.fiero on September 16, 2012, 09:09:33 AM
Pretty sure I tried that, but I'll do it again to be sure (I'm on my Mac upstairs right now).

One thing I was thinking, was I had recently done a lot of house cleaning on that machine trying to lean it out (kill MSN, etc).
Is it possible that a library/dependancy got wiped out when some random program got uninstalled?

Since NFS was unlicensed until a day or so ago, I hadn't used it since I initially installed everything in demo mode, so I wouldn't have noticed it's death.


Title: Re: I broke it??
Post by: Ron Ginger on September 16, 2012, 10:43:12 AM
Not likely to be another library. Mach is very self contained and doesnt require any other stuff.

We need to see if any VB buttons will work. On the main mach screen use the operator menu and select edit button script. That will cause all of the Vb buttons to blink. Click one of them and it will display the code in a window. Click the Run arrow in the top toolbar. That will run a VB script. You cannot do this on a newfangled wizard, they are password protected.

Title: Re: I broke it??
Post by: dr.fiero on September 16, 2012, 12:35:25 PM
Removed (well, renamed) the license, restarted. No go.
Tried to run VB scripts as above - works fine.
(and you're right - you ARE password protected! Had to try... heh)

Title: Re: I broke it??
Post by: dr.fiero on September 16, 2012, 12:55:43 PM
Removed the whole directory, RE-downloaded another fresh copy, copied it over, rebooted the whole computer (why not eh?!).

Still no dice.
Title: Re: I broke it??
Post by: Ron Ginger on September 16, 2012, 12:58:24 PM
does the button to select material work? It should display a list box of materials. Also try the Help button.

Title: Re: I broke it??
Post by: dr.fiero on September 16, 2012, 01:00:20 PM
Neither.  Tried them all (repeatedly!).  I'm so stuck in it, I have to load a different wizard just to 'back out' to the main screen!  :O

The buttons do have the appearance of being clicked, but they do nothing.
Title: Re: I broke it??
Post by: dr.fiero on September 17, 2012, 11:19:50 PM
So from a few background conversations going on...  it's looking like a problem with Active X, not Mach or NFS.

Will post more when it's fully resolved.
Title: Re: I broke it??
Post by: Ron Ginger on September 18, 2012, 07:42:19 AM
Ok, the line you are hitting tries to establish a fileSystem Object. I had not thought about that, but it likely does call outside Mach into some MS stuff. You must be right that its something you deleted from windows  if a clean mach install and a clean wizard instal doesnt fix it.

I am sorry,but I dont have anymore good ideas. Ill see if Brian has any.
Title: Re: I broke it??
Post by: dr.fiero on September 18, 2012, 08:58:39 AM
100% total Mach re-install didn't fix it.

Tried to install a VB6 update patch thinking that might install some missing files - it wouldn't run!
Sheesh...  at this rate it might be faster if I just reinstall windows from scratch!  :O

Anyone planning on porting Mach to Mac?  ;)
Title: Re: I broke it??
Post by: Ron Ginger on September 18, 2012, 10:28:19 AM
Quote
Anyone planning on porting Mach to Mac?  Wink

As a matter of fact, yes. V4 is being done with a cross platform tools. I have been trying to get the new wizards to compile on my mac,but no luck yet- actually very little work on it so far, to busy with the win version. Also planed for linux.
Title: Re: I broke it??
Post by: BR549 on September 18, 2012, 11:53:28 AM
Have you tried a system restore back to before you worked on it(;-)

Just a thought, (;-) TP
Title: Re: I broke it??
Post by: dr.fiero on September 20, 2012, 11:47:48 PM
Fixed it!

Wow - what a gong show.
And what any easy fix in the end....

regsvr32 scrrun.dll

Done.  Really!  That was it.
Title: Re: I broke it??
Post by: Ron Ginger on September 21, 2012, 07:58:57 AM
Happy to hear you found it. How did you do that? Was the .dll still on your machine, just not registered?
Title: Re: I broke it??
Post by: dr.fiero on September 21, 2012, 08:01:05 PM
That's what it looks like.  

I can only assume that as I was stripping the machine down to it's skivvies, one of those programs must have de-registered (but not deleted) the DLL.
And since I'd taken SO many thing off at once, I had no idea which one was the culprit!

So, I started googling various phrases of the error message.  Came up with a common theme amongst all of them and tried it.

-poof- fixed!