Giter VIP home page Giter VIP logo

Comments (14)

holzschu avatar holzschu commented on July 16, 2024

Hi,
thanks for reporting this issue. I can reproduce it, even with tlmgr list. I am now investigating to see if it's something I introduced recently.
It was already present in version 1.12.6, as far as I can tell.

from a-shell.

Erd2024 avatar Erd2024 commented on July 16, 2024

from a-shell.

holzschu avatar holzschu commented on July 16, 2024

I've found the issue; I'm making a new release, it will be fixed in version 1.12.9.

from a-shell.

holzschu avatar holzschu commented on July 16, 2024

Hi, version 1.12.9 is now released on the AppStore, with the fix in place.

from a-shell.

Erd2024 avatar Erd2024 commented on July 16, 2024

I have downloaded and installed the new version, but tlmgr is still not working:

Could not determine directory of tlmgr executable, maybe shared library woes?
Check for error messages above at /private/var/containers/Bundle/Application/85309C28-A9E3-422F-B389-8D0
7E6827480/a-Shell.app/bin/tlmgr line 72.
BEGIN failed--compilation aborted at /private/var/containers/Bundle/Application/85309C28-A9E3-422F-B389-
8D07E6827480/a-Shell.app/bin/tlmgr line 85.

from a-shell.

holzschu avatar holzschu commented on July 16, 2024

Hi,
this time I cannot reproduce the issue. tlmgr works, both with my development version and with the appstore version.

I have no idea what is happening, even after looking at the lines of code around the error message, I would suspect a failed install or some environment variables set to the wrong value.

Out of curiosity, what does "kpsewhich -var-value=TEXMFROOT" say?

from a-shell.

Erd2024 avatar Erd2024 commented on July 16, 2024

from a-shell.

holzschu avatar holzschu commented on July 16, 2024

This looks like something went wrong during the reinstall of the TeX files. If you had lots of TeX packages installed, I would suggest making a copy of ~/Library/texlive/2023/texmf-dist, then re-download TeX files: exit the app, deactivate TeX in settings, wait for a while, reopen the app, type tex and re-download TeX files.

(if you don't have many TeX packages installed, you can skip the copy part).

from a-shell.

Erd2024 avatar Erd2024 commented on July 16, 2024

It was a local problem - I installed tex again and now tlmgr works.

from a-shell.

Erd2024 avatar Erd2024 commented on July 16, 2024

from a-shell.

holzschu avatar holzschu commented on July 16, 2024

That's good to hear. I would have preferred for it to work without the reinstall, but I'll take it.

(The mechanism to download TeX files goes through Apple servers (using something they call On-Demand-Resources). It's not fully reliable, and that's annoying, but I don't see many alternatives to replace it. I do not know of many places who will gladly host 1GB+ of data for reliable high-speed downloads for free).

from a-shell.

Erd2024 avatar Erd2024 commented on July 16, 2024

I still have problems updating Latex with tlmgr. Tlmgr —list works. Maybe it is because tlmgr has the wrong Version:

[~/Documents]$ tlmgr --version
tlmgr revision 59291 (2021-05-21 05:14:40 +0200)
tlmgr using installation: /private/var/mobile/Containers/Data/Application/EE321E92-B219-4614-BFCA-7965B2
046EB8/Library/texlive/2023
TeX Live (https://tug.org/texlive) version 2023

I tried to update tlmgr (tlmgr update —self and downloading and running update-tlmgr-latest.sh), but it remains the 2021 version.

Tlmgr update —all starts, but ends with errors. I tried several times, changed the repository, installed everything from scratch, but did not succed in updating texlive.

from a-shell.

holzschu avatar holzschu commented on July 16, 2024

Hi,
I'm also seeing weird issues with tlmgr. It complains about files not existing, even though these files do exist (I checked). These errors are not related to the texlive update (i.e. they persist after I use the tlmgr version 2024).

I know that there is a hard limit for tlmgr at around 300 packages. That's because iOS is running out of file descriptors (it does not let an application allocate more than 1280 file descriptors, each time tlmgr calls curl to download, it opens 3 files descriptors, and I have problems with closing some of these). For this reason, if you run tlmgr update --all, it will start showing download errors after 300 repositories.

Short version:

  • "file does not exist" errors: these seem to be related to when tlmgr generates the backup of the package. Annoying but harmless.
  • "could not connect" errors: force-kill the app and restart tlmgr for the next 300 packages.

from a-shell.

Erd2024 avatar Erd2024 commented on July 16, 2024

When Running ˋtlmgr update —allˋ I got errors after about 250 packages. I don‘t know how to stop tlmgr while running. Ctrl+c didn‘t work and I have no home-Button on my IPad Pro to force-kill the process. Tlmgr stopped running with errors and after that didn‘t start again:

/private/var/containers/Bundle/Application/D0428CBF-0EB6-4A98-B693-137227446890/a-Shell.app/bin/tlmgr: T
LPDB::from_file could not initialize from: https://mirror.ctan.org/systems/texlive/tlnet/tlpkg/texlive.t
lpdb
/private/var/containers/Bundle/Application/D0428CBF-0EB6-4A98-B693-137227446890/a-Shell.app/bin/tlmgr: M
aybe the repository setting should be changed.
/private/var/containers/Bundle/Application/D0428CBF-0EB6-4A98-B693-137227446890/a-Shell.app/bin/tlmgr: M
ore info: https://tug.org/texlive/acquire.html

from a-shell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.