Menu

#173 Win32: user_lib only found under c:\Users\name\.qucs

0.0.19
open
nobody
None
5
2014-10-15
2014-10-15
Gert
No

We are collaborating on a schematic using user libraries. Unfortunately, these libraries are linked to C:\Users\name\ .qucs\user_lib so every time another collaborator wishes to work on a schematic, they need to change all schematic blocks (because the "name" is different in the field "name of qucs library file"). It appears that this could be solved by putting the library on a network drive, e.g. H:\qucs\user_lib. For one or other reason, this doesn't work.

I can set the HOME directory in File/application settings/locations/ to H:\qucs
When saving a design, this is indeed the suggested directory. Nice. However, any libs copied to H:\qucs\user_lib or H:\qucs\ .qucs\user_lib are ignored. In fact the only "responsive" user lib location is still C:\Users\name\ .qucs\user_lib

Am I doing something wrong or is this a bug? If there would be another solution to the original problem, it would be very welcome.

Discussion

  • Richard C

    Richard C - 2014-10-15

    This isn't a fix for the bug, but you might be interested in the new (undocumented) qucs schematic search path feature as a workaround. This feature allows you to set a list of directories where qucs searches for subcircuit schematics.

    If you add the directory containing the subcircuits of interest to the search path list, then in your subcircuits dialog, you just set the file name, e.g. "mycircuit.sch" without the path, and qucs should find it. This path can be anywhere, such as a network drive.

    To set the search path list go to Application Settings->Locations

    Note it's a little experimental, and doesn't work for user libraries yet, only individual subcircuits.

     
  • Richard C

    Richard C - 2014-10-15

    This isn't a fix for the bug, but you might be interested in the new
    (undocumented) qucs schematic search path feature as a workaround. This
    feature allows you to set a list of directories where qucs searches for
    subcircuit schematics.

    If you add the directory containing the subcircuits of interest to the
    search path list, then in your subcircuits dialog, you just set the file
    name, e.g. "mycircuit.sch" without the path, and qucs should find it.
    This path can be anywhere, such as a network drive.

    To set the search path list go to Application Settings->Locations

    Note it's a little experimental, and doesn't work for user libraries
    yet, only individual subcircuits.

    Richard

     
  • Gert

    Gert - 2014-10-15

    Thanks for this mega-speedy proposal! I am curious for the result. In the mean time, I have upgraded and strange enough, in the lastest 0.0.18 version, I see my H:\qucs\user_lib content in the (new) Library menu on the left side of the screen, but the components don't work, I only get a rectangle when I drag them. The "classic" library, under tools/component library still appears to be completely linked to C:\Users\name\ .qucs\user_lib

    Anyxway, will test your proposal, thanks a lot already!

     
  • Guilherme

    Guilherme - 2014-10-15

    I will read your report more carefully when I get home, but this might be related:
    https://sourceforge.net/p/qucs/mailman/message/32796296/

    There are a couple of bugs which I forgot to issue tickets for.

     

Log in to post a comment.