Page MenuHome
Feed Advanced Search

Apr 17 2021

fn930211969 (fn930211969) closed T87545: Script cannot be enabled as Resolved.
Apr 17 2021, 2:09 PM · Add-ons (Community)
fn930211969 (fn930211969) added a comment to T87545: Script cannot be enabled.

In order to find operators that haven't been added to any menu, you need to enable Developer Extras in the preferences. See T87180 for detailed instructions.

Apr 17 2021, 2:09 PM · Add-ons (Community)
fn930211969 (fn930211969) added a comment to T87545: Script cannot be enabled.

@fn930211969 (fn930211969) What I meant is that the screenshots you've added don't match the description of your steps. It seems that you have installed the add-on first, hence it's visible in the preferences, and you are running it from text editor as well. By running the same script in the editor you would try to register the operator a second time, which will cause trouble when trying to deactivate the add-on that originally registered the operator. The steps I've posted result in the error you're describing in your report and I would like to know if those are the steps you've actually taken.

Apr 17 2021, 2:28 AM · Add-ons (Community)

Apr 16 2021

fn930211969 (fn930211969) added a comment to T87545: Script cannot be enabled.

You seem to be doing something different than your instructions state as the script is installed as an add-on. Just by running the script from the text editor won't make it appear in the add-on preferences.

It seems the steps you've actually performed were:

  1. Copy and paste the code from the manual into a file named frist.py and then manually saved it to blender/2.93/scripts/addons
  2. Opened Blender and enabled the add-on in the preferences (Edit > Preferences > Add-ons)
  3. Switched to the Scripting workspace and loaded the frist.py into the text editor.
  4. Ran the script in the text editor.
  5. Used F3 with Developer Extras enabled to find Move X By One
  6. After executing the operator you've tried to disable the registered add-on.

Is that correct?

Apr 16 2021, 2:13 PM · Add-ons (Community)
fn930211969 (fn930211969) created T87545: Script cannot be enabled.
Apr 16 2021, 3:29 AM · Add-ons (Community)