Schematic Libraries 5.0.2 problem

Hi guys!

I use KiCad for 3+ years on Linux, everything was alright, till I’ve moved to ver.5+. Does not matter, what environment is set up (even edit by hand the configuration), purged/restored reinstalled, did whatever you can imagine, At start-up, pointing to schematic - boom … no library found, no devices, no transistors, so on aroud 49, or so; shorter, NOTHING. I’m on Ubuntu 18.04,64 bits, ppa ppa.launchpad.net/js-reynaud/kicad-5/ubuntu bionic. any suggestion, points??? Thanks!
PS. I forgot. The libraries are in place, where these are expected to be, the environment variables are set correctly.

I can strace you with kacad system calls, but it is pretty large text file ~3.6 Mbytes!

If you type (in a terminal window):

apt search kicad

Is kicad-symbols installed?

Yes. As I’ve informed, all the libraries/symbols are in right place. In my case these are in /usr/share/kicad/library/

What is the content of $HOME/.config/kicad/sym-lib-table?

edit: This will tell you what it is currently. This might be academically interesting. If you’d like to get back to the defaults, you can always delete it and KiCad will offer to install the default when you start.

output [code]
kicad-packages3d/bionic,bionic,now 5.0.2-stable-201812071618+c24f4c5~7~ubuntu18.04.1 all [installed]
Kicad packages3d (3d models for footprints)

kicad-symbols/bionic,bionic,now 5.0.2-stable-201812071435+84cd7f9~6~ubuntu18.04.1 all [installed]
Kicad symbols (schematic)
[/code]

The cofig file is surely exist. The output is long enough, so I’ll give you few lines of it:

