'str' object has no attribute '_meta' #7505
Unanswered
jskoetsier
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I'm afraid you've run into #7474. This will be fixed in v3.0.7, which I'm planning to release later today. Sorry for the trouble. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Since the upgrade from 3.0.4 to 3.0.6 my scripts don't run any more, I get the error:
<class 'AttributeError'>
'str' object has no attribute '_meta'
Python version: 3.8.10
NetBox version: 3.0.6
I think the problem resides in the Meta class, this is my snipplet:
class SyncPrefixes(Script):
class Meta:
name = "Synchronize Prefixes from Acceptance netbox"
description = "This script will synchronize Prefixes from the acceptance netbox"
commit_default = False
Does anyone have an idea?
Beta Was this translation helpful? Give feedback.
All reactions