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

Unable to produce relative file paths for attachments in file: field when exporting #935

Closed
4 tasks done
abradd opened this issue Mar 20, 2018 · 6 comments
Closed
4 tasks done

Comments

@abradd
Copy link

abradd commented Mar 20, 2018

My data directory is set to ~/zotero (with the storage folder internally that symlinks to another location so I can sync it across computers) in the Zotero preferences and my pdfs are exported via Zotfile to ~/literature. I saw an explanation for the current scheme of generating relative vs. absolute paths for the file: field in #654, but I am still unable to produce relative paths regardless of my selected export location. The ~/zotero/storage folder contains mostly html content from snapshots because I relocate the pdfs with Zotfile.

I have exported my .bib file to ~/zotero, ~, and ~/literature, but every time it produces an absolute path in the file: field. This applies for both the html content in ~/zotero/storage and the pdf content in ~/literature. Given the current implementation I don't really expect the pdf files to be defined relative paths under any case, but I am surprised the html content was not defined as a relative path.

@retorquere
Copy link
Owner

If you export to ~/literature where your attachments live, the path should automatically be relative. I will have a look.

@FirasSadiyah
Copy link

I am having the same issue with a similar scenario to OP. The file path is not relative in any of these cases above.

retorquere added a commit that referenced this issue Aug 26, 2018
@blip-bloop
Copy link
Collaborator

🤖 this is your friendly neighborhood build bot announcing test build 5.0.192.2655 ("fixes #935 (I think)").

@FirasSadiyah
Copy link

@retorquere This build is working for me. Many thanks.

@retorquere
Copy link
Owner

A new release (.194) will be out soon, but it's just what you have now with a formal label on it. You will be upgraded autommatically, or you can force-update in the addons panel in 10 minutes or so when the tests have ran.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants