lutefish Posted October 11, 2022 Share Posted October 11, 2022 Trying to get this up and working - have installed homebrew and pdfannots2json, re-exported a Zotero library via BetterBibTex, and am getting a mkdir error after choosing a PDF and pasting in the citekey manually. I'm not sure quite where the read-only directory is becomming an issue. My Zotero library is stored locally, but as "linked" files, not in the Zotero file structure. Running: Alfred 5.0.3 PDF Annotation Extractor 7.0.6 MacOS 12.6 pdfannots2json version 1.0.12 Thanks. Trying to get this up and working - have installed homebrew and pdfannots2json, re-exported a Zotero library via BetterBibTex, and am getting a mkdir error after choosing a PDF and pasting in the citekey manually. I'm not sure quite where the read-only directory is becomming an issue. My Zotero library is stored locally, but as "linked" files, not in the Zotero file structure. [12:04:17.409] Logging Started... [12:04:21.628] PDF Annotation Extractor[File Filter] Processing complete [12:04:21.630] PDF Annotation Extractor[File Filter] Passing output '/Users/REDACTED/Box Sync/2022/Garnett - 2020 - The Preservation of the Sources for English Mediev.pdf' to Arg and Vars [12:04:21.631] PDF Annotation Extractor[Arg and Vars] Processing complete [12:04:21.632] PDF Annotation Extractor[Arg and Vars] Passing output '/Users/REDACTED/Box Sync/2022/Garnett - 2020 - The Preservation of the Sources for English Mediev.pdf' to Conditional [12:04:21.632] PDF Annotation Extractor[Conditional] Processing complete [12:04:21.633] PDF Annotation Extractor[Conditional] Passing output '/Users/REDACTED/Box Sync/2022/Garnett - 2020 - The Preservation of the Sources for English Mediev.pdf' to Arg and Vars [12:04:21.633] PDF Annotation Extractor[Arg and Vars] Processing complete [12:04:21.634] PDF Annotation Extractor[Arg and Vars] Passing output '' to Keyword [12:04:24.625] PDF Annotation Extractor[Keyword] Processing complete [12:04:24.626] PDF Annotation Extractor[Keyword] Passing output 'garnettPreservationSourcesEnglish2020' to Replace [12:04:24.630] PDF Annotation Extractor[Replace] Processing complete [12:04:24.631] PDF Annotation Extractor[Replace] Passing output 'garnettPreservationSourcesEnglish2020' to Arg and Vars [12:04:24.631] PDF Annotation Extractor[Arg and Vars] Processing complete [12:04:24.632] PDF Annotation Extractor[Arg and Vars] Passing output '/Users/matthew/Box Sync/2022/Garnett - 2020 - The Preservation of the Sources for English Mediev.pdf' to Run Script [12:04:24.888] PDF Annotation Extractor[Run Script] Processing complete [12:04:24.889] PDF Annotation Extractor[Run Script] Passing output '286;;The Preservation of the Sources for English Medieval History in the Sixteenth Century;;;;Garnett, George;;2020;;inbook;;https://doi.org/10.1093/oso/9780198726166.003.0009 ' to Conditional [12:04:24.890] PDF Annotation Extractor[Conditional] Processing complete [12:04:24.890] PDF Annotation Extractor[Conditional] Passing output '286;;The Preservation of the Sources for English Medieval History in the Sixteenth Century;;;;Garnett, George;;2020;;inbook;;https://doi.org/10.1093/oso/9780198726166.003.0009 ' to Split Arg [12:04:24.891] PDF Annotation Extractor[Split Arg] Processing complete [12:04:24.891] PDF Annotation Extractor[Split Arg] Passing output '286;;The Preservation of the Sources for English Medieval History in the Sixteenth Century;;;;Garnett, George;;2020;;inbook;;https://doi.org/10.1093/oso/9780198726166.003.0009 ' to Arg and Vars [12:04:24.892] PDF Annotation Extractor[Arg and Vars] Processing complete [12:04:24.892] PDF Annotation Extractor[Arg and Vars] Passing output '286' to Conditional [12:04:24.893] PDF Annotation Extractor[Conditional] Processing complete [12:04:24.893] PDF Annotation Extractor[Conditional] Passing output '286' to Arg and Vars [12:04:24.894] PDF Annotation Extractor[Arg and Vars] Processing complete [12:04:24.894] PDF Annotation Extractor[Arg and Vars] Passing output '286' to Post Notification [12:04:24.895] PDF Annotation Extractor Processing complete [12:04:24.895] PDF Annotation Extractor Passing output '286' to Hide Alfred [12:04:24.909] PDF Annotation Extractor[Arg and Vars] Passing output '286' to Run Script [12:04:24.910] ERROR: PDF Annotation Extractor[Run Script] mkdir: /attachments: Read-only file system [12:04:24.910] PDF Annotation Extractor[Run Script] Processing complete [12:04:24.911] PDF Annotation Extractor[Run Script] Passing output '' to Conditional [12:04:24.911] PDF Annotation Extractor[Conditional] Processing complete [12:04:24.912] PDF Annotation Extractor[Conditional] Passing output '' to Post Notification [12:04:24.913] PDF Annotation Extractor Processing complete [12:04:24.913] PDF Annotation Extractor Passing output '' to Play Sound Link to comment
vitor Posted October 12, 2022 Share Posted October 12, 2022 The Workflow is trying to write to the root of the filesystem, which won’t be possible. It may be a misconfiguration on your part, e.g. you may have set / as one of the directories in the User Configuration. The best place to ask would be on GitHub, in the workflow’s repo. Link to comment
lutefish Posted October 12, 2022 Author Share Posted October 12, 2022 OK, that was helpful to know. Thanks. Using the "save to Obsidian" option at least let me specify a finder destination, which resolved the write error which was stopping the workflow. I had tried posting on GitHub, but the issue was closed there, with the dev saying "use the bug report form", which I had thought was here. All good - thanks, as always, for the assistance. Link to comment
vitor Posted October 12, 2022 Share Posted October 12, 2022 3 hours ago, lutefish said: with the dev saying "use the bug report form", which I had thought was here. What they meant is the Bug Report option when creating an issue: https://github.com/chrisgrieser/pdf-annotation-extractor-alfred/issues/new?template=bug_report.yml lutefish 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now