Let me first explain what happened.
When I tried to open problematic file the page frame is gone, but no error 
appears no matter how long I wait. The error appears as soon as I click 
enywhere on menu so the error message is a bit different depending on what I 
tried to do(click) but its probably related to the missing part of editor.

Sorry I have not used Subversion yet, so ...

Here are all changes in files and how it looks now.
dabo/ide/Editor.py
***********
row 13 (my change) * import codecs
row 14 (Paul's change) * from dabo.lib.utils import ustr
row 902 (Paul's change) * #txt = ed.Text
row 903 (Paul's change) * txt = ustr(ed.Text)
row 905 (Paul's change) * #f = open(fname, "w")
row 906 (my change) * f = codecs.open(fname, "wb","utf-8")
***************

dabo/dabo/ui/uiwx/dEditor.py
***********
row 14 (my change) * import codecs
row 1476 (my change) * 
codecs.open(fname,"wb").write(self.GetText().encode("utf-8"))
row 1477 (my change) * #open(fname, 
"wb").write(self.GetText().encode(self.Encoding))
************

The utils.py was reverted to what it was originaly, and file 
settings_override.py was removed from working directory.
So basicly there are only those changes in the two files as stated above.

Now Ed suggests in separate thread that there are some fixes so I should 
update or what I am supposed to do?

Thanks

Z.



----- Original Message ----- 
From: "Paul McNett" <[email protected]>
To: "Dabo Users list" <[email protected]>
Sent: Monday, April 23, 2012 2:37 PM
Subject: Re: [dabo-users] Fw: Unicode Encode Error


>
> This last error could be caused by something different. I don't know why
> CurrentEditor wouldn't have been defined, but if you could wrap up a 
> summary of the
> changes you've made to the Dabo source code so far to get to this point, 
> we could at
> least test those changes and get them into the framework. If you happen to 
> have done
> the Subversion checkout of your Dabo Source then this will be easy:
>
> cd dabo
> svn diff > dabo_diff.txt
>
> and then copy/paste dabo_diff.txt to an email to dabo-users.
>
> Thanks
> Paul
>
>
> _______________________________________________
> Post Messages to: [email protected]
> Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
> Searchable Archives: http://leafe.com/archives/search/dabo-users
> This message: 
> http://leafe.com/archives/byMID/[email protected]
> 

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/7D1C38AE3D7C4DC490EB1A2C89A95ECD@Perajoe

Reply via email to