Open orthur opened 1 year ago
Do your python keywords has decorator @keyword, and the code like below:
class test_class:
@keyword()
def test_keyword():
if so, can you change the code to:
class test_class:
@keyword
def test_keyword():
or something like:
class test_class:
@keyword("custom keyword name")
def test_keyword():
I find the decorator has parentheses but without actual argument, i.e., "@keyword()" may cause above exception. If you confirm after you adjust your code there is no such exception, I can build a patch for you.
@orthur please try the attached patch v0.14.191.8026.1: intellibot.zip
Do your python keywords has decorator @Keyword, and the code like below:
class test_class: @keyword() def test_keyword():
if so, can you change the code to:
class test_class: @keyword def test_keyword():
or something like:
class test_class: @keyword("custom keyword name") def test_keyword():
I find the decorator has parentheses but without actual argument, i.e., "@Keyword()" may cause above exception. If you confirm after you adjust your code there is no such exception, I can build a patch for you.
I have hundreds of keywords, I cant change them all, but I try to reproduce in new small project
@orthur please try the attached patch v0.14.191.8026.1: intellibot.zip
can't install it, error
![]()
Do you extract the zip file, and use pycharm "Install Plugin from Disk..." ?
Do you extract the zip file, and use pycharm "Install Plugin from Disk..." ?
my bad, I did not extract the zip file. now installed fine. I will update you here if encounter exceptions
I have not encountered that exception anymore
I have not encountered that exception anymore
Thanks for the feedback. I will merge the fix to main branch later.
Project has many python keywords. I am not able to find exact reason for that exception yet.