eeschema: Create hierarchical sheet: File extension not appended

Bug #1750468 reported by Michael Geselbracht
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
High
Wayne Stambaugh

Bug Description

When a new hierarchical sheet is created and no file extension (.sch) is specified in "Schematic Sheet Properties" dialog, a schematic file is created with the ".sch" extension but the new file is added to its parent sheet without file extension. This file cannot be opened if the project is (re-)loaded.

Steps to reproduce:
1. Open kicad control window and create a new project "test1"
2. Open schematics root sheet and add a new hierarchical sheet:
   - Use "power" as file name (not "power.sch")
   - "Power" as sheet name
   and press the "OK" button.
3. Close eeschema
4. (Re-)Open eeschema from control window
   -> Dialog with error message appears: "The entire schematic could not be loaded. Errors occurred attempting to load hierarchical sheet schematics.".

Remedy: Edit test1.sch and change line
  F1 "power" 50
into
  F1 "power.sch" 50

Application: kicad
Version: (5.0-dev-4084-gc02680cbf), release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.13.0-32-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.58.0
    Curl: 7.47.0
    Compiler: GCC 5.4.0 with C++ ABI 1009

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON

Tags: eeschema
Revision history for this message
Michael Geselbracht (mgeselbracht) wrote :
Changed in kicad:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Wayne Stambaugh (stambaughw)
Changed in kicad:
status: Triaged → In Progress
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision df2819e5bc4d896515affc85164b018f88ffec15
https://git.launchpad.net/kicad/patch/?id=df2819e5bc4d896515affc85164b018f88ffec15

Changed in kicad:
status: In Progress → Fix Committed
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I just pushed a fix for this. Please let me know if your are still having issues.

Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.