Skip to content
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

Getting stuck in compiling the front end #2

Open
philohistoria opened this issue Aug 27, 2018 · 9 comments
Open

Getting stuck in compiling the front end #2

philohistoria opened this issue Aug 27, 2018 · 9 comments

Comments

@philohistoria
Copy link

I very much like the idea to have a sync between Zotero and Bookends since I also found both strength and weakness of two apps.

I am stuck in this step:


cd html/bibSync/
./generate.py source-hybrid
cd ../..

There seems to be no html/ folder and generate.py in the repo. Is there anything I missed?

@cboulanger
Copy link
Owner

Hi! I am sorry, the code is probably completely broken at the moment because I am in the middle of switching between version 5 and 6 of the qooxdoo library.

Try the qooxdoo_v5 branch if this works for you: https://github.com/cboulanger/bibsync/tree/qooxdoo_v5

However, be warned: the code is more a proof of concept than a usable app.

I am currently reimplementing the same idea as a CLI without the GUI to be able to concentrate on the synchronization: https://github.com/cboulanger/bookends-api/blob/master/examples/bookends-zotero-sync

But nothing is anywhere near production-ready.

@philohistoria
Copy link
Author

@cboulanger Thank you for your quick response! Really appreciate it.

I think my main user case is exactly for synchronization (though I mostly perform an one-way manual sync from Zotero to Bookends, since I use Zotero to manage my PDF files and only use Bookends to better handle global citations). I will be watching the updates. Thanks a lot!

SO I followed your qooxdoo_v5 branches and get the following error or no file exists in the configuration file.

[08-27 3:18:09] ➜  bibSync git:(master) ✗ ./generate.py source-hybrid

----------------------------------------------------------------------------
    Initializing: bibSync
----------------------------------------------------------------------------
>>> Processing configuration
<type 'exceptions.IOError'> :
2
No such file or directory

I presume that it is the problem in the config.json under bibsync/. And I am not clear about whether this line is the cause of the problem:

    filename : "/Users/cuments/Bookends/Library_from_zotero_no_attachments.bdb"
  },

Should I provide my Bookends library here? Thanks for the help!

@cboulanger
Copy link
Owner

Oh dear --- I fear the code is very much dependent on a very specific setup that would need to be replicated for it to run. I'd love to help you to get the code running (since it is a cool app despite its instability), but I have a deadline to keep and cannot do that at the moment.

I recommend using the CLI command (https://github.com/cboulanger/bookends-api/blob/master/examples/bookends-zotero-sync) but cannot provide much help ATM. Maybe next weekend --- very sorry!

@philohistoria
Copy link
Author

@cboulanger No problem at all! Thanks for the prompt responses.

@joshuawagner
Copy link

Thank you for building this! I'm also trying to do a one-way sync from Zotero to Bookends. Zotero is brilliant for pdf management but Mellel's live bibliography feature only works with Bookends. :( I look forward to watching what happens here. Thanks again.

@cboulanger
Copy link
Owner

Hi, I have quickly updated the readme for the CLI command: https://github.com/cboulanger/bookends-api . Maybe you can try that for a one-way-sync and tell me if it works for you! As stated, do not expect perfect results. I have used it successfully to transfer Zotero groups and my user library into Bookends with little or no loss of data. Collections are not yet translated into Bookends groups, but that's on the list.

@cboulanger
Copy link
Owner

I just tried it and it worked. When creating a new Bookends library, make sure to add one empty item first otherwise you will get an error. If you have questions/bug reports, please enter them at the bookends-api repo.

@philohistoria
Copy link
Author

also worked for me. That's great!

@cboulanger
Copy link
Owner

@philohistoria Glad to hear that. Please enter any problem that you encounter over at the bookends-api repo. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants