Coder Social home page Coder Social logo

Comments (12)

MitjaNemec avatar MitjaNemec commented on August 15, 2024

This is a great idea. I'll have to resolve a couple of other issues first, but I plan to implement this.

from kicad_action_plugins.

T0jan avatar T0jan commented on August 15, 2024

should come definitely with a option to disable it (like for the other options) in case some has a different method to store the datasheets locally

from kicad_action_plugins.

MitjaNemec avatar MitjaNemec commented on August 15, 2024

Thanks for the remark.

from kicad_action_plugins.

MitjaNemec avatar MitjaNemec commented on August 15, 2024

Feature implemented, please test it.

There is an issue with wxpython (at least on windows) where documentation checkbox can be modified by the user even when the schematics checkbox is unchecked. But this is just a GUI issue.

from kicad_action_plugins.

T0jan avatar T0jan commented on August 15, 2024

at least for my side the integration into kicad fails:

Archive_project_error.log

from kicad_action_plugins.

MitjaNemec avatar MitjaNemec commented on August 15, 2024

An obvious python3 compatibility issue, thanks for spotting it, should be fixed now

from kicad_action_plugins.

T0jan avatar T0jan commented on August 15, 2024

integration into kicad works again, but it seems like it does not archive the datasheets. not sure if it is because i store my datasheets on my local server or if it is a general problem. at least the log file does not mentions a try of archiving any datasheet but this could also be a logging issue since the log only contains information about the 3D models.

from kicad_action_plugins.

MitjaNemec avatar MitjaNemec commented on August 15, 2024

There was a bug in the logging code. It was fixed, so please run it again and attach .log file.

from kicad_action_plugins.

T0jan avatar T0jan commented on August 15, 2024

I can confirm the archive function works for weblinks but not for links to local server files but this is probably nothing you have to consider.

for the logging the bug seems to be still there:

archive_project.log

from kicad_action_plugins.

MitjaNemec avatar MitjaNemec commented on August 15, 2024

I'd also like to solve the local server files issue.

You did update the plugin? You can also get the first part of the .log file if you run the plugin and when the plugin finishes with schematics it displays a dialog saying "Schematics archived sucessfuly!". If you don't click on the OK, you should be able to open the .log file. If you do, please attach the .log file contents here. Thanks.

from kicad_action_plugins.

T0jan avatar T0jan commented on August 15, 2024

I'd also like to solve the local server files issue.

you sure you want to do this? this needs a completely different approach with potential password prompt etc.

If you do, please attach the .log file contents here. Thanks.

hmm seems the logging works now, may I forgot to reload the plugins/restart kicad

nevertheless log after schematics + pdfs:
archive_project.log

PS: it would be good either for testing but also for use in normal projects to have a undo button which resets the file links to the global paths and deletes all local libraries. should I open a new issue for this?

from kicad_action_plugins.

MitjaNemec avatar MitjaNemec commented on August 15, 2024

you sure you want to do this? this needs a completely different approach with potential password prompt etc.

Now that I've seen the log, not really. I though you have the files on a networked volume (NFS or something like that) and the plugin handled filepaths the wrong way. For the web access behind username/password account, I am open for merging PR if somebody does this, but I probably won't even try to implement this. Do open an issue though, so that it stays documented please.

And for the undo, also open a new issue for it, I see that it is better to have multiple issues opened each for separate topic than the one that we've had.

from kicad_action_plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.