textext: Windows Portable Apps: Tex Text won't start
I installed it using a script with custom path parameters. It says “textext is installed successfully.” But, in Inkscape 1.0, I can’t start it. Error message:
[TexText][CRITICAL]: + [Fail] TexText requirements
[TexText][SUCCESS ]: /-and-* [Succ] Detect inkscape>=1.0
[TexText][SUCCESS ]: | inkscape=1.0 is found
[TexText][CRITICAL]: /-and-+ [Fail] Detect latex
[TexText][CRITICAL]: | Please follow installation instructions at
[TexText][CRITICAL]: | [94m[4mhttps://textext.github.io/textext/install/windows.html#windows-install-preparation[0m
[TexText][CRITICAL]: | /–or- [Fail] pdflatex.exe is NOT found in PATH
[TexText][CRITICAL]: | | Please follow installation instructions at
[TexText][CRITICAL]: | | [94m[4mhttps://textext.github.io/textext/install/windows.html#windows-install-preparation[0m
[TexText][CRITICAL]: | | If pdflatex is installed in custom location, specify it via
[TexText][CRITICAL]: | | --pdflatex-executable=<path-to-pdflatex>
[TexText][CRITICAL]: | | and run setup.py again
[TexText][CRITICAL]: | /–or-* [Fail] lualatex.exe is NOT found in PATH
[TexText][CRITICAL]: | | Please follow installation instructions at
[TexText][CRITICAL]: | | [94m[4mhttps://textext.github.io/textext/install/windows.html#windows-install-preparation[0m
[TexText][CRITICAL]: | | If lualatex is installed in custom location, specify it via
[TexText][CRITICAL]: | | --lualatex-executable=<path-to-lualatex>
[TexText][CRITICAL]: | | and run setup.py again
[TexText][CRITICAL]: | /–or-* [Fail] xelatex.exe is NOT found in PATH
[TexText][CRITICAL]: | Please follow installation instructions at
[TexText][CRITICAL]: | [94m[4mhttps://textext.github.io/textext/install/windows.html#windows-install-preparation[0m
[TexText][CRITICAL]: | If xelatex is installed in custom location, specify it via
[TexText][CRITICAL]: | --xelatex-executable=<path-to-xelatex>
[TexText][CRITICAL]: | and run setup.py again
[TexText][SUCCESS ]: /-and-+ [Succ] Detect GUI library
[TexText][INFO ]: /–or-* [Fail] GTK3 is not found
[TexText][INFO ]: | Please follow installation instructions at
[TexText][INFO ]: | [94m[4mhttps://textext.github.io/textext/install/windows.html#windows-install-gtk3[0m
[TexText][SUCCESS ]: /–or-* [Succ] TkInter is found
[TexText][ERROR ]: TexText requirements are not met. Please follow instructions https://textext.github.io/textext/
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24 (12 by maintainers)
Commits related to this issue
- Added possibility to install under Windows PortableApps PortableApps have a special directory structure. A command line argument --portable-apps-dir has been added to address this. We also need this... — committed to jcwinkler/textext by jcwinkler 2 years ago
- Fix: Unhandled trailing whitespaces make setup_win.bat fail We concatenate the portable apps directory with Inkscape install location. If trailing whitespaces in the argument exist, which is usually ... — committed to jcwinkler/textext by jcwinkler 2 years ago
- Re-activated requirements check for portable apps Relates to #288 — committed to jcwinkler/textext by jcwinkler 2 years ago
Confirmed!
It works like a charm~!
Thanks!!
“setup_win.bat --portable-apps-dir C:\Portable_Apps_Repository\PortableApps --pdflatex-executable C:\Portable_Apps_Repository\PortableApps\1-MikTeXPortable\texmfs\install\miktex\bin\x64\pdflatex.exe --lualatex-executable C:\Portable_Apps_Repository\PortableApps\1-MikTeXPortable\texmfs\install\miktex\bin\x64\lualatex.exe --xelatex-executable C:\Portable_Apps_Repository\PortableApps\1-MikTeXPortable\texmfs\install\miktex\bin\x64\xelatex.exe”
From: Jan Winkler @.> Sent: Wednesday, February 2, 2022 4:53 AM To: textext/textext @.> Cc: noone-g @.>; Mention @.> Subject: Re: [textext/textext] Windows Portable Apps: Tex Text won’t start (#288)
@noone-ghttps://github.com/noone-g I fixed the mistake in the batch file. Problem was that, --pdflatex-execuable IS passed to the python script but the path to inkscape.exe contains an illegal whitespace when additional parameters are passed. You see it here in the error log you passed (before \InkscapePortable):
Trying to run “C:\Portable_Apps_Repository\PortableApps \InkscapePortable\App\Inkscape\bin\python.exe”
Please try the attached package, again with the command
setup_win.bat --portable-apps-dir C:\Path\To\Your\PortableAppsInstallation --pdflatex-executable C:\Path\To\Your\PdfLatexExe
I really hope evertyhin runs flawlessly now 🙏
TexText-Windows-1.8.0-dev2.ziphttps://github.com/textext/textext/files/7985262/TexText-Windows-1.8.0-dev2.zip
— Reply to this email directly, view it on GitHubhttps://github.com/textext/textext/issues/288#issuecomment-1027761585, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOQAMIWWQIZTSHXZRMCOGRLUZD5GXANCNFSM4ZFIB4WA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>
Thanks for the reply.
Based on your comments, I tested the Inkscape settings folder for InkscapePortable (from Portableapps.com). The portable version has a directory management problem.
I had to put textext plugin to both “InkscapePortable\Data\settings\extensions” and “InkscapePortable\Data\settings\inkscape\extensions”.
Portable version reads plugins from “InkscapePortable\Data\settings\extensions” but error logs are redirected to “C:\Portable_Apps_Repository\PortableApps\InkscapePortable\Data\settings\inkscape\extensions”