POV-Ray : Newsgroups : povray.unix : Pyvon 1.2 Server Time
6 Oct 2024 13:43:37 EDT (-0400)
  Pyvon 1.2 (Message 11 to 16 of 16)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Warp
Subject: Re: Pyvon 1.2
Date: 8 Jan 2003 08:58:33
Message: <3e1c2e89@news.povray.org>
fabien Henon <fab### [at] caramailcom> wrote:
> What message do you get when you type python d35.py in the pyvon directory?

  Oh, it works that way.

  The 'pyvon' script seems to start "python res.py" instead, which causes
the problem I described (ie. it just terminates immediately without saying
anything).

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: HENON fabien
Subject: Re: Pyvon 1.2
Date: 8 Jan 2003 10:20:04
Message: <web.3e1c3fc984d5eda27ff7c9e30@news.povray.org>
Warp wrote:
>fabien Henon <fab### [at] caramailcom> wrote:
>> What message do you get when you type python d35.py in the pyvon directory?
>
>  Oh, it works that way.
>
>  The 'pyvon' script seems to start "python res.py" instead, which causes
>the problem I described (ie. it just terminates immediately without saying
>anything).

That's right, pyvon script starts 'python res.py'.

res.py does too things :

1 - calculate the height and width of your screen ( in
order to display an xterm box just below pyvon). All povray streams are
directed to that xterm console.

2 - starts the main pyvon script that is supposed to be in /usr/local/pyvon.

In the file res.py, you have a line that looks like :
[......]d+0+%d -e python /usr/local/pyvon/d35.py" % [.....]

Just replace '/usr/local/d35.py' with '~/pyvon/d35.py' and you should have
both the stream out and the pyvon window.


Fabien H


>
>#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
>N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
>N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -
>


Post a reply to this message

From: Warp
Subject: Re: Pyvon 1.2
Date: 8 Jan 2003 10:42:54
Message: <3e1c46fe@news.povray.org>
HENON fabien <fab### [at] caramailcom> wrote:
> Just replace '/usr/local/d35.py' with '~/pyvon/d35.py' and you should have
> both the stream out and the pyvon window.

  It seems to work ok now.

  By the way, there doesn't seem to be any way of setting regular text
color, which seems to be fixed to black. Eg. identifiers are colored like this.
  As I'm accustomed to using black background, this is a problem.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: fabien Henon
Subject: Re: Pyvon 1.2
Date: 8 Jan 2003 13:47:25
Message: <3e1c723d@news.povray.org>
Warp wrote:
> HENON fabien <fab### [at] caramailcom> wrote:
> 
>>Just replace '/usr/local/d35.py' with '~/pyvon/d35.py' and you should have
>>both the stream out and the pyvon window.
> 
Ok I'll see to that and rework the insertions menu, just to check for 
remaining bugs (if any).

Fabien H

> 
>   It seems to work ok now.
> 
>   By the way, there doesn't seem to be any way of setting regular text
> color, which seems to be fixed to black. Eg. identifiers are colored like this.
>   As I'm accustomed to using black background, this is a problem.
>


Post a reply to this message

From: Peter
Subject: Re: Pyvon 1.2
Date: 8 Jan 2003 14:35:36
Message: <3e1c7d87@news.povray.org>
this quote from HENON fabien of Wednesday 08 Jan 2003 3:10 am:
> 
> Things you might try :
> 
> - Run pyvon as root

su to root
run pyvon from Konsole in KDE
black streams box flashes up, then disappears
pyvon window never appears
(ie same as when run as a user)

 
> - Check you reading permissions on the Insert directory

All files in the Insert directory have permissions 666, ie
-rw-rw-rw- and are owned by root.
 
> - Move all your folders and files from the Insert directory to a backup
> directory ( just leave the 'Insert' with nothing in it), run pyvon

pyvon starts ok (nothing in the insert menu, of course)
 
> - Move all your folders and files from the Insert directory to a backup
> directory except for one folder and all its files, run pyvon

One folder >00 - Scene templates< in Insert directory containing its 7 
files, no other folders or files.
Pyvon starts, and has only Scene templates in the insert menu.

> - Move all your folders and files from the Insert directory to a backup
> directory except for one *.pov file located in the Insert directory, run
> pyvon
 
There are no .pov files installed in the Insert directory, so I copied 
lamp.pov across.  Test done with no other files or directories in the 
Insert directory.
Pyvon won't start, same as before - just flashes the black streams box.
Also, it gives the same result if there is just one .txt file in the Insert 
directory and nothing else.

I also tried with all 22 directories (and their contents) in the Insert 
directory.  Pyvon starts ok.


I hope this helps you debug the programme.

regards

Peter


Post a reply to this message

From: Peter
Subject: Re: Pyvon 1.2
Date: 8 Jan 2003 14:56:19
Message: <3e1c8263@news.povray.org>
The /usr/local/pyvon/Insert directory on this PC has many .txt files in it, 
and these appear to be duplicates of files in the subdirectories of 
/Insert.
Maybe these .txt files are from an earlier install of pyvon, and they 
weren't removed by either the install script or the rpm -e.

Removing them manually appears to allow Pyvon to start ok.


Peter


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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