On Feb 19, 2007, at 6:39 PM, johnf wrote:
> Something occurred to me. Are you adding code to the form we are
> discussing?
> If you are - start over and run the form before you add code and
> each time
> you add code. I have done what you are doing ten different ways
> and get no
> errors.
That seems like an extreme process. How did you come about that
routine?
The Designer Editor was updated a while back to save its contents
whenever it lost focus or whenever the design was run. You shouldn't
have to do anything like that.
> Better yet open "DesignerXmlConverter.py" and un-comment the line
> open("CLASSTEXT.py", "w").write(self.classText)
> This will save a copy of the file you are running. You can then
> paste it into
> the mail. I mean paste the file - don't attempt to attach.
This is a much better solution. It's what I do when there are
problems. The error said that it was on line 93 of the temp file, and
CLASSTEXT.py is just a copy of that temp file, so you can look at
that line in CLASSTEXT.py and see where the error is.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users