First of all, thanks a lot for finishing the Python 3.x version!!!
When running it on a number of my programs, I get error messages which seem to be avoidable. Since I don't dare to make the change myself, I'd prefer if someone with a better understanding implements it.
I suggest that in
baseclasses.py
you add to the
classGenerator,method__del__
the lines
except SyntaxError:
pass
(around line 1380).
It seems to have no effect on the correct running, but eliminates some error messages.
Thanks, thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For example, if I run attached Hodgkins-Huxley simulation, I get error messages if I do not make the suggested change. I have tried it out with different Python versions, but only on a Win7 platform.
It would be interesting to see if you can run them without an error message.
Thanks, Thomas
Ah. Well, I mean specifically: can you show me what a particular error message is for the particular script file. Basically, please copy-paste the exact traceback of the error. Without that, I'm still in the dark about what your situation is.
For example, if I run attached Hodgkins-Huxley simulation, I get error
messages if I do not make the suggested change. I have tried it out with
different Python versions, but only on a Win7 platform.
It would be interesting to see if you can run them without an error message.
Thanks, Thomas
small change to class Generator in "baseclasses.py"
Thomas, I fear something is wrong with your installation. I cannot reproduce this on Win 7 with Python 3.4 with the script you posted. Please give exact details of both the traceback and the python installation versions (including how you installed it, e.g. with Anaconda or Pyzo) you used.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First of all, thanks a lot for finishing the Python 3.x version!!!
When running it on a number of my programs, I get error messages which seem to be avoidable. Since I don't dare to make the change myself, I'd prefer if someone with a better understanding implements it.
I suggest that in
you add to the
the lines
(around line 1380).
It seems to have no effect on the correct running, but eliminates some error messages.
Thanks, thomas
Hi Thomas,
Could you explain what your reasons are? For instance, give an example of why the present behavior is not working out?
Hi Rob,
For example, if I run attached Hodgkins-Huxley simulation, I get error messages if I do not make the suggested change. I have tried it out with different Python versions, but only on a Win7 platform.
It would be interesting to see if you can run them without an error message.
Thanks, Thomas
Ah. Well, I mean specifically: can you show me what a particular error message is for the particular script file. Basically, please copy-paste the exact traceback of the error. Without that, I'm still in the dark about what your situation is.
-Rob
On Mon, Feb 2, 2015 at 12:35 PM, Thomas Haslwanter
thomas_ha@users.sf.net wrote:
Last edit: Rob Clewley 2015-02-02
Thomas, I fear something is wrong with your installation. I cannot reproduce this on Win 7 with Python 3.4 with the script you posted. Please give exact details of both the traceback and the python installation versions (including how you installed it, e.g. with Anaconda or Pyzo) you used.