jacobaclarke / zotero-sync Goto Github PK
View Code? Open in Web Editor NEWA simple module for updating zotflies directories.
A simple module for updating zotflies directories.
Hi Jacob,
I just tried to use zotero-sync on a 2021 Mac Pro (M1), and encountered some problems. I found some fixes that appear to make it work well, but I am not an advanced python user/developer, and have limited ability to check on various OS, etc. so I am a little reluctant to fork the repo, and issue pull requests, etc. Instead I am just going to report my findings to you in the hopes that it might be useful to you. Apologies if this is just wasting your bandwidth. Anyway, Here goes:
First, my environment, and the problem:
pip install zotero_sync
worked fine.zotero_sync trash
scanned my zotfile directory on my machine and the cloud and decided that all of my PDF files should be moved to trash (which is not correct). So I started debugging.python -m zotero_sync trash
, then isolating code segments to help debug it. Here is what I learned.After making these changes the code works fine. It identifies the files that aren't specified on the cloud and moves them to trash if I let it.
I will attach a git diff
against your repo in the hope that it might be useful to you, and I would be glad to issue a pull request if you prefer, or to test a new build, if you decide to upgrade the code with your preferred fixes.
Like I said, I hope this is useful to you or others trying the code. The script is definitely useful to me, and I learned more python at the same time. Thanks!
Phil
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.