Author Topic: Error: Failed to load the wizard's script  (Read 373 times)

Offline iamnirbhay

  • Single posting newcomer
  • *
  • Posts: 3
  • Always asking
Error: Failed to load the wizard's script
« on: May 03, 2018, 01:19:03 pm »
Hello!

I am using Code::Blocks 17.12 and I want to run an OpenCV code in it.

When I try to create a new Project - Console - OpenCV , it says 'Failed to load the Wizard's script' with a notification window in the right hand side corner of the screen.

When I try to edit the OpenCV script by right clicking on the OpenCV oprtion, it says 'Couldn't open script:
/usr/share/codeblocks/templates/wizard/opencv/wizard.script'


Now, I checked that in the above address, the opencv folder is missing.

Help me with this please.

Thanks.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10961
    • Travis build status
Re: Error: Failed to load the wizard's script
« Reply #1 on: May 03, 2018, 01:34:02 pm »
What distro are you using? How have you installed codeblocks?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline iamnirbhay

  • Single posting newcomer
  • *
  • Posts: 3
  • Always asking
Re: Error: Failed to load the wizard's script
« Reply #2 on: May 03, 2018, 01:36:26 pm »
Thanks for the answer. I installed it using the official website.

codeblocks_17.12-1_amd64_stable.tar.xz - This is the file I downloaded.

http://www.codeblocks.org/downloads/26 - Link to the file.

I tried everything but I don't understand how to solve this.

Just for the info I downloaded OpenCV 3.4.1 version using the terminal in Ubuntu 16.04 LTS (Virtual Box).

When I try to create the new project, I can't even see the symbol of OpenCV Project below the name, this means the whole wizard file is missing.
« Last Edit: May 03, 2018, 01:42:42 pm by iamnirbhay »

Offline iamnirbhay

  • Single posting newcomer
  • *
  • Posts: 3
  • Always asking
Re: Error: Failed to load the wizard's script
« Reply #3 on: May 03, 2018, 05:57:37 pm »
This Person just became Demi-God for me ..

Link to the solution- https://forum.openframeworks.cc/t/code-blocks-cannot-find-resources/20091

Solution

sudo apt-get autoremove codeblocks
sudo apt-get purge codeblocks