Mailing list archives : pcb-rnd

ID:3455
From:Bob Paddock <gr...@gmail.com>
Date:Thu, 17 Oct 2019 09:37:59 -0400
Subject:[pcb-rnd] Windows XY export was experimental windows port - looking for testers
in-reply-to:3430 from ge...@igor2.repo.hu
replies: 3461 from ge...@igor2.repo.hu
I had a reason to try this for a real world issue.
I loaded a .pcb file crated with PCB on May/20/2013.
 
I wanted to export the XY file, via "Export to File".
The top of the dialog showed a path to my working directory.
I selected XY as the exporter, with a units of mm, and hit the Export button.
 
Nothing appeared to happen (seems to be the case with any export
working or not).
 
I looked for the XY file in my working directory.  Nothing there.
 
I hit Export again.  Again nothing happened.
 
Still no file.
 
I filled in the 'CAM' entry of the dialog not knowing what that was
with a file name,
thinking maybe it was required.  What is this actually for?
 
I hit Export again.
 
Nothing appeared to happen, no file in my working directory.
 
I hit Export again this time a dialog popped up asking if I wanted to
overwrite the existing file
(that is still not in my working directory shown at the top of the
Export dialog).
 
After a LOT of searching I found the XY file in the /path/bin
directory were pcb-rnd.exe lives.
The file was named what I typed in the 'CAM' dialog box.
 
I also noted that .backup files are also being written to the
/path/bin directory.
Writing anything in this directory, after install, in Windows could be
considered a security risk.
 
So two problems here:
1) The path and file name of the file to be exported is not being used
for XY and some others.
2) Should never write to /path/bin under Windows.
 
I tried some of the other exporters such as ps and eps and those did
correctly end up in
the working directory matching what the top of the Export dialog showed.
Their backup file was also in the working directory.
 
I found that the BOM exporter also write into the /path/bin directory
with the file name from CAM entry.
 
I did not try all of the exporters.
 
Bottom line, some Export to File are doing the correct thing by
matching the path and file name the dialog shows,
others are being written to the /path/bin directory with the CAM file name.
 
Windows 10 Pro.  US layout.
x86_64
 

Reply subtree:
3455 [pcb-rnd] Windows XY export was experimental windows port - looking for testers from Bob Paddock <gr...@gmail.com>
  3461 Re: [pcb-rnd] Windows XY export was experimental windows port - from ge...@igor2.repo.hu
    3467 Re: [pcb-rnd] Windows XY export was experimental windows port - from Bob Paddock <gr...@gmail.com>
      3468 Re: [pcb-rnd] Windows XY export was experimental windows port - from ge...@igor2.repo.hu
        3470 Re: [pcb-rnd] Windows XY export was experimental windows port - from Bob Paddock <gr...@gmail.com>
          3471 Re: [pcb-rnd] Windows XY export was experimental windows port - from ge...@igor2.repo.hu