Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#41130 - [kbibtex][texlive] "check with bibtex" not working sporadically

Attached to Project: Community Packages
Opened by georg (fordprefect) - Tuesday, 08 July 2014, 09:47 GMT
Last edited by Ray Rashif (schivmeister) - Monday, 11 August 2014, 12:44 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Ray Rashif (schivmeister)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
In kbibtex one can test the bibtex-entry with bibtex (if a publication is "viewed"). this does not work for me until i install extra/texlive-bibtexextra.
i propose to add this to deps or at least to opt-deps.
thanks for maintaining this.

Additional info:
kbibtex: 0.5.1-1
texlive-bibtexextra: 2013.33039-1
This task depends upon

Closed by  Ray Rashif (schivmeister)
Monday, 11 August 2014, 12:44 GMT
Reason for closing:  Not a bug
Comment by Ray Rashif (schivmeister) - Tuesday, 08 July 2014, 18:21 GMT
You do mean the "Check with BibTeX" button right? Could you reproduce it again by removing texlive-bibtexextra and doing the action that triggered the error? I ask because I am unable to reproduce this myself, but files from the package do match keywords in the source:

for i in `pacman -Ql texlive-bibtexextra | awk '{print $2}'`; do [[ -f $i ]] && grep -Rw "`basename $i`"; done

I have used the check feature numerous times but I have always had the whole texlive gamut on my system, so good catch nonetheless. Most probably this is because the bib entry or entries you are checking require the apacite or harvard styles.
Comment by georg (fordprefect) - Wednesday, 09 July 2014, 07:13 GMT
yes, its that button i mean.
i cannot reproduce it failing anymore, with or without texlive-bibtexextra.
(but yesterday it failed albeit bibtexextra was installed).
mysterious, i'll keep trying.
Comment by georg (fordprefect) - Friday, 11 July 2014, 09:17 GMT
the error happend again, and since the text in the dialog is not copyable (and ocr failed) i just provide screenshots of the error message.
texlive-bibtex is not installed atm, but it seems not related, since it also happend once with texlive-bibtex installed.
i hope this helps.
Comment by Ray Rashif (schivmeister) - Friday, 11 July 2014, 09:46 GMT
  • Field changed: Summary ([kbibtex] "check with bibtex" not working without extra/texlive-bibtexextra → [kbibtex][texlive] "check with bibtex" not working sporadically)
  • Field changed: Status (Assigned → Unconfirmed)
  • Task reassigned to Rémy Oudompheng (remyoudompheng), Ray Rashif (schivmeister)
Is it possible for you to share privately (e-mail) or publicly (attach) this particular bib file? This could be bib-specific (your particular bib file), or it could be upstream in either bibtex (less likely) or kbibtex (more likely).

Remy, adding you in case the answer is obvious to you from the bibtex output.
Comment by georg (fordprefect) - Friday, 11 July 2014, 09:49 GMT
this is the file in question.
it was started with kbibtex and never edited outside of it.
Comment by Ray Rashif (schivmeister) - Friday, 11 July 2014, 10:36 GMT
Could you use this file and see if you can reproduce the error(s)? Otherwise, I'm drawing a blank, since (i) you say this happens regardless of the presence of bibtexextra, and since (ii) I have also tried to reproduce this by uninstalling everything else, to no avail.

The original bib file you attached seems to work here. Checking the entries one by one (right-click > Edit Element > Check with BibTeX) reveals the warnings of the entries (missing chapter, journal etc.), but there is no bibtex process error.

Let me walk through the steps again to confirm that I am doing what you are doing. Open the bib file with kbibtex > right-click on an entry, e.g. iancu2012 > click Edit Element > click Check with BibTeX > receive a kdialog saying errors were found, in particular "field journal is empty".
Comment by georg (fordprefect) - Friday, 11 July 2014, 12:09 GMT
after restarting the program this file works, as well as my original file.
how can this be related ts restarting the program?
sadly i forgot to test your file without restarting. i will do as soon as the problem reoccurs.
Comment by Ray Rashif (schivmeister) - Friday, 11 July 2014, 14:08 GMT
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Category (Packages → Upstream Bugs)
The tex stuff is a result of decades of work, so I'm giving them the benefit of the doubt. Any problem is certainly to be a problem with the input, which is prone to human error.

Since you say the bib file was created from within the program and never edited, I'd have to say it's the program acting up here (probably some race condition not accounted for, or a parsing gone wrong).

The main error is in the input to bibtex. Also, since here it appears to work with only base texlive, it is very likely not a packaging issue.

If I were you, I'd take a look at the temp files (you can look at the log carefully once the error occurs again to see which file was processed last by a command).

Note: The test file I provided contains bogus values to populate fields, so don't use it for anything other than testing. You should also report this upstream in the meantime.

Loading...