TinyTex installation doesn't succeed: "This program is blocked by a group policy. For more information, contact your system administrator.""

Abierto
#443 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
latex, r

Línea de trabajo

Comience con tinytex::install_tinytex y las rutas configuradas de TinyTeX bin y tlmgr.bat indicadas en el issue. Reproduzca la instalación en el sistema Windows restringido y determine si la directiva de grupo bloquea el acceso a CTAN o un ejecutable del instalador; el trabajo requiere una causa confirmada y unas instrucciones de instalación prácticas para considerarse terminado.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

question

I am trying to install the TinyTeX distribution (TinyTeX-1) for a client with restricted admin rights in a Windows environment. When trying to install TinyTeX (tinytex::install_tinytex), I always get this message: "This program was blocked by a group policy. For more information, contact your system administrator". The download from https://yihui.org/tinytex/TinyTeX-1 works fine. I have also tried to install TinyTex on a local folder, where I know I have admin rights, and that has not worked. I get the same error message. So my question is:

  • Is this error message because tlmgr wants to download from a CTAN mirror that is blocked by the firewall,
  • or is it that the installation wants to execute an application that is blocked?

I have tried to add all the necessary paths correctly before the installation.
Sys.setenv((PATH = paste("C:/Users/[user]/AppData/Roaming/TinyTeX/bin", Sys.getenv("PATH"), sep = ";"))
options(tinytex.tlmgr.path = "C:/Users/[user]/AppData/Roaming/TinyTeX/bin/windows/tlmgr.bat")

Unfortunately, I can't give more specifics about the PC, because I currently don't have access to it. I am trying to solve the issue remotely.

I have been trying to resolve this issue for weeks now. I have check all the resolved issues available. Thanks a lot for your help!


By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.org/issue/.
  • I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('tinytex'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('rstudio/tinytex').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

Lenguaje dominante
R
Estrellas
1.2k
Forks
128
Merge medio
1 h 12 min
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de rstudio/tinytex

Todos los issues de rstudio/tinytex

Issues similares

Más issues de R

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.