-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid archive files #72
Comments
This is configured to watch for zip files which I would then like to import to KiCad |
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 |
The path 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. |
I’m on macOS using safari x86. I think downloads get a .download extension until they are complete.
…Sent from my iPhone
On 9 Feb 2022, at 9:45 pm, Edwin ***@***.***> wrote:
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.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
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 |
I’ll test it and get back to you
…Sent from my iPad
On 19 Feb 2022, at 9:10 am, Edwin ***@***.***> wrote:
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
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
Ok, using the above build, it seems the zip files aren't detected at all
Is there any detailed logging I can send you? |
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
|
Yeah, if you remove the |
No change other than a few warnings on compilation - warning: variant is never constructed: warning: associated function is never used: warning: associated function is never used: warning: |
I added more debug logging, should show way more information now. |
```
[INFO] Started watching "/Users/peckc/Downloads"
[INFO] Active formats:
[INFO] zip => "/Users/peckc/Documents/KiCadLibraries/ComponentSearchEngine"
[INFO] kicad => "/Users/peckc/Documents/KiCadLibraries/ComponentSearchEngine"
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Create(Folder), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip.download"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Modify(Metadata(Any)), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip.download"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Modify(Metadata(Extended)), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip.download"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Create(File), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip.download/schematic-symbol-and-pcb-footprint.zip"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Modify(Metadata(Extended)), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip.download/schematic-symbol-and-pcb-footprint.zip"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Modify(Data(Content)), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip.download/schematic-symbol-and-pcb-footprint.zip"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Create(File), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip.download/schematic-symbol-and-pcb-footprint.zip"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Modify(Name(From)), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip.download/schematic-symbol-and-pcb-footprint.zip"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Modify(Metadata(Extended)), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip.download/schematic-symbol-and-pcb-footprint.zip"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Modify(Data(Content)), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip.download/schematic-symbol-and-pcb-footprint.zip"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Modify(Name(From)), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Create(Folder), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip.download"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Remove(Folder), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip.download"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Modify(Metadata(Any)), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip.download"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Modify(Metadata(Extended)), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip.download"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
[TRACE] RAW EVENT: Ok(NotifyResult(Ok(Event { kind: Modify(Metadata(Extended)), paths: ["/Users/peckc/Downloads/schematic-symbol-and-pcb-footprint.zip"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None })))
```
… On 22 Feb 2022, at 9:09 am, Edwin ***@***.***> wrote:
git reset --hard
git pull
cargo run --bin library-loader-gui
I added more debug logging, should show way more information now.
—
Reply to this email directly, view it on GitHub <#72 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABUE5RC4LLGIXNHAKRT3MZLU4K5I3ANCNFSM5MI3EVYA>.
You are receiving this because you authored the thread.
|
Hmm. Looks tricky. There does not seem to be any |
Hi when downloading from component search engine (e.g. a 741 amp ) I receive the following errors -
Running macosMonteray 12.1 x86_64
[Edited by olback - fixed formatting]
The text was updated successfully, but these errors were encountered: