内部エラー発生のご報告

Issue #877 resolved
Kohaku Utakata created an issue

最新版ではなかったのですが、内部エラー発生のメッセージ
「処理中に内部エラーが発生したため、ゲームを停止しました。このエラーは想定されたものではなく、バグによってしか発生しません」
が出ましたので、エラーログをお送りいたします。

ご確認お願いいたします。

OS:Win10 64bit

Version : 4.0 Beta 3 (64-bit) / 2019-11-06 07:42:31
DateTime: 2019-11-12 22:49:02
Traceback (most recent call last):
File ".\cw\content.py", line 4006, in eval
File ".\cw\calculator.py", line 531, in eval
File ".\cw\calculator.py", line 505, in calculate
File ".\cw\calculator.py", line 135, in call
File ".\cw\calculator.py", line 602, in _func_len
File ".\cw\calculator.py", line 568, in _chk_string
cw.calculator.ArgumentIsNotStringException: 0 is not String. Line: 1, Pos: 7

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File ".\cw\thread.py", line 861, in run
File ".\cw\thread.py", line 913, in _run
File ".\cw\thread.py", line 924, in main_loop
File ".\cw\eventhandler.py", line 125, in run
File ".\cw\eventhandler.py", line 825, in executing_event
File ".\cw\thread.py", line 3662, in change_area
File ".\cw\data.py", line 849, in start_event
File ".\cw\event.py", line 621, in start
File ".\cw\event.py", line 842, in start
File ".\cw\event.py", line 902, in run
File ".\cw\event.py", line 1101, in action
File ".\cw\content.py", line 4019, in action
File ".\cw\content.py", line 4009, in eval
File ".\cw\content.py", line 175, in variant_error
AttributeError: 'ArgumentIsNotStringException' object has no attribute 'arg_value'

Comments (4)

  1. Kohaku Utakata reporter

    追記:最新版(20191111)でも発生いたしました。


    Version : 4.0 Beta 3 (64-bit) / 2019-11-11 21:31:47
    DateTime: 2019-11-12 22:57:53
    Traceback (most recent call last):
    File ".\cw\content.py", line 4006, in eval
    File ".\cw\calculator.py", line 531, in eval
    File ".\cw\calculator.py", line 505, in calculate
    File ".\cw\calculator.py", line 135, in call
    File ".\cw\calculator.py", line 602, in _func_len
    File ".\cw\calculator.py", line 568, in _chk_string
    cw.calculator.ArgumentIsNotStringException: 0 is not String. Line: 1, Pos: 7

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File ".\cw\thread.py", line 861, in run
    File ".\cw\thread.py", line 913, in _run
    File ".\cw\thread.py", line 924, in main_loop
    File ".\cw\eventhandler.py", line 129, in run
    File ".\cw\eventhandler.py", line 829, in executing_event
    File ".\cw\thread.py", line 3662, in change_area
    File ".\cw\data.py", line 849, in start_event
    File ".\cw\event.py", line 621, in start
    File ".\cw\event.py", line 842, in start
    File ".\cw\event.py", line 902, in run
    File ".\cw\event.py", line 1101, in action
    File ".\cw\content.py", line 4019, in action
    File ".\cw\content.py", line 4009, in eval
    File ".\cw\content.py", line 175, in variant_error
    AttributeError: 'ArgumentIsNotStringException' object has no attribute 'arg_value'

  2. k4nagatsuki repo owner

    pull request #2662

    ご報告ありがとうございます。式の型チェックが失敗するとエラーダイアログが表示されるのですが、その表示自体が文字列と真偽値の型チェックの際に失敗していました。

  3. Kohaku Utakata reporter

    ご対応ありがとうございました。正しくエラーが表示されるのを確認いたしました。

  4. Log in to comment