Importing workspace to Calc

  • Asked
  • Active
  • Viewed 4192 times
0

Hi Open Foris Team,

We came up with an error as trying to import Calc workspace from Calc 2.1-a14 to Calc 2.1-a16. Error message was: "ERROR: Error in calculateQuantityError(dataClone, plotsClone, strata, "tree_volume"): unused argument ("tree_volume")" In function call is three parameters, but "tree_volume" has appeared from somewhere. No idea why this happens. Is it just because we tried to mix different Calc versions? If this is the case, how can we easily get scripts from previous version running on the newest one?

Just to clarify, all scripts were successfully imported and we could execute calculations and also area error estimations. As we tried to run error estimations for other variables, we came up with these troubles.

Thanks, Pekka

0

Accepted answer

Hi Pekka,

The signatures of the error functions have changed.

Could you try to update them in your error scripts by adding a forth parameter? You can ignore it in your script.

Please let me know if it works.

Thank you,

Mino

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.