Assert in eeschema during Remap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Low
|
Wayne Stambaugh |
Bug Description
I'm trying to open a schematic created with a version of Kicad that I built from git master before all the recent major changes to the library system. The eeschema program was configured to use the libraries on github, then local libraries, then my own custom libraries. I'm getting an assert when eeschema enters the Remap process.
I get the following assert:
/home/kcozens/
Minor point: the word "Arguement" appears to be in French or the extra e is a typo.
I modified the code to show the file path it didn't like:
wxCHECK_MSG( aPathA.
/home/kcozens/
The other thing to note here is https:// has been converted to https:/
Changed in kicad: | |
status: | Fix Committed → In Progress |
assignee: | nobody → Wayne Stambaugh (stambaughw) |
importance: | Undecided → Low |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
On 11/11/2017 11:58 AM, Kevin Cozens wrote: Projects/ Kicad/kicad/ eeschema/ dialogs/ dialog_ symbol_ remap.cpp( 306): assert "aPathA. IsAbsolute( )" failed in normalizeAbsolu tePaths( ): Arguement 'aPathA' must be an absolute path.
> Public bug reported:
>
> I'm trying to open a schematic created with a version of Kicad that I
> built from git master before all the recent major changes to the library
> system. The eeschema program was configured to use the libraries on
> github, then local libraries, then my own custom libraries. I'm getting
> an assert when eeschema enters the Remap process.
>
> I get the following assert:
> /home/kcozens/
Like the footprint library table, the symbol library table requires
absolute paths. If the remapping code cannot normalize a relative path,
it will fail. This typically happens when you have defined a relative
path and then moved you project to a different folder where the relative
path can not be normalized. Absolute paths are always a train wreck
waiting to happen.
>
> Minor point: the word "Arguement" appears to be in French or the extra e
> is a typo.
It's a typo. I'll fix it when I find the time.
> IsAbsolute( ), false, aPathA.GetPath() ); Projects/ Kicad/kicad/ eeschema/ dialogs/ dialog_ symbol_ remap.cpp( 306): IsAbsolute( )" failed in normalizeAbsolu tePaths( ): github. com/KiCad
>
> I modified the code to show the file path it didn't like:
> wxCHECK_MSG( aPathA.
>
> /home/kcozens/
> assert "aPathA.
> https:/
Huh? There never has and likely never will be a github plugin for /github. com/KiCad in your symbol library table unless you
symbol libraries nor did the previous symbol library list support
loading files from https urls. I have no idea how you would have ended
up with https:/
did it yourself. If you did, please remove it because it is wrong.
>
> The other thing to note here is https:// has been converted to https:/
That's probably because normalizeAbsolu tePath probably treated it like a
normal file which it is not.
>
> ** Affects: kicad
> Importance: Undecided
> Status: New
>