after upgrade 4.1.5 all scripts run into validation error #17899
Replies: 11 comments 3 replies
-
Try add the name from extras.scripts import Script
name = "TestItems"
class TestItems(Script): |
Beta Was this translation helpful? Give feedback.
-
I try this and got the same error |
Beta Was this translation helpful? Give feedback.
-
here is the head of the script
|
Beta Was this translation helpful? Give feedback.
-
from extras.scripts import Script
name = "TestItems"
class TestItems(Script):
class Meta:
# This is the human-friendly names of your script. If omitted, the class name
# will be used.
name = "Test"
commit_default = False Inside Meta there is another name field. |
Beta Was this translation helpful? Give feedback.
-
I have the meta class with the property name . The value of this property is displayed in the script list. This is not the problem. thx for the tipps. here the complete head of one of the scripts:
|
Beta Was this translation helpful? Give feedback.
-
having the same error, any luck yet? |
Beta Was this translation helpful? Give feedback.
-
Thx for Quick help. But I'am today off. I try this tomorrow.
WZ ***@***.***> schrieb am Do., 31. Okt. 2024, 03:08:
… There’s a fix merged to the develop branch. You can use that until the
next release.
sudo git branch develop
sudo git fetch origin develop:develop
sudo git checkout develop
Run upgrade.sh
—
Reply to this email directly, view it on GitHub
<#17899 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGZWYVU4JLSFFXLPRV5NAXDZ6GGKTAVCNFSM6AAAAABQ4DBFYKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJQGY3TAMI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
V4.1.6 fix this |
Beta Was this translation helpful? Give feedback.
-
this version is fine. thx for the quick reaction. |
Beta Was this translation helpful? Give feedback.
-
I'm finding that custom scripts still cannot be run via the API or CLI in v4.1.6. The patch only seemed to fix the GUI. API Result
|
Beta Was this translation helpful? Give feedback.
-
after click on run script I got this message:
I configure logging and found this:
I have no idea whats wrong.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions