[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnumed-bugs] Problem in 0.9.4 printing medication list on Mac
From: |
Jim Busser |
Subject: |
[Gnumed-bugs] Problem in 0.9.4 printing medication list on Mac |
Date: |
Sun, 08 May 2011 18:02:12 -0700 |
Even after I copied the newest gm-print_doc into my MacPorts
/opt/local/bin
which is in my PATH, when I tried to print medications my PDF app (Preview)
opened but there was no PDF. I checked in the expected temporary directory and
there can see .tex files but not any PDFs:
sudo open
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/
Does the output from the log help?
Also is the /opt/local/bin ignored when running from vcs? I see the location of
my downloaded tarball referenced:
/Users/djb/Downloads/gnumed-client.0.9.4/client/../external-tools/gm-print_doc
-- Jim
*********************************************
2011-05-08 17:48:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<client_version>$]
2011-05-08 17:48:10 DEBUG gm.cfg
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmCfg2.py::get()
#314): option [internal::client_version] found in source [internal]
2011-05-08 17:48:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<tex_escape::$Id:
GNUmed-default_medication_list_template.tex,v 1.6 2010-01-21 08:47:11 ncq Exp
$>$]
2011-05-08 17:48:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<today::%Y %B %d>$]
2011-05-08 17:48:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<current_provider>$]
2011-05-08 17:48:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<lastname>$]
2011-05-08 17:48:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<firstname>$]
2011-05-08 17:48:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<date_of_birth::%Y %B %d>$]
2011-05-08 17:48:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<adr_street::home>$]
2011-05-08 17:48:11 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<adr_number::home>$]
2011-05-08 17:48:11 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<adr_postcode::home>$]
2011-05-08 17:48:11 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<adr_location::home>$]
2011-05-08 17:48:11 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<current_meds_table::latex>$]
2011-05-08 17:48:11 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<current_meds_notes::latex>$]
2011-05-08 17:48:11 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<allergies::%(descriptor)s & %(l10n_type)s & {\footnotesize
%(reaction)s} \tabularnewline \hline >$]
2011-05-08 17:48:11 DEBUG gm.forms
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/business/gmForms.py::generate_output()
#734): ignoring <format> directive [None], generating PDF
2011-05-08 17:48:11 DEBUG gm.forms
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/business/gmForms.py::generate_output()
#738): LaTeX sandbox directory:
[/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-ilGTyu]
2011-05-08 17:48:11 DEBUG gm.forms
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/business/gmForms.py::generate_output()
#741): CWD: [/Users/djb/Downloads/gnumed-client.0.9.4/client]
2011-05-08 17:48:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#99): shell command >>>pdflatex -interaction nonstopmode
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-ilGTyu/gm-L-Template-ilGTyu-instance.tex<<<
2011-05-08 17:48:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#100): blocking: True
2011-05-08 17:48:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#101): acceptable return codes: [0, 1]
2011-05-08 17:48:11 INFO gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#131): running shell command >>>pdflatex -interaction nonstopmode
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-ilGTyu/gm-L-Template-ilGTyu-instance.tex<<<
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#134): os.system() returned: [0]
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#146): exited via exit(): True
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#148): exit code: [0]
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#150): normal exit: True
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#151): dumped core: False
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#152): stopped by signal: False
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#99): shell command >>>pdflatex -interaction nonstopmode
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-ilGTyu/gm-L-Template-ilGTyu-instance.tex<<<
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#100): blocking: True
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#101): acceptable return codes: [0, 1]
2011-05-08 17:48:16 INFO gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#131): running shell command >>>pdflatex -interaction nonstopmode
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-ilGTyu/gm-L-Template-ilGTyu-instance.tex<<<
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#134): os.system() returned: [0]
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#146): exited via exit(): True
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#148): exit code: [0]
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#150): normal exit: True
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#151): dumped core: False
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#152): stopped by signal: False
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#99): shell command >>>pdflatex -interaction nonstopmode
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-ilGTyu/gm-L-Template-ilGTyu-instance.tex<<<
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#100): blocking: True
2011-05-08 17:48:16 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#101): acceptable return codes: [0, 1]
2011-05-08 17:48:16 INFO gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#131): running shell command >>>pdflatex -interaction nonstopmode
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-ilGTyu/gm-L-Template-ilGTyu-instance.tex<<<
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#134): os.system() returned: [0]
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#146): exited via exit(): True
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#148): exit code: [0]
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#150): normal exit: True
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#151): dumped core: False
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#152): stopped by signal: False
2011-05-08 17:48:17 DEBUG gm.printing
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPrinting.py::print_file_by_shellscript()
#29): printing "medication_list":
[/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-ilGTyu-instance.pdf]
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::find_first_binary()
#76): looking for [gm-print_doc]
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::detect_external_binary()
#18): detecting [gm-print_doc]
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::detect_external_binary()
#33): [which gm-print_doc] returned: /opt/local/bin/gm-print_doc
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#99): shell command >>>/opt/local/bin/gm-print_doc medication_list
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-ilGTyu-instance.pdf<<<
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#100): blocking: True
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#101): acceptable return codes: [0]
2011-05-08 17:48:17 INFO gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#131): running shell command >>>/opt/local/bin/gm-print_doc medication_list
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-ilGTyu-instance.pdf<<<
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#134): os.system() returned: [0]
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#146): exited via exit(): True
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#148): exit code: [0]
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#150): normal exit: True
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#151): dumped core: False
2011-05-08 17:48:17 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#152): stopped by signal: False
2011-05-08 17:48:17 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1382): new database connection, backend PID: 90750, readonly: False
2011-05-08 17:48:17 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1419): access mode [READ WRITE]
2011-05-08 17:48:17 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_connection()
#1482): client string encoding [UTF8], isolation level [serializable], time
zone [America/Dawson], datestyle [ISO], sql_inheritance [ON]
2011-05-08 17:48:17 ERROR gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_connection()
#1523): cannot set bytea_output format
2011-05-08 17:48:17 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1382): new database connection, backend PID: 90751, readonly: False
2011-05-08 17:48:17 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1419): access mode [READ WRITE]
2011-05-08 17:48:17 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_connection()
#1482): client string encoding [UTF8], isolation level [serializable], time
zone [America/Dawson], datestyle [ISO], sql_inheritance [ON]
2011-05-08 17:48:17 ERROR gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_connection()
#1523): cannot set bytea_output format
2011-05-08 17:48:17 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1382): new database connection, backend PID: 90752, readonly: False
2011-05-08 17:48:17 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1419): access mode [READ WRITE]
2011-05-08 17:48:17 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_connection()
#1482): client string encoding [UTF8], isolation level [serializable], time
zone [America/Dawson], datestyle [ISO], sql_inheritance [ON]
2011-05-08 17:48:17 ERROR gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_connection()
#1523): cannot set bytea_output format
2011-05-08 17:48:18 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1382): new database connection, backend PID: 90753, readonly: False
2011-05-08 17:48:18 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1419): access mode [READ WRITE]
2011-05-08 17:48:18 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_connection()
#1482): client string encoding [UTF8], isolation level [serializable], time
zone [America/Dawson], datestyle [ISO], sql_inheritance [ON]
2011-05-08 17:48:18 ERROR gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_connection()
#1523): cannot set bytea_output format
2011-05-08 17:50:10 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1382): new database connection, backend PID: 90768, readonly: True
2011-05-08 17:50:10 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1413): access mode [READ ONLY]
2011-05-08 17:50:10 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::bytea2file_object()
#966): expecting bytea data of size: [2652] bytes
2011-05-08 17:50:10 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::bytea2file_object()
#967): using chunk size of: [0] bytes
2011-05-08 17:50:10 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::bytea2file_object()
#972): chunk size [0] bytes: retrieving all data at once
2011-05-08 17:50:10 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::bytea2file_object()
#978): chunks to retrieve: [1]
2011-05-08 17:50:10 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::bytea2file_object()
#979): remainder to retrieve: [0] bytes
2011-05-08 17:50:10 ERROR gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::run_ro_queries()
#1133): query failed: [set bytea_output to 'escape']
2011-05-08 17:50:10 ERROR gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::run_ro_queries()
#1134): PG status message:
2011-05-08 17:50:10 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::bytea2file_object()
#987): failed to set bytea_output to "escape", not necessary
2011-05-08 17:50:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<client_version>$]
2011-05-08 17:50:10 DEBUG gm.cfg
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmCfg2.py::get()
#314): option [internal::client_version] found in source [internal]
2011-05-08 17:50:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<tex_escape::$Id:
GNUmed-default_medication_list_template.tex,v 1.6 2010-01-21 08:47:11 ncq Exp
$>$]
2011-05-08 17:50:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<today::%Y %B %d>$]
2011-05-08 17:50:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<current_provider>$]
2011-05-08 17:50:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<lastname>$]
2011-05-08 17:50:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<firstname>$]
2011-05-08 17:50:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<date_of_birth::%Y %B %d>$]
2011-05-08 17:50:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<adr_street::home>$]
2011-05-08 17:50:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<adr_number::home>$]
2011-05-08 17:50:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<adr_postcode::home>$]
2011-05-08 17:50:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<adr_location::home>$]
2011-05-08 17:50:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<current_meds_table::latex>$]
2011-05-08 17:50:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<current_meds_notes::latex>$]
2011-05-08 17:50:10 DEBUG gm.scripting
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmMacro.py::__getitem__()
#149): replacing [$<allergies::%(descriptor)s & %(l10n_type)s & {\footnotesize
%(reaction)s} \tabularnewline \hline >$]
2011-05-08 17:50:10 DEBUG gm.forms
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/business/gmForms.py::generate_output()
#734): ignoring <format> directive [None], generating PDF
2011-05-08 17:50:10 DEBUG gm.forms
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/business/gmForms.py::generate_output()
#738): LaTeX sandbox directory:
[/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-_KsJqR]
2011-05-08 17:50:10 DEBUG gm.forms
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/business/gmForms.py::generate_output()
#741): CWD: [/Users/djb/Downloads/gnumed-client.0.9.4/client]
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#99): shell command >>>pdflatex -interaction nonstopmode
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-_KsJqR/gm-L-Template-_KsJqR-instance.tex<<<
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#100): blocking: True
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#101): acceptable return codes: [0, 1]
2011-05-08 17:50:10 INFO gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#131): running shell command >>>pdflatex -interaction nonstopmode
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-_KsJqR/gm-L-Template-_KsJqR-instance.tex<<<
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#134): os.system() returned: [0]
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#146): exited via exit(): True
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#148): exit code: [0]
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#150): normal exit: True
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#151): dumped core: False
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#152): stopped by signal: False
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#99): shell command >>>pdflatex -interaction nonstopmode
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-_KsJqR/gm-L-Template-_KsJqR-instance.tex<<<
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#100): blocking: True
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#101): acceptable return codes: [0, 1]
2011-05-08 17:50:10 INFO gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#131): running shell command >>>pdflatex -interaction nonstopmode
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-_KsJqR/gm-L-Template-_KsJqR-instance.tex<<<
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#134): os.system() returned: [0]
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#146): exited via exit(): True
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#148): exit code: [0]
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#150): normal exit: True
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#151): dumped core: False
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#152): stopped by signal: False
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#99): shell command >>>pdflatex -interaction nonstopmode
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-_KsJqR/gm-L-Template-_KsJqR-instance.tex<<<
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#100): blocking: True
2011-05-08 17:50:10 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#101): acceptable return codes: [0, 1]
2011-05-08 17:50:10 INFO gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#131): running shell command >>>pdflatex -interaction nonstopmode
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-_KsJqR/gm-L-Template-_KsJqR-instance.tex<<<
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#134): os.system() returned: [0]
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#146): exited via exit(): True
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#148): exit code: [0]
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#150): normal exit: True
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#151): dumped core: False
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#152): stopped by signal: False
2011-05-08 17:50:11 DEBUG gm.printing
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPrinting.py::print_file_by_shellscript()
#29): printing "medication_list":
[/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-_KsJqR-instance.pdf]
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::find_first_binary()
#76): looking for [gm-print_doc]
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::detect_external_binary()
#18): detecting [gm-print_doc]
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::detect_external_binary()
#30): [which gm-print_doc] failed, exit code: 256
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::find_first_binary()
#76): looking for [gm-print_doc.bat]
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::detect_external_binary()
#18): detecting [gm-print_doc.bat]
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::detect_external_binary()
#30): [which gm-print_doc.bat] failed, exit code: 256
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::find_first_binary()
#76): looking for
[/Users/djb/Downloads/gnumed-client.0.9.4/client/../external-tools/gm-print_doc]
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::detect_external_binary()
#18): detecting
[/Users/djb/Downloads/gnumed-client.0.9.4/client/../external-tools/gm-print_doc]
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#99): shell command
>>>/Users/djb/Downloads/gnumed-client.0.9.4/client/../external-tools/gm-print_doc
medication_list
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-_KsJqR-instance.pdf<<<
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#100): blocking: True
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#101): acceptable return codes: [0]
2011-05-08 17:50:11 INFO gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#131): running shell command
>>>/Users/djb/Downloads/gnumed-client.0.9.4/client/../external-tools/gm-print_doc
medication_list
/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/gm-L-Template-_KsJqR-instance.pdf<<<
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#134): os.system() returned: [0]
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#146): exited via exit(): True
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#148): exit code: [0]
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#150): normal exit: True
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#151): dumped core: False
2011-05-08 17:50:11 DEBUG gm.shell
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#152): stopped by signal: False
2011-05-08 17:50:11 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1382): new database connection, backend PID: 90782, readonly: False
2011-05-08 17:50:11 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1419): access mode [READ WRITE]
2011-05-08 17:50:11 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_connection()
#1482): client string encoding [UTF8], isolation level [serializable], time
zone [America/Dawson], datestyle [ISO], sql_inheritance [ON]
2011-05-08 17:50:11 ERROR gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_connection()
#1523): cannot set bytea_output format
2011-05-08 17:50:11 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1382): new database connection, backend PID: 90783, readonly: False
2011-05-08 17:50:11 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1419): access mode [READ WRITE]
2011-05-08 17:50:11 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_connection()
#1482): client string encoding [UTF8], isolation level [serializable], time
zone [America/Dawson], datestyle [ISO], sql_inheritance [ON]
2011-05-08 17:50:11 ERROR gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmPG2.py::get_connection()
#1523): cannot set bytea_output format
2011-05-08 17:50:31 DEBUG gm.main
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmGuiMain.py::__on_exit_gnumed()
#1106): gmTopLevelFrame._on_exit_gnumed() start
2011-05-08 17:50:31 DEBUG gm.main
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmGuiMain.py::OnClose()
#2363): gmTopLevelFrame.OnClose() start
2011-05-08 17:50:31 DEBUG gm.main
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/wxpython/gmGuiMain.py::_clean_exit()
#2647): gmTopLevelFrame._clean_exit() start
2011-05-08 17:50:31 INFO gm.db
(/Users/djb/Downloads/gnumed-client.0.9.4/Gnumed/pycommon/gmBackendListener.py::shutdown()
#79): stopping backend notifications listener thread
-- Jim
- [Gnumed-bugs] Problem in 0.9.4 printing medication list on Mac,
Jim Busser <=