kicad-developers team mailing list archive
Mailing list archive
Re: pcbnew fix: project file location
Since there was some work done in this area recently, it would be
interesting to know the version number.
Even better would be for you to test the latest testing source code.
On 03/11/2013 08:42 AM, Sergey A. Borshch wrote:
> Hello everybody.
> If pcbnew launched with <board_file>.brd as cmd-line argument (just filename,
> without absolute path), attempting to load file from current directory, pcbnew
> loads settings from kicad.pro in the templates directory instead of
> <board_file>.pro in the current directory.
> It happens because pcbnew creates wxFileConfig with <board_file>.pro as
> local_file constructor argument. According to wxFileConfig documentation it
> means that config file location will be transformed to ~/.<board_filename>.pro
> which is not exist, and after failing to read values from this wrong location
> pcbnew falls back to loading default settings from kicad.pro
> In the same launching eeschema correctly detects config file name as
> Attached path fixes bug by converting <board_file>.pro to
> <absolute_path>/<board_file>.pro in the same way as eeschema does.
> 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