|
![](/i/fill.gif) |
Fabien HENON wrote:
> After a long while, I have released a new version of Pyvon.
>
>
> The new things are just :
> Users now have the ability to enable-disable the auto expand keyword
> Fixed a bug with moving "text" when pasting from clipboard.
>
> Fabien H
>
> http://pyvon.sourceforge.net
>
First of all, thank you for your continuing work on Pyvon :)
I downloaded and installed the most recent version last night
and have run into a problem that looks to be centered around
Tkinter and saving files.
If I create a new scene and try to save it, I get the following
error messages:
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 1300, in __call__
return apply(self.func, args)
File "/usr/local/pyvon/d44.py", line 1583, in save
fd.write(line.encode(encoding))
TypeError: encode() argument 1 must be string, not None
The saved file will be 0 bytes long.
If I load an existing scene file and try to render it, I get the
following error messages:
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 1300, in __call__
return apply(self.func, args)
File "/usr/local/pyvon/d44.py", line 1649, in render
save()
File "/usr/local/pyvon/d44.py", line 1583, in save
fd.write(line.encode(encoding))
TypeError: encode() argument 1 must be string, not None
Povray never actually gets launched and the contents of the scene
file are destroyed.
I'm running this stuff on Gentoo Linux, Python 2.2.2, tk-8.3.4-r1.
I usually end up with pretty recent versions of software using
Gentoo so maybe something has changed in the Tkinter specs? I'll
look around for another Python/Tkinter app that saves files and
see if I get similar behavior. I don't know if it's a problem in
my setup or not but if you have any ideas let me know!
-Roz
Post a reply to this message
|
![](/i/fill.gif) |