[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#974856: RFS: klatexformula/4.1.0-1 [RC] -- GUI to easily get an image from a LaTeX formula or equation



I can't sponsor KLatexFormula but use it and may have spotted issues.

I see this version introduces user scripts, but most of them start with
#!/usr/bin/env python
and the problem is that this doesn't explicitly refer to Python 2 or Python 3. 
At this time, such a script is considered a release-critical bug. The python 
executable has been phased out already.

If these user scripts can be used with Python 3, you should ask upstream to 
change the shebang line or patch it in the package, and add the python3 
dependency (it's Priority: optional and not considered part of the base system 
at the moment). If some only work with Python 2, they should be omitted from 
the final packages.

Of the ones installed, I can only see about five user scripts in the 
KLatexFormula window: custom command, custom template, dvipng, FeynMF, and 
pdflatex. Running them gets errors like
User Script /usr/share/klatexformula/userscripts/dvipng-backend.klfuserscript 
reported an error (exit status 1). Here is full stderr output:

This script is part of the Python argcomplete package (https://github.com/
kislyuk/argcomplete). It is used to check if an EASY-INSTALL-SCRIPT wrapper 
redirects to a script that contains the string "PYTHON_ARGCOMPLETE_OK". If you 
have enabled global completion in argcomplete, the completion hook will run it 
every time you press <TAB> in your shell.
Usage:
    python-argcomplete-check-easy-install-script <input executable file>

Dependencies needed for scripts and features to work should probably be 
included in the Recommends.

There's also warnings like
Warning: ***** In function KLFSettingsPrivate::displayUserScriptConfig()  
12/5/20 10:21 AM *****
        No value given for config widget "convert"

I don't know if this was introduced in the new version, but the effects like 
'on fire effect' don't work for me, not even when saving as a PNG, but it's less 
clear why.

If this seems overwhelming for you and upstream to figure out, it may be wise 
to make a minimal-changes upload of 4.0.0 to ensure KLatexFormula gets into 
Bullseye.

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: