Skip Menu |
Report information
Id: 126063
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: alex.jakimenko [at]
gfldex <wenzel.peppmeyer [at]>
nadim.khemir [at]

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Date: Tue, 15 Sep 2015 22:25:16 +0200 (CEST)
Subject: printf obmits line number in error message
To: rakudobug [...]
From: "Wenzel P. P. Peppmeyer" <wenzel.peppmeyer [...]>
Download (untitled) / with headers
text/plain 235b
say sprintf('%f', 1, 2); # outputs: Directives specify 1 argument, but 2 arguments were supplied # Line number of the offending sprintf call is missing from nqp::die # in the sprintf grammar called Syntax in nqp/src/HLL/sprintf.nqp .
Subject: [LTA] Malformed printf pattern produces an error message without a useful line number (printf("%d, %d", 1))
Download (untitled) / with headers
text/plain 331b
Code: printf("%d, %d", 1); Result: Your printf-style directives specify 2 arguments, but 1 argument was supplied in any at /home/camelia/rakudo-m-inst-1/share/perl6/runtime/CORE.setting.moarvm line 1 “CORE.setting.moarvm line 1” is not very helpful. I was expecting it to point to the user code (e.g. “at <tmp>:1”).
From: nadim khemir <nadim.khemir [...]>
Date: Mon, 17 Jul 2017 23:30:31 +0200
To: rakudobug [...]
Subject: Error reported without line nor file
Download (untitled) / with headers
text/plain 142b
m: printf "%s"
 <camelia> rakudo-moar 91be8b: OUTPUT: «Your printf-style directives specify 1 argument, but no argument was supplied␤␤»

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at