Jump to content
Korean Random
Sign in to follow this  
tunut

SyntaxError: invalid syntax

Recommended Posts

SyntaxError: invalid syntax
arg='sub(, )'
2018-10-29 11:16:12: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 156, in process_python_macro
    (func, deterministic) = get_function(arg)
  File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 144, in get_function
    args = ast.literal_eval(args_string)
  File "scripts/common/Lib/ast.py", line 49, in literal_eval
  File "scripts/common/Lib/ast.py", line 37, in parse
  File "<unknown>", line 1
    (, )
     ^

 

вот такой лабудой заполнен хвм лог,

как понять где именно обишка, в каком файле ? где накосясил ?

Edited by tunut

Share this post


Link to post

Short link
Share on other sites

Макросу:

{{py:sub(a, b)}}

Пустые значения подставляешь, от этого и ошибку в логе наблюдаешь.

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...