Bug 421756

Summary: Using Kiles LivePreview with WSL 1
Product: [Applications] kile Reporter: jesaa
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 2.9.93   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: kilerc file for running Kile using WSL

Description jesaa 2020-05-19 07:37:27 UTC
Created attachment 128600 [details]
kilerc file for running Kile using WSL

Hey, 

SUMMARY
I am trying to use Kile on Windows 10, while Latex is installed into a WSL 1 running Ubuntu 18.04.
WSL allows to start any Linux app using `wsl <linux app>` from Windows, so pdflatex can be started using `wsl pdflatex -synctex=1 -interaction=nonstopmode %source`. Windows and UNIX paths can be easily converted using `wslpath`. Everything works, expect to build the BibTeX for the LivePreview.

Once I copy the .bib file to the temporary location, used for the LivePreview, building the LivePreview works as well.
I do not understand what happens during LivePreview, but it looks like Kile misses to copy the .bib file to the temporary folder?

STEPS TO REPRODUCE
1. Install WSL and texlive-full,
2. Install Kile,
3. Apply the attaches kilerc
4. Try to use the LivePreview

OBSERVED RESULT

bibtex fails for the LivePreview only:
*****
*****     BibTeX output: 
*****     cd "C:/Users/Gocht/AppData/Local/Temp/kile-livepreview.ZhnBlo"
*****     wsl bibtex paper
*****
This is BibTeX, Version 0.99d (TeX Live 2017/Debian)
The top-level auxiliary file: paper.aux
The style file: IEEEtran.bst
I couldn't open database file paper.bib
---line 76 of file paper.aux
 : \bibdata{paper
 :               }
I'm skipping whatever remains of this command
I found no database files---while reading file paper.aux

EXPECTED RESULT
That BibTeX finds the .bib file ;-)


SOFTWARE/OS VERSIONS
Windows: Windows 10 (Installed from Windows Store)
Linux/KDE Plasma: n.a.
(available in About System)
KDE Plasma Version: n.a.
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1

ADDITIONAL INFORMATION