Author Topic: Cannot create AVR project with wizard  (Read 5274 times)

Offline c01d

  • Single posting newcomer
  • *
  • Posts: 2
Cannot create AVR project with wizard
« on: March 20, 2016, 07:38:04 pm »
Hi there,

First: Thank you for your work on Code::Blocks!

I encounter the following issue:

When creating an AVR project with the wizard, the project fails to become fully created. While in the Porjects-view under "Workspace" I see my projects, no files are created/assigned to them. There is also an error message showing up after the wizard seems to think he created the project:

SquirrelFunction<> call failed
AN ERROR HAS OCCURED [the index 'Item' does not exist]

CALLSTACK
*FUNCTION [GetFuseBytes()] /usr/share/codeblocks/templates/wizard/avr/wizard.script line [325]
*FUNCTION [GetGeneratedFile()] /usr/share/codeblocks/templates/wizard/avr/wizard.script line [346]

LOCALS
0
[fuses] INSTANCE
[parts] INSTANCE
[part] INSTANCE
[this] TABLE
[file_index] 1
[this] TABLE


This occurs in the latest nightly (I built it with Jens Lody's instructions and checked out only a few minutes ago), but also in C::B 13.12 this problem exists (I had installed 13.12 from the debian repos, but purged absolutely everything before I installed the latest nightly).

I am on Debian Jessie (== stable), AMD 64.

Any ideas?

Thank you and best greetings
Benjamin

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Cannot create AVR project with wizard
« Reply #1 on: March 22, 2016, 12:11:00 am »
Can you tell me what options are you choosing in the last dialog?
It seems they matter and probably there are only few combinations that fail.
(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 oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Cannot create AVR project with wizard
« Reply #2 on: March 22, 2016, 12:34:22 am »
You can ignore my last comment.
This doesn't work because wxArrayString::Item is missing from the squirrel bindings your version of c::b.
The first fixed version is rev10400. So you need to install a recent night build or the latest stable build 16.01.
(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 c01d

  • Single posting newcomer
  • *
  • Posts: 2
Re: Cannot create AVR project with wizard
« Reply #3 on: March 22, 2016, 08:46:07 pm »
Dear obfuscated,

Thank you a lot for your quick reply!

First: it works!

I run svn rev 10794.

Well, that is the same version as I was running when I wrote my initial post .... seems I mixed up the previous and the nightly install.

So sorry for stealing your time! :-(

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Cannot create AVR project with wizard
« Reply #4 on: March 22, 2016, 08:51:22 pm »
No problem. In fact I've found another little bug... :)
(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!]