I'm still trying to debug the crash, but the attached patch should fix the files not found issue.
On Sun, Feb 25, 2018 at 7:16 PM, Andy Peters <de...@latke.net> wrote: > > > On Feb 25, 2018, at 5:11 PM, Jon Evans <j...@craftyjon.com> wrote: > > Hmm, can't reproduce on Linux (when loading job file, it successfully > finds the Gerbers in the same directory as the job file) > > Do you have the ability to build a debug build and get a stack trace of > the crash? > > > -Jon > > > Dunno if this is helpful, but attached is the stack trace report that can > be sent to Apple upon a crash. (unzip, it’s text). > > -a > > > > > On Sun, Feb 25, 2018 at 7:02 PM, Andy Peters <de...@latke.net> wrote: > >> On macOS High Sierra, latest updates. >> >> I want to send boards out to fab and I’m checking Gerbers. When >> generating the files, I check the “create job file” option. >> >> I launch GerbView from the Kicad project manager. From the GerbView menu, >> I choose “Load Gerber Job File.” The File Open dialog box starts in my >> project’s directory (good!). The Gerbers are in the Gerber/ subdirectory of >> my project, so I mouse to that, and select the .gbrjob file. >> >> Upon opening, I’m greeted with a Warning message box: >> >> File “/Applications/Kicad/myproj-F.Cu.gtl” not found. >> >> Click OK, GerbView crashes and generates a report to send to Apple. This >> is repeatable. >> >> I look in the job file. There are no paths for any of the Gerber files. >> So why does GerbView assume that the files are in the application >> installation directory? >> >> GerbView will happily open individual files. But the job file parsing >> logic is broken. >> >> -a >> >> >> Application: kicad >> Version: (5.0-dev-4161-g9483960), release build >> Libraries: >> wxWidgets 3.0.4 >> libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.11 nghttp2/1.24.0 >> Platform: Mac OS X (Darwin 17.4.0 x86_64), 64 bit, Little endian, wxMac >> Build Info: >> wxWidgets: 3.0.4 (UTF-8,STL containers,compatible with 2.8) >> Boost: 1.61.0 >> Curl: 7.43.0 >> Compiler: Clang 7.3.0 with C++ ABI 1002 >> >> Build settings: >> USE_WX_GRAPHICS_CONTEXT=ON >> USE_WX_OVERLAY=ON >> KICAD_SCRIPTING=ON >> KICAD_SCRIPTING_MODULES=ON >> KICAD_SCRIPTING_WXPYTHON=ON >> KICAD_SCRIPTING_ACTION_MENU=ON >> BUILD_GITHUB_PLUGIN=ON >> KICAD_USE_OCE=ON >> KICAD_SPICE=ON >> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~kicad-developers >> Post to : kicad-developers@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~kicad-developers >> More help : https://help.launchpad.net/ListHelp >> > > > Andy Peters > 5511 E Rosewood St > Tucson, AZ 85711 > 520-907-2262 <(520)%20907-2262> > de...@latke.net > > > > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > >
0001-Use-proper-path-when-loading-files-from-Gerber-job-f.patch
Description: Binary data
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp