Error loading schematic

Hi,
I have been working on a schematic which is more or less complete but suddenly I get the following error when I try to load the schematic. The message is as follows:

Error loading schematic file “/home/justin/Kicad/Projects/CapacitorBank/CapacitorBank.sch”.
expected single character token in input/source
“/home/justin/Kicad/Projects/CapacitorBank/CapacitorBank.sch”
line 46, offset 7

I opened the schematic in gedit and line 46 looks pretty benign to me. Can anyone shed some light on this.

The help section of Kicad has an option for copying version information. Use that and post it here. Also, might not hurt to post lines 45 thru 47. :wink: Some of the Linux distributions use older versions of the software by default though. I can tell you aren’t using Windows but not much beyond that.

Sorry for the delay. I had internet issues. I am using Ubuntu 16.04 and never had this issue. I have copied lines 40 to 49 of the schematic and I don’t think the problem is there.

Somehow the schematic got corrupted and would be good to find out why and a fix. Failing that I will have to redraw it.

Lines 40 to 49 and Kicad version shown below.

L Device:CP C5
U 1 1 5DD26372
P 7875 3025
F 0 "C5" H 7993 3071 50  0000 L CNN
F 1 "4700uF" H 7993 2980 50  0000 L CNN
F 2 "Capacitor_THT:CP_Radial_D35.0mm_P10.00mm_3pin_SnapIn" H 7913 2875 50  0001 C CNN
F 3 "
    1198728 Element 14" H 7875 3025 50  0001 C CNN
	1    7875 3025
	1    0    0    -1  

Application: kicad
Version: 6.0.0-rc1-unknown-ee676b7~66~ubuntu16.04.1, release build
Libraries:
wxWidgets 3.0.2
libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.4.0-165-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
Boost: 1.58.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.47.0
Compiler: GCC 5.4.0 with C++ ABI 1009

You realise this is a testing version?

Line 46
F 3 " <- looks like an extra line ending got inserted
I think that you wanted the 1198728 after the quote

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.