-
Notifications
You must be signed in to change notification settings - Fork 4
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
"tuple index out of range" #4
Comments
I managed to get the debug output, though the error still occurs. saving credentials to keyring |
Thanks for the report! I see the reason for the error (it's a bug -- it's not testing for a empty self.files before trying to index into it), but from the discussion on the DEVONthink forums, it sounds like the location you are trying to use is empty, which will still be a problem even after this bug is fixed. Can you tell me more about your Zotero setup? Specifically, where do the PDF files for your library live? See the Preferences, under Advanced, "Files and Folders", like the screenshot here – it would help me to know the data directory location in your setup: |
The bug caused Zowie to not complain about a missing argument. I'm fixing that now and will produce a version 1.1.1. Once that's fixed, can you try it again with something like the following?
or if you only want it to act on PDF files,
(note the backslash for quoting of the space in the pathname). Unfortunately I've never used this "linked attachment" scheme so I don't even know what the structure looks like inside that directory. If it's full of symbolic links, we may find out it won't work without additional changes. But let's fix this argument parsing problem first. |
OK, version 1.1.1 is out there, if you want to give it a try. (Whenever – no rush.) |
Shoot, that's too bad. The way Zowie figures out the record associated with a given PDF file is that in the other Zotero storage option, the files are in subdirectories keyed by a unique identifier, like |
I'll ask on the Zotero forums. Maybe there's a way to do it. In the meantime, I'm going to close this issue, as it appears the original reason (the error that arose when no argument was given) has been resolved. Update: the Zotero forum question is at https://forums.zotero.org/discussion/comment/372519/#Comment_372519 |
Fixed in release 1.1.1. |
I'm sure this is on me, but I mis-entered my Zotero UserID and API key initially. On re-running Zowie with the -a argument and a newly created API key, and then the correct Zotero UserID, I'm getting a "Encountered error IndexError: tuple index out of range." and then Zowie exits. I tried running it with the debug option, but the process fails in the same place.
The text was updated successfully, but these errors were encountered: