← Back to team overview

kicad-developers team mailing list archive

Re: gerbview on macOS path issue for job files

 

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

On Sun, Feb 25, 2018 at 7:02 PM, Andy Peters <devel@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References