error occured while writing toolpath to file ...

This forum is for general discussion about PhotoVCarve.
Post Reply
DizzyG
Posts: 10
Joined: Thu Oct 13, 2022 4:31 am
Model of CNC Machine: Onefinity Journeyman x50
Location: Gray TN

error occured while writing toolpath to file ...

Post by DizzyG »

A project I'm working on keeps giving me an "error occured while writing toolpath to file ..." message says to "Check that the file is not read only," (it's a new file as I've deleted all old .ngc files) "is not open in another application," (no other applications are using it), and "there is sufficient disk space available" ( there's over 930Gb available AND I've tried a different drive). Anyone have any ideas before I reload software?

Thanks, Eric
SaveVCarveErrorMsg.png
Why do it, if you're not going to do it right the 1st time?

User avatar
adze_cnc
Vectric Wizard
Posts: 5204
Joined: Sat Jul 27, 2013 10:08 pm
Model of CNC Machine: AXYZ 4008 (VCarve Pro v9.519)
Location: Vancouver, BC, Canada

Re: error occured while writing toolpath to file ...

Post by adze_cnc »

I expect that it is the "\" in the file nam. Try "_" instead.

DizzyG
Posts: 10
Joined: Thu Oct 13, 2022 4:31 am
Model of CNC Machine: Onefinity Journeyman x50
Location: Gray TN

Re: error occured while writing toolpath to file ...

Post by DizzyG »

Nice catch, unfortunately that was not the fix, although it led me to the fix. I'm sure the "\" did not help but I had to remove the inch ( " ) punctuation from the file name also.

Thank you, your suggestion led me down the path to get it fixed.

Eric
Why do it, if you're not going to do it right the 1st time?

robsandstrom
Posts: 9
Joined: Wed Apr 29, 2020 3:34 pm
Model of CNC Machine: Laguna IQ

Re: error occured while writing toolpath to file ...

Post by robsandstrom »

Someone getting error message while trying to output toolpaths....any ideas

VCarve Desktop - Error occurred while writing to path to File …..

C:\Users\Owner\OneDrive\Documents\VCare Designs\Profile 2-OCBS – Leafs - 1 – 1 – 2025_Leafs-profile 2-Boom \ Shield_1-Profile 3.tap" ( Depending on which one the tool path I was trying to get")

User avatar
Rcnewcomb
Vectric Archimage
Posts: 6379
Joined: Fri Nov 04, 2005 5:54 am
Model of CNC Machine: 24x36 GCnC/WinCNC with ATC
Location: San Jose, California, USA
Contact:

Re: error occured while writing toolpath to file ...

Post by Rcnewcomb »

The mix of em bar (–) and hyphen (-) characters can sometimes be problematic.

For General Reference
In Windows the forbidden printable ASCII characters are:
< (less than)
> (greater than)
: (colon - sometimes works, but is actually NTFS Alternate Data Streams)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)

Non-printable characters: 0-31 (ASCII control characters)

The following filenames are reserved:
CON, PRN, AUX, NUL
COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9
LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9

Filenames cannot end in a space or dot.

There are an infinite number of names composed only of valid characters that are forbidden. For example, spaces and dots are valid filename characters, but names composed only of those characters are forbidden.
- Randall Newcomb
10 fingers in, 10 fingers out, another good day in the shop

User avatar
adze_cnc
Vectric Wizard
Posts: 5204
Joined: Sat Jul 27, 2013 10:08 pm
Model of CNC Machine: AXYZ 4008 (VCarve Pro v9.519)
Location: Vancouver, BC, Canada

Re: error occured while writing toolpath to file ...

Post by adze_cnc »

There are three em dashes in this sample (the - following Leafs is not):

OCBS – Leafs - 1 – 1 – 2025

Post Reply