Exception #4

Closed
opened 2026-08-25 15:00:48 +00:00 by mdsfred · 0 comments
Owner
Tue Aug 25 14:34:09 2026] ERROR:trytond.protocols.wrappers:<JSONRequest 248@10.1.7.81 'https://erp.mekiteltow.de/kitaabr/' [POST] wizard.cashbook.open_lines.execute>
Traceback (most recent call last):
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/model/model.py", line 317, in __getattr__
    return self._values[name]
           ~~~~~~~~~~~~^^^^^^
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/protocols/dispatcher.py", line 196, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
                        ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/wizard/wizard.py", line 340, in execute
    result = wizard._execute(state_name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/wizard/wizard.py", line 380, in _execute
    result = self._execute(transition())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/wizard/wizard.py", line 375, in _execute
    do_result = do(action)
                ^^^^^^^^^^
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/modules/cashbook/wizard_openline.py", line 136, in do_open_
    cfg1.date_from = self.askuser.date_from if self.askuser else None
                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/model/model.py", line 319, in __getattr__
    raise AttributeError("'%s' Model has no attribute '%s': %s"
AttributeError: 'cashbook.open_lines.start' Model has no attribute 'date_from': None. Did you mean: 'date_to'?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/protocols/wrappers.py", line 200, in wrapper
    return func(request, pool, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/protocols/dispatcher.py", line 234, in _dispatch
    store_exception(log_message, log_args, duration(), c_args, c_kwargs, config)
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/error_store/exceptions.py", line 71, in store_exception
    fhdl.write(data)
UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in position 199: ordinal not in range(128)

``` Tue Aug 25 14:34:09 2026] ERROR:trytond.protocols.wrappers:<JSONRequest 248@10.1.7.81 'https://erp.mekiteltow.de/kitaabr/' [POST] wizard.cashbook.open_lines.execute> Traceback (most recent call last): File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/model/model.py", line 317, in __getattr__ return self._values[name] ~~~~~~~~~~~~^^^^^^ TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/protocols/dispatcher.py", line 196, in _dispatch result = rpc.result(meth(*c_args, **c_kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/wizard/wizard.py", line 340, in execute result = wizard._execute(state_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/wizard/wizard.py", line 380, in _execute result = self._execute(transition()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/wizard/wizard.py", line 375, in _execute do_result = do(action) ^^^^^^^^^^ File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/modules/cashbook/wizard_openline.py", line 136, in do_open_ cfg1.date_from = self.askuser.date_from if self.askuser else None ^^^^^^^^^^^^^^^^^^^^^^ File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/model/model.py", line 319, in __getattr__ raise AttributeError("'%s' Model has no attribute '%s': %s" AttributeError: 'cashbook.open_lines.start' Model has no attribute 'date_from': None. Did you mean: 'date_to'? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/protocols/wrappers.py", line 200, in wrapper return func(request, pool, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/protocols/dispatcher.py", line 234, in _dispatch store_exception(log_message, log_args, duration(), c_args, c_kwargs, config) File "/home/tryton/kitaabr/lib/python3.12/site-packages/error_store/exceptions.py", line 71, in store_exception fhdl.write(data) UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in position 199: ordinal not in range(128) ```
mdsfred self-assigned this 2026-08-25 15:00:48 +00:00
mdsfred added reference refs/tags/ver-7.0.51 2026-08-27 09:53:05 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mdsfred/cashbook#4
No description provided.