gnumed-bugs
[Top][All Lists]
Advanced

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

<bug>: trying to create apdf of an pre-existing bill


From: LMcC = any-doc
Subject: <bug>: trying to create apdf of an pre-existing bill
Date: Sun, 01 Jan 2023 14:41:41 +0100

Report sent via GNUmed's handler for unexpected exceptions.

user comment  : trying to create apdf of an pre-existing bill

client version: 1.8.7

system account: l-ray
staff member  : Dr.Leonard Horatio McCoy (LMcC = any-doc)
sender email  : <supply email address for getting feedback on bug report>

 # enable Launchpad bug tracking
 affects gnumed
 tag automatic-report
 importance medium

Exception:

 type: <class 'TypeError'>
 value: expected str, bytes or os.PathLike object, not NoneType

Traceback:

  File "/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py", line 297, in 
_on_middle_extra_button_pressed
    if not self.__middle_extra_button_callback(item_data):
  File "/usr/share/gnumed/Gnumed/wxpython/gmBillingWidgets.py", line 884, in 
show_pdf
    return create_invoice_from_bill(parent = parent, bill = bill, print_it = 
True, keep_a_copy = True)
  File "/usr/share/gnumed/Gnumed/wxpython/gmBillingWidgets.py", line 620, in 
create_invoice_from_bill
    invoice = template.instantiate()
  File "/usr/share/gnumed/Gnumed/business/gmForms.py", line 254, in instantiate
    form = engine(template_file = fname)
  File "/usr/share/gnumed/Gnumed/business/gmForms.py", line 1073, in __init__
    sandbox_dir = gmTools.mk_sandbox_dir(prefix = 
gmTools.fname_stem(template_file) + '_')
  File "/usr/share/gnumed/Gnumed/pycommon/gmTools.py", line 746, in fname_stem
    return os.path.splitext(os.path.basename(filename))[0]
  File "/usr/lib/python3.10/posixpath.py", line 142, in basename
    p = os.fspath(p)

Attachment: gnumed-2023_01_01-15_30_25-2033.log
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]