|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |