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

make not finishing during first call #4

Open
progtw opened this issue Jul 7, 2022 · 3 comments
Open

make not finishing during first call #4

progtw opened this issue Jul 7, 2022 · 3 comments

Comments

@progtw
Copy link

progtw commented Jul 7, 2022

When trying to run make for the first time, it does never finish.
Tried debugging by deactivating the chronic in Makefile: CHRONIC=$( echo '' )
Latex then reports and waits for user input:

(/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty))
ABD: EveryShipout initializing macros (./results_def.tex
! Missing $ inserted.
<inserted text> 
                $
l.1 install(ok): /home/twutz/vtwutz_
                                    ext/repro2/input (dataset) [Installed su...

? 

Hence, the chronic, in this case, is counterproductive, because it suppresses the prompt.

This seems to be caused by the first lines in results_def.tex:

install(ok): /home/twutz/vtwutz_ext/repro2/input (dataset) [Installed subdataset in 
order to get /home/twutz/vtwutz_ext/repro2/input/iris.csv]
get(ok): input/iris.csv (file) [from web...]
action summary:
  get (ok: 1)
  install (ok: 1)

Should code/mk_figuresnstats.py be adapted to suppress these messages, probably from dl.get(data) or adapted to write write results_def.tex directly instead of relying on redirecting stdout?
I am not enough familiar with python, to trace this.

Encountered with environment:
OS: mint uma (ubuntu 20.04)
datalad command line (from conda): 0.16.5

python venv versions:
(repro) (base) twutz@mate:~/vtwutz_ext/repro2$ pip list --local

Package            Version  
------------------ ---------
annexremote        1.6.0    
boto               2.49.0   
certifi            2022.6.15
cffi               1.15.1   
chardet            4.0.0    
charset-normalizer 2.1.0    
cryptography       37.0.4   
cycler             0.11.0   
datalad            0.16.7   
distro             1.7.0    
fasteners          0.17.3   
fonttools          4.34.3   
humanize           4.2.3    
idna               3.3      
importlib-metadata 4.12.0   
iso8601            1.0.2    
jeepney            0.8.0    
joblib             1.1.0    
keyring            23.6.0   
keyrings.alt       4.1.0    
kiwisolver         1.4.3    
matplotlib         3.5.2    
msgpack            1.0.4    
numpy              1.23.0   
packaging          21.3     
pandas             1.4.3    
patool             1.12     
Pillow             9.2.0    
pip                20.0.2   
pkg-resources      0.0.0    
platformdirs       2.5.2    
pycparser          2.21     
pyparsing          3.0.9    
python-dateutil    2.8.2    
python-gitlab      3.6.0    
pytz               2022.1   
requests           2.28.1   
requests-toolbelt  0.9.1    
scikit-learn       1.1.1    
scipy              1.8.1    
seaborn            0.11.2   
SecretStorage      3.3.2    
setuptools         44.0.0   
simplejson         3.17.6   
six                1.16.0   
sklearn            0.0      
threadpoolctl      3.1.0    
tqdm               4.64.0   
urllib3            1.26.10  
wheel              0.34.2   
Whoosh             2.7.4    
zipp               3.8.0
@adswa
Copy link
Contributor

adswa commented Jul 7, 2022

Thanks for the detailed report! I'll try to make some room to look into this tomorrow or over the weekend.

@adswa
Copy link
Contributor

adswa commented Jul 10, 2022

I so far only had a train ride to try to get this to reproduce, and failed. On a fresh clone and with a similar python setup, everything works fine. I'll see if I can alter my system to run into the same error as you by looking into the Latex setup. Could you share relevant versions of this, too?

@progtw
Copy link
Author

progtw commented Jul 10, 2022

twutz@mate:~$ latexmk --version
Latexmk, John Collins, 26 Dec. 2019. Version 4.67

The following stack overflow question describes how to disable the prompt.

Aside from Latex, for me, the status output from datalad ends up in the file that is fed to Tex, which causes problems.

No need to hurry for this issue. I just report problems with the aim to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants