Keyboard Shortcuts
Likes
Search
#pcbgcode #development
#pcbgcode
#development
Having used PCB-GCODE for more than 6 years and seen that an new updated Version 3.6.6 was available, I decided to download and give it a try.?? Not wishing to damage the original running version, I installed it in my "Downloads" folder.
Starting the setup ulp from an existing Eagle design appeared problem free and I was able to set up all parameters without any problems, however as soon as I clicked on "Accept and make my board" an error pop up appeared!!? I've no idea what this file is about or how I should create it. See attached screen shot Fortunately reverting back to? Rev 3.6.2.4 was problem free, apart from some of the machine parameters having been "fiddled" with in the interim Please can someone lighten my darkness. Thanks |
开云体育
Hey,
The picture is not very sharp but it seems to complain about a file which we can not be opened.? Can you re upload the image with higher quality or give us the text of the error? Thanks Tobi 05.10.2022 19:29:09 peterg1000 via groups.io <petergharrison@...>: Having used PCB-GCODE for more than 6 years and seen that an new updated Version 3.6.6 was available, I decided to download and give it a try.?? Not wishing to damage the original running version, I installed it in my "Downloads" folder. |
开云体育
This error seems to be somehow identical to the one I had a few days ago by using the latest version of eagle 9.6.2 on my Linux computer (but I installed the windows version using wine).
However, i just downloaded Eagle 9.6.2 on my Linux machine and used the latest version of the pcb-gcode and it worked quite nicely. 05.10.2022 23:13:15 peterg1000 via groups.io <petergharrison@...>:
|
开云体育Hi Guys, ? One thing I have noticed in the past is that pcbgcode does not like non alpha characters in the directory path names. I had a new laptop setup by our IT dept and they include an apostrophy in the PC name and hence directory paths for everything and that broke everything. While windows and possibly linux accept it nowadays I suspect it’s a bit of a legacy code or perhaps a limitation of the compiler used. Anyway found a space wasn’t working either. Had to reset up without any of the IT’s special characters and it all worked again. (albeit with a day wasted formatting and reinstalling everything. Well IT’s day not mine. I just got to point the finger ? ) ? ? From: [email protected] <[email protected]>
On Behalf Of Tobias Holzmann via groups.io
Sent: Thursday, 6 October 2022 8:45 AM To: [email protected] Subject: Re: [pcbgcode] #pcbgcode #development ? This error seems to be somehow identical to the one I had a few days ago by using the latest version of eagle 9.6.2 on my Linux computer (but I installed the windows version using wine).
? 05.10.2022 23:13:15 peterg1000 via groups.io <petergharrison@...>:
|
开云体育Hm. Could be a space problem in the path (as others have said). Also, be sure your Downloads folder is the first entry in Eagle control panel's Options | Directories. Here's something else you could try. In pcb-gcode-setup.ulp, change this line (nearly the last in the file) m_cmd = "run " + g_path + "/pcb-gcode;\n"; to this: m_cmd = "run \"" + g_path + "/pcb-gcode;\"\n"; Note there are two added \" in the string. Let us know how it goes. --John
On 10/5/22 13:28, peterg1000 via
groups.io wrote:
Having used PCB-GCODE for more than 6 years and seen that an new updated Version 3.6.6 was available, I decided to download and give it a try.?? Not wishing to damage the original running version, I installed it in my "Downloads" folder. |
Hi John,
Checked the Eagle directory paths and added the one for downloads - no change to error situation. Modified both lines containing ? [ m_cmd = "run " + g_path + "/pcb-gcode;\n";] to [m_cmd = "run \"" + g_path + "/pcb-gcode;\"\n";] by cut and paste - again no change to error situation. E Now for a stupid idea !!? Cut and pasted the end code of ver3.6.2.4? below? to replace the exit command setup code of ver 3.6.6. OMG - IT WORKED !!!!!?? Generated all the requested files and terminated correctly (I have had some hangups on 3.6.2.4 - but that's another story and probably not relevant here) Hope this hasn't given you another headache!! Regards? Peter // Setup the appropriate exit command. // m_cmd = ""; switch (Result) { ?? ?// Accept ?? ?case 1: ?? ???? if (m_setup_was_changed) ?? ???? ??? m_cmd = "run pcb-gcode-setup;\n"; ?? ???? break; ?? ?// Accept and make board ?? ?case 2: //??? dlgMessageBox("g_path = \"" + g_path + "\""); ?? ???? m_cmd = "run pcb-gcode;\n"; ?? ???? break; } exit(m_cmd); Late edit:- Even though the gcode files are seem correct, the programme does not save any altered parameters and appears to look for a file in ver 3.6.2.4.? - this gives rise to an error popup window. ? I'll investigate further and update this post if appropriate. Even later edit - Confirmed that ver 3.6.6 is actually creating the files - I began to wonder when an? error popup apeared (a total of 7 times) during programme execution - selected "OK"? each time to move on. Changes to the setup were not saved - defaults appeared each time the programme executed. At this stage I appear not to be able to add a picture, so will post it separately. ? ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? |
Hi,
I also had that problem. It seems that there is no file called optimize_me.txt in that folder. I tried to things both worked for me. 1. I copied the optimize_me.txt from the 3.3.4 package (then, just in case there is something special for the 3.3.6 version, I deleted it again and....) 2. gave the <...>/data/ directory read/write permissions for users. (Reran the program and it created a new optimize_me.txt) -- Regards, M. |
Hi Martin,
Strange, I have multiple copies in the "Viewer" folder i.e. in [C:\Users\Peter Harrison\Documents\pcb-gcode\viewer\applet\data] and [C:\Users\Peter Harrison\Documents\pcb-gcode\viewer\application.linux\data]? etc. According to the error popup, the programme isn't looking in the correct place.? As I commented before, there could be a problem with a directories list. Regards, Peter. |
I've done some more investigation into ver 3.6.6 by fudging the exit of the setup url.
Substituting?? [ m_cmd = "run pcb-gcode-setup;\n"; ]????? for?? [ m_cmd = "run " + g_path + "/pcb-gcode;\n"; ] allowed me to bypass the space in my user name.? (this is allowable in Windows, so must surely be a ulp language problem??). ? The setup url now runs, but has a really odd (and annoying) problem whereby changes to machine setup (in version 3.6.6) are not saved in "C:\Users\Peter Harrison\Documents\pcb-gcode\Settings", but instead appear in the settings folder of my earlier version 3.6.2.4 which is located in "C:\Users\Peter Harrison\AppData\Local\Pcb-gcode".? I guess I'll still be using ver 3.6.2.4 for a while!! Hope this is useful information. Peter H |