[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: invoice time: templates and 1.4



Michael Richardson <..hidden..> wrote:
    > strace'ing through things I discover:

    > stat64("./LedgerSMB/Template/XLS.pmc", 0xbfde7bf0) = -1 ENOENT (No such
    > file or directory) stat64("./LedgerSMB/Template/XLS.pm", 0xbfde7b50) =

This is a red-herring: it doesn't present XLS option if it's prereq are not
present, so not finding this is not important.

The rest of the strace is below, and the error that shows up next is:

2015/03/02 16:47:23 - TRACE - LedgerSMB::call_procedure LedgerSMB.pm (543) --
$procname="setting_get"
2015/03/02 16:47:23 - TRACE - Form::db_init LedgerSMB/Form.pm (1318) -- end
2015/03/02 16:47:23 - TRACE - LedgerSMB::call_procedure LedgerSMB.pm (543) --
$procname="setting_get"
Use of uninitialized value $sign in numeric lt (<) at
/usr/share/perl5/Number/Format.pm line 542.
Use of uninitialized value $sign in numeric lt (<) at
/usr/share/perl5/Number/Format.pm line 490.
Use of uninitialized value $sign in numeric lt (<) at
/usr/share/perl5/Number/Format.pm line 590.
2015/03/02 16:47:23 - TRACE - LedgerSMB::call_procedure LedgerSMB.pm (543) --
$procname="template__get"
Use of uninitialized value $sign in numeric lt (<) at
/usr/share/perl5/Number/Format.pm line 542.
Use of uninitialized value $sign in numeric lt (<) at
/usr/share/perl5/Number/Format.pm line 490.
Use of uninitialized value $sign in numeric lt (<) at
/usr/share/perl5/Number/Format.pm line 590.

this $sign issue would seem to be downwind of the real problem, whatever it
is. I started straceing because I figured that I'd find the directory where
the template was being searched for, assuming that it wasn't the one I
thought it was.

stat64("./LedgerSMB/Template/XLS.pm", 0xbfde7b50) = -1 ENOENT (No such file
or directory)
write(2, "Use of uninitialized value $sign"..., 98) = 98
write(2, "Use of uninitialized value $sign"..., 98) = 98
write(2, "Use of uninitialized value $sign"..., 98) = 98
gettimeofday({1425314843, 732297}, NULL) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=56, ...}) = 0
write(2, "2015/03/02 16:47:23 - TRACE - Le"..., 104) = 104
send(3, "Q\0\0\0FSELECT * FROM \"public\".\"tem"..., 71, MSG_NOSIGNAL) = 71
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recv(3,
"T\0\0\0\217\0\5id\0\0\0\0\0\0\0\0\0\0\27\0\4\377\377\377\377\0\0temp"...,
16384, 0) = 191
stat64("css/ledgersmb-blue.css", {st_mode=S_IFREG|0644, st_size=4010, ...}) =
0
write(1, "Content-Type: text/html; charset"..., 309) = 309
write(1, "\n\t<meta http-equiv=\"Pragma\" cont"..., 157) = 157
write(1, "\n\t<link rel=\"shortcut icon\" href"..., 1064) = 1064
gettimeofday({1425314843, 736744}, NULL) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=56, ...}) = 0
write(2, "2015/03/02 16:47:23 - ERROR - Fo"..., 156) = 156
gettimeofday({1425314843, 737362}, NULL) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=56, ...}) = 0
write(2, "2015/03/02 16:47:23 - ERROR - Fo"..., 124) = 124
write(1, "<body><h2 class=\"error\">Error!</"..., 231) = 231
write(2, "exit at LedgerSMB.pm line 632.\nC"..., 99) = 99
rt_sigaction(SIG_0, NULL, {SIG_DFL, [], 0}, 8) = -1 EINVAL (Invalid argument)

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel