Install command refuses a running Home when the time locale is not English (strptime on ps lstart)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 73/100
Línea de trabajo
Start with the runtime cleanup code in install.sh around line 601, where ps -o lstart= output is parsed by the embedded Python. Check how the two process start-time reads are compared and how Python's locale affects strptime. Add the suggested regression test using a non-English LC_TIME; done when cleanup handles that locale and the installer tests pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
The install command refuses to update a Home whose Runtime is running when the computer's time format is not English:
[4/5] Install
... Stopping verified Runtime processes for this installation so the new version can be installed...
Runtime cleanup stopped: time data 'Mon Nov 2 12:06:28 2026' does not match format '%a %b %d %H:%M:%S %Y'
Error: Close this installation's Runtime and retry; its existing files were preserved
Seen 2 Nov 2026 on a Jetson (Ubuntu 22.04) whose system time locale is es_CO.UTF-8, installing 2.0.0 over a running 2.0.0 Home. Nothing was changed.
Cause
install.sh (2.0.0, line ~601) reads each Runtime's start time with ps -o lstart= under LC_ALL=C (English day and month names), then parses it with time.strptime(..., "%a %b %d %H:%M:%S %Y"). Python's strptime matches %a/%b against the process's own LC_TIME names, so on a Spanish (or any non-English) time locale the English names never match.
Workaround
Stop Home first (Ctrl+C in its terminal), or run the installer with the C locale:
curl -fsSL https://elastos.elacitylabs.com/install.sh | LC_ALL=C bash
Checked: the second form installed and moved that Jetson Home to the stable channel.
Fix
Compare the start time as the raw lstart string (both reads come from ps under LC_ALL=C), or run the embedded Python with LC_ALL=C and set locale.setlocale(locale.LC_TIME, "C") before parsing. Add a test that runs the cleanup with LC_TIME=es_CO.UTF-8 (or any non-English locale available on the runner).
- Lenguaje dominante
- Rust
- Estrellas
- 6
- Forks
- 2
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 42
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de elastos/elastos-runtime
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
elastos/elastos-runtime#563 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
elastos/elastos-runtime#508 ·
Los mantenedores suelen responder en 1 día
-
Documents: Markdown preview web links go through Home's confirmed link flow (#430 follow-up)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
elastos/elastos-runtime#436 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
elastos/elastos-runtime#427 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
elastos/elastos-runtime#405 ·
Los mantenedores suelen responder en 1 día
Todos los issues de elastos/elastos-runtime
Issues similares
-
bug good first issue help wanted linux macos testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
area: app type: test
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
storytold/photocraft#12706 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug priority-low to-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
examples/dca and limit-order: swap always fails on the real Soroswap router (deadline equals now)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
sorocon-labs/sorocron#172 ·
Los mantenedores suelen responder en 1 día