Giter Club home page Giter Club logo

Comments (13)

cvpeck avatar cvpeck commented on June 3, 2024

This is configured to watch for zip files which I would then like to import to KiCad

from library-loader.

modularev avatar modularev commented on June 3, 2024

I have the sam issue as cvpeck, it seems that if recursive watching is disabled it can't even detect the .zip.

Also running Running macOS Monteray 12.1 on ARM

from library-loader.

olback avatar olback commented on June 3, 2024

The path /Users/peckc/Downloads/LIB_UA741CDRG4.zip.download/LIB_UA741CDRG4.zip seems odd to me. What browser are you using?

LL watches a folder for file creations and waits some time for the file to be written, then proceeds. If the file is renamed before the download finishes, it'll not work.

from library-loader.

cvpeck avatar cvpeck commented on June 3, 2024

from library-loader.

olback avatar olback commented on June 3, 2024

I have implemented a fix but I have no way of testing it as I don't actually have a Mac.

git pull
git checkout safari-fix
./macos-compile.sh

from library-loader.

cvpeck avatar cvpeck commented on June 3, 2024

from library-loader.

cvpeck avatar cvpeck commented on June 3, 2024

Ok, using the above build, it seems the zip files aren't detected at all

[INFO] Started watching "/Users/peckc/Downloads" [INFO] Active formats: [INFO] zip => "/Users/peckc/Documents/KiCadLibraries/ComponentSearchEngine"

Is there any detailed logging I can send you?

from library-loader.

cvpeck avatar cvpeck commented on June 3, 2024

Adding a seperate entry to watch for KiCad files then extracting the zip and adding the *.epw file to the downloads folder also does not produce any output

[INFO] Started watching "/Users/peckc/Downloads"
[INFO] Active formats:
[INFO] 	zip => "/Users/peckc/Documents/KiCadLibraries/ComponentSearchEngine"
[INFO] 	kicad => "/Users/peckc/Documents/KiCadLibraries/ComponentSearchEngine"

from library-loader.

olback avatar olback commented on June 3, 2024

Yeah, if you remove the --release flag in the script, there may be more output.

from library-loader.

cvpeck avatar cvpeck commented on June 3, 2024

No change other than a few warnings on compilation -
Compiling library-loader-gui v0.3.1 (/Users/peckc/Documents/KiCad/library-loader/ll-gui) warning: unused variable:u--> ll-gui/src/main.rs:48:13 | 48 | let u = Ui::new(app, config, config_path.clone()); | ^ help: if this is intentional, prefix it with an underscore:_u| = note:#[warn(unused_variables)]` on by default

warning: variant is never constructed: UpdateAvailable
--> ll-gui/src/ui/event.rs:8:5
|
8 | UpdateAvailable,
| ^^^^^^^^^^^^^^^
|
= note: #[warn(dead_code)] on by default

warning: associated function is never used: check_logged_in
--> ll-gui/src/ui/mod.rs:274:12
|
274 | pub fn check_logged_in(&self) {
| ^^^^^^^^^^^^^^^

warning: associated function is never used: check_updates
--> ll-gui/src/ui/mod.rs:290:12
|
290 | pub fn check_updates(&self) {
| ^^^^^^^^^^^^^

warning: library-loader-gui (bin "library-loader-gui") generated 4 warnings
Finished dev [unoptimized + debuginfo] target(s) in 6.90s`

from library-loader.

olback avatar olback commented on June 3, 2024
git reset --hard
git pull
cargo run --bin library-loader-gui 

I added more debug logging, should show way more information now.

from library-loader.

cvpeck avatar cvpeck commented on June 3, 2024

from library-loader.

olback avatar olback commented on June 3, 2024

Hmm. Looks tricky.

There does not seem to be any Create or Rename events with proper file paths.

from library-loader.

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.