[Radiance-general] Python script

Jia Hu hujia06 at gmail.com
Wed Jul 18 13:59:33 PDT 2012


Hi Ryan, do you use wait() after Popen()?

Best,
Jia

On Wed, Jul 18, 2012 at 1:20 PM, Guglielmetti, Robert <
Robert.Guglielmetti at nrel.gov> wrote:

> Hi Folks…
>
> On 7/16/12 5:01 AM, "Thomas Bleicher" <tbleicher at googlemail.com<mailto:
> tbleicher at googlemail.com>> wrote:
>
> Hi Ryan.
>
> Interesting that Blender is coming back to Radiance. I am following the
> Python API development but I'm still not sure it has all the bells and
> whistles to make it worth the effort.
>
> Regarding your Popen problem: Do you have problems with other Perl scripts
> as well or is it only genskyvec.pl<http://genskyvec.pl>?
>
> This is happening with our Ruby scripts as well…
>
> I do remember that I had some issues with command lines and Popen on
> Windows when I was writing falsecolor2. It's mostly the correct quoting of
> the arguments. I don't recall doing anything specific that solved my
> problem, though.
>
> …I will look at the quotes.
>
>
> On Mon, Jul 16, 2012 at 12:14 PM, Ryan Southall <R.Southall at brighton.ac.uk
> <mailto:R.Southall at brighton.ac.uk>> wrote:
> Hi all.
> I am about to release version 0.2 of a set of python scripts that
> pre/post-process Radiance scenes from a 3D modelling package called
> Blender. I have implemented Dynamic Daylight Simulations in version 0.2,
> which is fine on Linux/Mac but it's causing me a problem on windows
> machines. When python, using Popen, sends out the command piping gendaylit
> to genskyvec.pl<http://genskyvec.pl> I get a bad sky description error,
> although if I type the same command into the Windows command prompt it
> works as expected. Has anyone here got any experience of running this
> combination on windows with Python. I'm using strawberry Perl to run the
> genskyvec.pl<http://genskyvec.pl> file, which was part of NREL's latest
> binary release.
> Thanks in advance
>
> Ryan, thanks for reporting this. I think we are probably both in the same
> boat, and it's preventing Windows OpenStudio users to do a full annual
> simulation with our Radiance implementation scripts too. We are looking
> into a fix right now.
>
> - Rob
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20120718/ad2202bf/attachment.html>


More information about the Radiance-general mailing list