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

[Bug]: Not showing my references #6

Closed
2 tasks done
DesBw opened this issue May 8, 2022 · 11 comments
Closed
2 tasks done

[Bug]: Not showing my references #6

DesBw opened this issue May 8, 2022 · 11 comments
Labels
bug Something isn't working

Comments

@DesBw
Copy link

DesBw commented May 8, 2022

Bug Description

Even if I have put the path to my bib file, the workflow is not finding my references. I am faced with just empty Alfred.

Relevant Screenshot

No response

To Reproduce

No response

Debugging Log

[21:41:56.846] Logging Started...
[21:42:02.339] Supercharged Citation Picker[Hotkey] Processing complete
[21:42:02.356] Supercharged Citation Picker[Hotkey] Passing output '' to Script Filter
[21:42:02.456] Supercharged Citation Picker[Script Filter] Queuing argument '(null)'
[21:42:02.685] Supercharged Citation Picker[Script Filter] Script with argv '(null)' finished

Sample BibTeX Entries

@misc{Workneh2016b,
	author = {Desalegn Workneh},
	date-added = {2020-10-30 07:48:54 +0000},
	date-modified = {2020-10-30 07:49:50 +0000},
	keywords = {Amharic, gerund, verbal noun},
	month = {December},
	title = {Verbal Nouns in Amharic, Part III},
	url = {https://ling.auf.net/lingbuzz/005531},
	year = {2016}}

@misc{Workneh2016a,
	author = {Desalegn Workneh},
	date-added = {2020-10-30 07:47:28 +0000},
	date-modified = {2020-10-30 07:48:43 +0000},
	keywords = {verbal noun, gerund, Amharic},
	month = {November},
	title = {Verbal Nouns in Amharic, part II},
	url = {https://ling.auf.net/lingbuzz/005530},
	year = {2016}}

Buffer Files

Archive.zip

Workflow Configuration

I don't make a change on the setting except assigning the path the bib file and a hot key in the workflow.

image

Checklist

  • I have updated to the latest version of this workflow.
  • I have tried manually reloading the buffer (Alfred keyword scp, select Force Buffer Reload).
@DesBw DesBw added the bug Something isn't working label May 8, 2022
@chrisgrieser
Copy link
Owner

I don't make a change on the setting except assigning the path the bib file and a hot key in the workflow.

could you share that BibTex file path?

@DesBw
Copy link
Author

DesBw commented May 9, 2022

I have tried different paths: this one of them: /Users/dwo000/Library/texmf/bibtex/bib/β.bib

I have also tried to put just the folder where I keep my bib files: /Users/dwo000/Library/texmf/bibtex/bib

Worried about the folder permission, I have also tried to put the bib file in my desktop /Users/dwo000/Desktop/ww.bib with no avail.

It doesn't work. I am on MacOS10.13, by the way: if the workflow has some assumptions about the OS.

@chrisgrieser
Copy link
Owner

It's supposed to be the path to the bib file, so the first is correct.

However, it could be that the beta symbol leads to since issues since it is a non standard character. Build you try again by renaming the file and then running "scp - force reload library"?

If that does not work, open the debugging log, and then run the command for force reloading. Then, attach the debugging log that is created for the force reload.

@DesBw
Copy link
Author

DesBw commented May 9, 2022

[16:49:01.095] Logging Started...
[16:50:04.320] Supercharged Citation Picker[List Filter] Processing complete
[16:50:04.347] Supercharged Citation Picker[List Filter] Passing output 'buffer_reload' to Conditional
[16:50:04.352] Supercharged Citation Picker[Conditional] Processing complete
[16:50:04.356] Supercharged Citation Picker[Conditional] Passing output 'buffer_reload' to Arg and Vars
[16:50:04.362] Supercharged Citation Picker[Arg and Vars] Processing complete
[16:50:04.366] Supercharged Citation Picker[Arg and Vars] Passing output '' to Call External Trigger
[16:50:04.372] Supercharged Citation Picker[External] Processing complete
[16:50:04.376] Supercharged Citation Picker[External] Passing output '' to Script Filter
[16:50:04.738] Supercharged Citation Picker[Script Filter] Queuing argument '(null)'
[16:50:06.029] Supercharged Citation Picker[Script Filter] Script with argv '(null)' finished
[16:50:06.088] STDERR: Supercharged Citation Picker[Script Filter] ./scripts/buffer_writer.js:1185:1236: execution error: Error on line 28: SyntaxError: Unexpected token '.' (-2700)

@DesBw
Copy link
Author

DesBw commented May 9, 2022

I am pretty sure the Beta symbol is not the cause because I have put other sources as well; with the same result.

@chrisgrieser
Copy link
Owner

well, there seems to be a problem with reading one of the script files. However, I have no idea why, since it works without any issues on my end.

I can only guess that it has something to do with you using an older version of mac OS. I tested it on both devices I own, one on 12.3 and another one on 11.6 where it works fine.

While the workflow itself does not have any explicit assumptions about the OS, it could be that something about macOS' JXA has changed. As since I do not have a device on an OS as old as 10.3, I unfortunately cannot check whether that is the case.

@DesBw
Copy link
Author

DesBw commented May 9, 2022

I tried to update the node.js and Java.

I am still getting the same error.

Thank you for the help dear @chrisgrieser. I will try to use other workflows then.

@chrisgrieser
Copy link
Owner

yeah, the workflow does not use Node.js nor Java, but Apple's native implementation of JavaScript, JXA. So likely only an macOS update will help, sorry.

@DesBw
Copy link
Author

DesBw commented May 9, 2022

Texstudio has great citation system already. I will use that one to insert my citations. I was trying your workflow mostly out of curiosity, and because it appears very fast.

Thanks.

@mbac
Copy link

mbac commented Jul 10, 2022

Hi,

I'm having the exact same issue here. The path to my library is:

/Users/marco/Documents/zotero-library.bib

The log shows:

[01:46:53.979] Logging Started...
[01:47:01.675] Supercharged Citation Picker[Hotkey] Processing complete
[01:47:01.680] Supercharged Citation Picker[Hotkey] Passing output '' to Script Filter
[01:47:01.704] Supercharged Citation Picker[Script Filter] Queuing argument '(null)'
[01:47:01.717] Supercharged Citation Picker[Script Filter] Script with argv '(null)' finished
[01:47:10.191] Supercharged Citation Picker[Script Filter] Queuing argument '(null)'
[01:47:10.268] Supercharged Citation Picker[Script Filter] Script with argv '(null)' finished

I'm on a 2020 Macbook Pro running macOS 12.4 (Monterey).

Thanks!

@chrisgrieser
Copy link
Owner

@mbac Your debugging log shows a different issue, so you have a different bug. Please open a separate bug report, since the bug report form als for various kinds of information that I need to look into the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants