Hello Guest it is April 16, 2024, 07:26:15 AM

Author Topic: Machscreen creates corrupt files ?  (Read 9667 times)

0 Members and 1 Guest are viewing this topic.

Offline tmead

*
  •  62 62
    • View Profile
Machscreen creates corrupt files ?
« on: November 03, 2010, 09:50:50 AM »
I've used Machscreen a couple of times, and have been very happy witht eh improvements over previous editors. But sadly I am having to go back to Mach3Screen at the moment because there are no garantees that the .set files are readable. I've used machscreen to develop a screen set for a piece of lab equipment we're using, and have been saving versions along the way. Just recently I have made some mods to the layout and code and then saved a new version. The mods were to add some additional DROs to the screen. No code or anything.

This version crashes Mach when I load it, starting with an error message saying 'An attempt was made to access an unnamed file past its end', and then when Mach is closed there is a message box sitting behind, showing ' Error found, Art Code 9991, Attempt Recovery? with yes/no buttons. Yes doesn't clear it, and no leads to the MS erorr mesasge about closign due to a problem.

The file cannot be opend in Screen4 'Unexpected file format' or mach3screen 'Unexpected file format' and MS error message.
It also cannot be opened in machscreen, showing 'unexpected end of file'.

I'd welcome your comments about what i'm doing wrong ?

The file attached is an .sset file which has been renamed to .set temporarily so that it can be attached, but the effect is the same if the file is saved as .set or .lset from machscreen.


Tim
Re: Machscreen creates corrupt files ?
« Reply #1 on: November 03, 2010, 11:54:08 AM »
Hi Tim

I got the same problem end of file error with your file

MachScreen should have saved some backups, 10 is the default so there may be a version you can go back to.

MachScreen has been very good, and you are the first with a catastrophic failure such as this.

Definitely one for Klaus
The Good Thing About Mach3, Is It's very Configurable

The Bad Thing About Mach3, Is It's Too Configurable

Offline tmead

*
  •  62 62
    • View Profile
Re: Machscreen creates corrupt files ?
« Reply #2 on: November 03, 2010, 12:47:52 PM »
Feels good to be breaking new ground !

 :-\
Re: Machscreen creates corrupt files ?
« Reply #3 on: November 03, 2010, 05:21:12 PM »
Hi tmead,

the problem you are experiencing is a bug in MachScreen. This happens if the length of the saved G-Code string is exactly 255 bytes. I'll put a corrected program version to my website tomorrow. Here is your corrected set-file.



Klaus
The brain isn't a soap, it doesn't shrink when used.

Offline budman68

*
  • *
  •  2,352 2,352
    • View Profile
Re: Machscreen creates corrupt files ?
« Reply #4 on: November 04, 2010, 05:17:19 AM »
I know it's been said before, but I'm saying it again.

Klaus, you are indeed an excellent example of customer service, and for a FREE program!  8)

Thanks,
Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)

Offline tmead

*
  •  62 62
    • View Profile
Re: Machscreen creates corrupt files ?
« Reply #5 on: November 04, 2010, 10:46:54 AM »
Klaus - you're a star !

Many thanks for the incredibly prompt response !

Tim

Offline tmead

*
  •  62 62
    • View Profile
Re: Machscreen creates corrupt files ?
« Reply #6 on: November 04, 2010, 12:25:33 PM »
Hi Klaus,

I'm getting a 404 from your V1.44.5.exe download page ?

Tim
Re: Machscreen creates corrupt files ?
« Reply #7 on: November 04, 2010, 12:34:27 PM »
Hi Tim,

I don't know what happend, the program-file was deleted on my website, sorry. I've uploaded it again, it should work now.


Klaus
The brain isn't a soap, it doesn't shrink when used.

Offline tmead

*
  •  62 62
    • View Profile
Re: Machscreen creates corrupt files ?
« Reply #8 on: November 05, 2010, 10:12:00 AM »
Many thanks Klaus - it worked a treat !

Just a thought - I'm an old fashioned keyboard user, and have noticed that I need to use the mouse to select from the drop down menus. For example, I can press Alt-F to get the file menu, but then there are no keyboard shortcuts to the menu items, and the cursor keys still move around the last selected object on the screen layout rather than scrolling up and down the list.

I'm no windows programmer, so I have no idea how big a deal this would be !

It's not particularly important, and I'm delighted with the editor as it is.

Tim
Re: Machscreen creates corrupt files ?
« Reply #9 on: November 05, 2010, 12:56:23 PM »
Hi Tim,

due to the multi lingual concept I'm using, it would need a lot of work to implement the shortcuts. At the moment I don't see an chance to do that.

Klaus
The brain isn't a soap, it doesn't shrink when used.