POV-Ray : Newsgroups : povray.unofficial.patches : Compile error during Megapov XRS server make : Re: Compile error during Megapov XRS server make Server Time
16 May 2024 22:36:32 EDT (-0400)
  Re: Compile error during Megapov XRS server make  
From: George Pantazopoulos
Date: 29 Nov 2006 17:40:00
Message: <web.456e0bf8e1423b92c0bad8570@news.povray.org>
"Peter Raeth" <pet### [at] junocom> wrote:
> "George Pantazopoulos" <go### [at] tomyaboutpage> wrote:
> >
> >    Try running "startxwin.bat" in the cygwin prompt first. It should open an
> > xterm window that looks different than the normal cygwin window. Try running
> > pyxrsclient in that shell window instead.
> >
> >    I may have left that out of the instructions. Sorry 'bout that. Note that
> > your +o will be ignored by the client.
> >
> >    Also, you don't need cygwin to run pyxrsclient. It should work
> > just fine with the Windows version of Python (use IDLE or Pythonwin). For
> > this, you'd need to have PyGTK installed into the Windows Python directory.
> > See the MegaPOV XRS site for links to all the dependencies.
> >
> >    I'm real happy to hear how MegaPOV (will shortly) be helping you. Thanks!
> > I'm curious how would one use a rendering program to help calibrate
> > atmospheric sensors.
> >
>
> Not being a physics type, I am not sure just what he is up to. He seems to
> be more interested in raytracing than rendering. His goal is to improve the
> calibration of sensor data correction programs, not the sensors themselves.
>
> Eventually want to work with a native windows version. Started with cygwin
> since that seemed to be what the documentation called for. This lets me
> establish a baseline.
>
> Managed to get startxwin.bat running. Had to modify one line at the top due
> to the way cygwin is installed: SET CYGWIN_ROOT=C:program_filescygwin.
>
> The xwindow came up with a cygwin prompt. In the pyxrsclient directory,
> entered the following command: python pyxrsclient.py +Iwoodbox.pov +V +W800
> +H600 +L/cygdrive/c/program_files/cygwin/tmp/povray-3.6.1/include. The
> povray parameters are the ones used in successful povray and megapov tests.
>
> Received the following error message (had to type it in so I hope it is
> correctly presented:
>
> Traceback (most recent call last):
> File "pyxrsclient.py", line 877 in ?
> g_num_x_tiles = g_parser.getImgWidth() / g_parser.getBlockSize()
> File "pyxrsclient.py", line 131, in getImgWidth
> imgwidth = int(re.search("(?<=[+-]w)[0-9]+", self.cmd).group(0))
> AttributeError: 'NoneType' object has no attribute 'group'

Thanks Peter, you helped find a bug and reminded me I need to work on my
error messages ;-)

It's looking for the image width specifier to contain a lower-case 'w', and
it doesn't recognize your capital '+W'. This may apply to others, but I'd
start with the +w and +h first.

Also, that's interesting.. I was considering using a raytracer for a
physics-based application myself :-)

Hope this helps you,
George

Warp speed parallel renders with MegaPOV XRS:
http://www.gammaburst.net/xrs


Post a reply to this message

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