PyAlamode - Refuses to save my module!

I have a module that PyAlamode refuses to save. Its even worse than that, it will completely wipe-out any code that is already there; the next time that I open the file, it is blank. Same thing happens with the editor in PyCard. I can import the module into PyCrust to use, however. Does anyone know any circumstances where this might happen?

I've just installed Python2.5, and wx.Python2.6.3.3 today, but this problem was occuring also with earlier versions.

Best regards,
Tim

Unicode caught me out again!!! The module was mainly a data file with a lot of Strings. It was only a matter of placing a 'u' before the strings; u"something", and PyAlamode is happy. Its good to be able to answer your own questions sometimes...

Tim

Tim Grove wrote:

···

I have a module that PyAlamode refuses to save. Its even worse than that, it will completely wipe-out any code that is already there; the next time that I open the file, it is blank. Same thing happens with the editor in PyCard. I can import the module into PyCrust to use, however. Does anyone know any circumstances where this might happen?

I've just installed Python2.5, and wx.Python2.6.3.3 today, but this problem was occuring also with earlier versions.

Best regards,
Tim

Tim Grove wrote:

I have a module that PyAlamode refuses to save. Its even worse than
that, it will completely wipe-out any code that is already there; the
next time that I open the file, it is blank. Same thing happens with the
editor in PyCard. I can import the module into PyCrust to use, however.
Does anyone know any circumstances where this might happen?

I've just installed Python2.5, and wx.Python2.6.3.3 today, but this
problem was occuring also with earlier versions.

Best regards,
Tim

What platform?
Unicode?

Different encoding?

On my pc (ansi, Windows XP, wxPy 2.6.2.1, Python 2.4 everythings seems
ok.

···

--
Franz Steinhaeusler

Tim Grove wrote:

Unicode caught me out again!!! The module was mainly a data file with a
lot of Strings. It was only a matter of placing a 'u' before the
strings; u"something", and PyAlamode is happy. Its good to be able to
answer your own questions sometimes...

Ok, when you can forget my other answer or more questions! :slight_smile:

···

Tim

--
Franz Steinhaeusler