Modify ↓
Opened 2 hours ago
Last modified 22 minutes ago
#23951 new defect
Startup Shell Script Warning
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | Linux | Cc: | sebastic |
Description
When I start JOSM in a terminal I see this error/warning message:
/usr/bin/josm: Zeile 61: [: : Ganzzahliger Ausdruck erwartet.
The script in line 61 wants an integer but got something different. I run the code there manually:
$ free --mega gesamt belegt frei gemeinsam Zwischen verfügbar Speicher: 16643 8531 484 882 7627 6885
It might work like this:
$ LANG=C free --mega total used free shared buff/cache available Mem: 16643 8533 488 876 7621 6890
Running JOSM/1.5 (19230 de) Linux Ubuntu 20.04.6 LTS
Attachments (0)
Note:
See TracTickets
for help on using tickets.
See r19215.
So following does only work with system language set to English or
C
.Maybe, reading directly from
/proc
likecat /proc/meminfo
is system language independent.