POV-Ray : Newsgroups : povray.unix : Pyvon 1.3.2 Server Time
5 Jul 2024 14:49:57 EDT (-0400)
  Pyvon 1.3.2 (Message 1 to 5 of 5)  
From: Fabien HENON
Subject: Pyvon 1.3.2
Date: 10 Apr 2003 16:26:18
Message: <3e95d36a$1@news.povray.org>
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


Post a reply to this message

From: Roz
Subject: Re: Pyvon 1.3.2
Date: 11 Apr 2003 22:55:09
Message: <3e97800d@news.povray.org>
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

From: Fabien HENON
Subject: Re: Pyvon 1.3.2
Date: 12 Apr 2003 16:18:43
Message: <3e9874a3@news.povray.org>
Roz wrote:
> 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
>>
> 
No, this is my mistake. While trying to find a way to insert extended 
characters, something Tkinter does not do by default, I left some 
debugging keywords in the code.

It is fixed now and you can download it again.I do hope no harm was done.

Sorry if someone lost a file.

> 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

From: Roz
Subject: Re: Pyvon 1.3.2
Date: 12 Apr 2003 16:46:36
Message: <3e987b2c$1@news.povray.org>
Fabien HENON wrote:
> No, this is my mistake. While trying to find a way to insert extended 
> characters, something Tkinter does not do by default, I left some 
> debugging keywords in the code.
> 
> It is fixed now and you can download it again.I do hope no harm was done.
> 
> Sorry if someone lost a file.

I had tested it out on some copies of scene files so no harm done here.
When I saw it having problems saving a new scene I went into paranoid
mode when testing it on existing scene files ;)


I just downloaded and tried out your fix and it works :)

-Roz


Post a reply to this message

From: Shay
Subject: Re: Pyvon 1.3.2
Date: 27 Sep 2003 20:55:21
Message: <3f763179@news.povray.org>
Fabien HENON wrote:

> After a long while, I have released a new version of Pyvon.
> 

I installed this tonight. I have a few questions. 

=> What reason could there be for my drop down menus not working?
=> Why might changes to my .pyvonrc file be overwritten when starting Pyvon? 
=> My keyword coloring is only shown when I close and then reopen a file. Is
this normal behavior?
=> Is there a way to "unbold" bold keywords and comments. I prefer to look
at fixed width, which doesn't mix well with bold.

Sorry about the questions. The program works great (I have been using KWrite
+ Command line up to this point.)

 -Shay


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.