Page MenuHomePhabricator

EasyTimeline.pl exec error: "points must have either 4 or 2 values per line"
Closed, DuplicatePublicPRODUCTION ERROR

Description

Error

Request ID: W5-WqArAEHAAAHyEl2YAAAAI

message
Shell error
Error running {command}: {error}
Sample
Error running /bin/bash '/srv/mediawiki/php-1.32.0-wmf.20/includes/shell/limit.sh' ''\''/usr/bin/perl'\'' '\''/srv/mediawiki/php-1.32.0-wmf.20/extensions/timeline/EasyTimeline.pl'\'' -i '\''/tmp/timeline_eb8d91647273'\'' -m -P '\''/usr/bin/ploticus'\'' -T '\''/tmp'\'' -A '\''/wiki/$1'\'' -f '\''FreeSans'\''' 'MW_INCLUDE_STDERR=;MW_CPU_LIMIT=50; MW_CGROUP='\''/sys/fs/cgroup/memory/mediawiki/job'\''; MW_MEM_LIMIT=1048576; MW_FILE_SIZE_LIMIT=524288; MW_WALL_CLOCK_LIMIT=180; MW_USE_LOG_PIPE=yes': pl proc line:  2959: warning: points must have either 4 or 2 values per line 
pl proc line:  2959: warning: points must have either 4 or 2 values per line 
pl proc line:  2959: warning: points must have either 4 or 2 values per line 
pl proc line:  2959: warning: points must have either 4 or 2 values per line 
pl proc line:  2959: warning: points must have either 4 or 2 values per line 
pl proc line:  2959: warning: points must have either 4 or 2 values per line

Notes

Happen from enwiki API queries, such as https://en.wikipedia.org/w/api.php?format=xml&action=query&prop=revisions&titles=Nickelback&rvprop=content&rvparse, and preview/save attempts from various article containing timelines.

Event Timeline

It seems the actual timeline is still rendered as PNG with no obvious defects. As such, it might be that this is more a user error than an application error. If so, it should perhaps ignore errors or log them differently, or translate it to the user in some way of part of the input was ignored.

T207206 might be related and has a potential patch.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:08 PM