pshannon wrote:Spogg wrote:You can try to copy and paste code from the 3.09 via Notepad into the code boxes in 3.081. I do know this works with DSP code at least, but not sure about Ruby.
Cheers
Spogg
Thanks Spogg,
I did that and I even rewrote. I can't even do this simple addition now.
xvalue = xvalue + 1
or
xvalue += 1
I get this: nomethoderror: undefined method '+' #<thread blah blah dead
Why would you need to define '+' ???
The ruby interpreter sometimes kills me too. I keep thinking there are bugs in this ruby parser/interpreter. Sometimes I have to retype the exact same thing, maybe I need to put a space between something for it to work or try different approaches. But in the end the logic and the syntax is textbook in many cases. Thanks
Frustrated QuadBIT.
Starting with knowledge that might be of interest: Ruby is fully OOP. Everything in Ruby is an object. That includes numbers, operators and even conditionals like "if".
- Code: Select all
a = a + 1 # this is actually calling the method "+" of the number a, like this: a.+(1)
a += 1 # same as above
So the message tells you that there is no method "+" for a number. Since this is Ruby's kernel, it means that it can't find a proper Ruby installation at the path it's looking for. This happens a lot, when up- or downgrading without taking care.
My proposal is a clean install. First delete 3.0.9 and all of its dependencies. That means, after de-installing 3.0.9, open the filebrowser and in the path field enter just "%appdata% and hit return. If you see the folder "Flowstone" at this location (or anything that has to do with Flowstone), delete it.
Run a registry cleaner to delete all links to Flowstone.
Now you can install 3.0.8.1, and should be able to work normal again.
CAUTION: The folder "Flowstone" contains a subfolder "modules", where all modules are saved as osm, incl. those that don't belong to the standard install. You might want to backup that folder, but when copying data make sure you only copy those modules that you installed yourself (by dragging anything from a schematic to the sidebar in Flowstone). Don't replace the modules from the fresh 3.0.8.1 installation!