[code]
(sym_lib_table
(lib (name 4xxx)(type Legacy)(uri ${KICAD_SYMBOL_DIR}/4xxx.lib)(options “”)(descr “4xxx series symbols”))
(lib (name 4xxx_IEEE)(type Legacy)(uri ${KICAD_SYMBOL_DIR}/4xxx_IEEE.lib)(options “”)(descr “4xxx series IEEE symbols”))
(lib (name 74xGxx)(type Legacy)(uri ${KICAD_SYMBOL_DIR}/74xGxx.lib)(options “”)(descr “74xGxx symbols”))

[code]

[code] isn’t recognized here?

And in $HOME/.config/kicad/kicad_common what is the value of KICAD_SYMBOL_DIR?

output of

grep KICAD_SYMBOL_DIR $HOME/.config/kicad/kicad_common

KICAD_SYMBOL_DIR=/usr/share/kicad/library

OK, so does the file /usr/share/kicad/library/4xxx.lib exist?

If it does, you’ll need to post a screenshot of the error you are getting.

zxxxxx@zxxxxx$ ls /usr/share/kicad/library
4xxx.dcm Interface.dcm Memory_EEPROM.dcm
4xxx_IEEE.dcm Interface_Ethernet.dcm Memory_EEPROM.lib
4xxx_IEEE.lib Interface_Ethernet.lib Memory_EPROM.dcm
4xxx.lib Interface_Expansion.dcm Memory_EPROM.lib
74xGxx.dcm Interface_Expansion.lib Memory_Flash.dcm
74xGxx.lib Interface_HID.dcm Memory_Flash.lib
74xx.dcm Interface_HID.lib Memory_NVRAM.dcm
74xx_IEEE.dcm Interface.lib Memory_NVRAM.lib
74xx_IEEE.lib Interface_LineDriver.dcm Memory_RAM.dcm
74xx.lib Interface_LineDriver.lib Memory_RAM.lib
Amplifier_Audio.dcm Interface_Optical.dcm Memory_ROM.dcm
Amplifier_Audio.lib Interface_Optical.lib Memory_ROM.lib
Amplifier_Buffer.dcm Interface_Telecom.dcm Memory_UniqueID.dcm
Amplifier_Buffer.lib Interface_Telecom.lib Memory_UniqueID.lib
Amplifier_Current.dcm Interface_UART.dcm Motor.dcm
Amplifier_Current.lib Interface_UART.lib Motor.lib
Amplifier_Difference.dcm Interface_USB.dcm Oscillator.dcm
Amplifier_Difference.lib Interface_USB.lib Oscillator.lib
Amplifier_Instrumentation.dcm Isolator_Analog.dcm Potentiometer_Digital.dcm
Amplifier_Instrumentation.lib Isolator_Analog.lib Potentiometer_Digital.lib
Amplifier_Operational.dcm Isolator.dcm power.dcm
Amplifier_Operational.lib Isolator.lib power.lib
Amplifier_Video.dcm Jumper.dcm Power_Management.dcm
Amplifier_Video.lib Jumper.lib Power_Management.lib
Analog_ADC.dcm LED.dcm Power_Protection.dcm
Analog_ADC.lib LED.lib Power_Protection.lib
Analog_DAC.dcm Logic_LevelTranslator.dcm Power_Supervisor.dcm
Analog_DAC.lib Logic_LevelTranslator.lib Power_Supervisor.lib
Analog.dcm Logic_Programmable.dcm pspice.dcm
Analog.lib Logic_Programmable.lib pspice.lib
Analog_Switch.dcm MCU_AnalogDevices.dcm Reference_Current.dcm
Analog_Switch.lib MCU_AnalogDevices.lib Reference_Current.lib
Audio.dcm MCU_Cypress.dcm Reference_Voltage.dcm
Audio.lib MCU_Cypress.lib Reference_Voltage.lib
Battery_Management.dcm MCU_Espressif.dcm Regulator_Controller.dcm
Battery_Management.lib MCU_Espressif.lib Regulator_Controller.lib
Comparator.dcm MCU_Intel.dcm Regulator_Current.dcm
Comparator.lib MCU_Intel.lib Regulator_Current.lib
Connector.dcm MCU_Microchip_8051.dcm Regulator_Linear.dcm
Connector_Generic.dcm MCU_Microchip_8051.lib Regulator_Linear.lib
Connector_Generic.lib MCU_Microchip_ATmega.dcm Regulator_SwitchedCapacitor.dcm
Connector_Generic_MountingPin.dcm MCU_Microchip_ATmega.lib Regulator_SwitchedCapacitor.lib
Connector_Generic_MountingPin.lib MCU_Microchip_ATtiny.dcm Regulator_Switching.dcm
Connector_Generic_Shielded.dcm MCU_Microchip_ATtiny.lib Regulator_Switching.lib
Connector_Generic_Shielded.lib MCU_Microchip_AVR.dcm Relay.dcm
Connector.lib MCU_Microchip_AVR.lib Relay.lib
Converter_ACDC.dcm MCU_Microchip_PIC10.dcm Relay_SolidState.dcm
Converter_ACDC.lib MCU_Microchip_PIC10.lib Relay_SolidState.lib
Converter_DCDC.dcm MCU_Microchip_PIC12.dcm RF_AM_FM.dcm
Converter_DCDC.lib MCU_Microchip_PIC12.lib RF_AM_FM.lib
CPLD_Altera.dcm MCU_Microchip_PIC16.dcm RF_Amplifier.dcm
CPLD_Altera.lib MCU_Microchip_PIC16.lib RF_Amplifier.lib
CPLD_Xilinx.dcm MCU_Microchip_PIC18.dcm RF_Bluetooth.dcm
CPLD_Xilinx.lib MCU_Microchip_PIC18.lib RF_Bluetooth.lib
CPU.dcm MCU_Microchip_PIC24.dcm RF.dcm
CPU.lib MCU_Microchip_PIC24.lib RF_GPS.dcm
CPU_NXP_68000.dcm MCU_Microchip_PIC32.dcm RF_GPS.lib
CPU_NXP_68000.lib MCU_Microchip_PIC32.lib RF.lib
CPU_NXP_6800.dcm MCU_Microchip_SAME.dcm RF_Mixer.dcm
CPU_NXP_6800.lib MCU_Microchip_SAME.lib RF_Mixer.lib
CPU_PowerPC.dcm MCU_Microchip_SAML.dcm RF_Module.dcm
CPU_PowerPC.lib MCU_Microchip_SAML.lib RF_Module.lib
Device.dcm MCU_Module.dcm RF_RFID.dcm
Device.lib MCU_Module.lib RF_RFID.lib
Diode_Bridge.dcm MCU_Nordic.dcm RF_Switch.dcm
Diode_Bridge.lib MCU_Nordic.lib RF_Switch.lib
Diode.dcm MCU_NXP_ColdFire.dcm RF_WiFi.dcm
Diode_Laser.dcm MCU_NXP_ColdFire.lib RF_WiFi.lib
Diode_Laser.lib MCU_NXP_HC11.dcm RF_ZigBee.dcm
Diode.lib MCU_NXP_HC11.lib RF_ZigBee.lib
Display_Character.dcm MCU_NXP_HC12.dcm Security.dcm
Display_Character.lib MCU_NXP_HC12.lib Security.lib
Display_Graphic.dcm MCU_NXP_HCS12.dcm Sensor_Audio.dcm
Display_Graphic.lib MCU_NXP_HCS12.lib Sensor_Audio.lib
Driver_Display.dcm MCU_NXP_Kinetis.dcm Sensor_Current.dcm
Driver_Display.lib MCU_NXP_Kinetis.lib Sensor_Current.lib
Driver_FET.dcm MCU_NXP_LPC.dcm Sensor.dcm
Driver_FET.lib MCU_NXP_LPC.lib Sensor_Gas.dcm
Driver_LED.dcm MCU_NXP_MAC7100.dcm Sensor_Gas.lib
Driver_LED.lib MCU_NXP_MAC7100.lib Sensor_Humidity.dcm
Driver_Motor.dcm MCU_NXP_MCore.dcm Sensor_Humidity.lib
Driver_Motor.lib MCU_NXP_MCore.lib Sensor.lib
Driver_Relay.dcm MCU_NXP_S08.dcm Sensor_Magnetic.dcm
Driver_Relay.lib MCU_NXP_S08.lib Sensor_Magnetic.lib
DSP_AnalogDevices.dcm MCU_Parallax.dcm Sensor_Motion.dcm
DSP_AnalogDevices.lib MCU_Parallax.lib Sensor_Motion.lib
DSP_Freescale.dcm MCU_SiFive.dcm Sensor_Optical.dcm
DSP_Freescale.lib MCU_SiFive.lib Sensor_Optical.lib
DSP_Microchip_DSPIC33.dcm MCU_SiliconLabs.dcm Sensor_Pressure.dcm
DSP_Microchip_DSPIC33.lib MCU_SiliconLabs.lib Sensor_Pressure.lib
DSP_Motorola.dcm MCU_ST_STM32F0.dcm Sensor_Proximity.dcm
DSP_Motorola.lib MCU_ST_STM32F0.lib Sensor_Proximity.lib
DSP_Texas.dcm MCU_ST_STM32F1.dcm Sensor_Temperature.dcm
DSP_Texas.lib MCU_ST_STM32F1.lib Sensor_Temperature.lib
Filter.dcm MCU_ST_STM32F2.dcm Sensor_Touch.dcm
Filter.lib MCU_ST_STM32F2.lib Sensor_Touch.lib
FPGA_Lattice.dcm MCU_ST_STM32F3.dcm Sensor_Voltage.dcm
FPGA_Lattice.lib MCU_ST_STM32F3.lib Sensor_Voltage.lib
FPGA_Microsemi.dcm MCU_ST_STM32F4.dcm Switch.dcm
FPGA_Microsemi.lib MCU_ST_STM32F4.lib Switch.lib
FPGA_Xilinx_Artix7.dcm MCU_ST_STM32F7.dcm Timer.dcm
FPGA_Xilinx_Artix7.lib MCU_ST_STM32F7.lib Timer.lib
FPGA_Xilinx.dcm MCU_ST_STM32H7.dcm Timer_PLL.dcm
FPGA_Xilinx_Kintex7.dcm MCU_ST_STM32H7.lib Timer_PLL.lib
FPGA_Xilinx_Kintex7.lib MCU_ST_STM32L0.dcm Timer_RTC.dcm
FPGA_Xilinx.lib MCU_ST_STM32L0.lib Timer_RTC.lib
FPGA_Xilinx_Spartan6.dcm MCU_ST_STM32L1.dcm Transformer.dcm
FPGA_Xilinx_Spartan6.lib MCU_ST_STM32L1.lib Transformer.lib
FPGA_Xilinx_Virtex5.dcm MCU_ST_STM32L4.dcm Transistor_Array.dcm
FPGA_Xilinx_Virtex5.lib MCU_ST_STM32L4+.dcm Transistor_Array.lib
FPGA_Xilinx_Virtex6.dcm MCU_ST_STM32L4.lib Transistor_BJT.dcm
FPGA_Xilinx_Virtex6.lib MCU_ST_STM32L4+.lib Transistor_BJT.lib
FPGA_Xilinx_Virtex7.dcm MCU_ST_STM8.dcm Transistor_FET.dcm
FPGA_Xilinx_Virtex7.lib MCU_ST_STM8.lib Transistor_FET.lib
GPU.dcm MCU_Texas.dcm Transistor_IGBT.dcm
GPU.lib MCU_Texas.lib Transistor_IGBT.lib
Graphic.dcm MCU_Texas_MSP430.dcm Triac_Thyristor.dcm
Graphic.lib MCU_Texas_MSP430.lib Triac_Thyristor.lib
Interface_CAN_LIN.dcm Mechanical.dcm Valve.dcm
Interface_CAN_LIN.lib Mechanical.lib Valve.lib
Interface_CurrentLoop.dcm Memory_Controller.dcm Video.dcm
Interface_CurrentLoop.lib Memory_Controller.lib Video.lib

As you can see … it is exist

OK. So can you post a screenshot of the error?

I’ve tried to move file names to lower case, to upper, returned back, no luck ;o(((

Just a sec… I’m on the phone…

Hmm, how do I share the screenshot?

There’s an upload button above where you are posting. Looks like a floor with an arrow pointing up. You are a basic user, so you get to post multiple images.

Wait a sec … I’ve lost the sreenshot… making a new one ))))

Don’t understand why I need to post multiple images… however, here it is