[Pywps-devel] [OSGeo-UK] Catchment Finder: An example of OpenData + OS Software

Jachym Cepicky jachym.cepicky at gmail.com
Wed Nov 2 12:32:40 CET 2011


Jorge, that was not task directed to you, it was just question.

I'm overload too - we will see, who will pick this issue first

I have created  tickets to this

http://wald.intevation.org/tracker/index.php?func=detail&aid=6256&group_id=22&atid=302

and

http://wald.intevation.org/tracker/index.php?func=detail&aid=6257&group_id=22&atid=302

Thanks

Jachym

On 2.11.2011 10:14, Jorge de Jesus wrote:
>   Hi Jachym
>
> I'm busy with some project presentation and deadlines, hopefully this
> Thursday I'll finish everything. Then I'll spent the rest of Nov dealing
> with pywps.
> if you don't have the time to deal with these problems, I'll take care
> of them in the following days
>
> Jorge
>
> On 02/11/11 08:58, Jachym Cepicky wrote:
>> Hi,
>>
>> thanks Pete for your comments. I think, we will implement your fixes
>> soon to trunk. Or Jorge already did that?
>>
>> For the setup.py issue: we need to find some general approach, then to
>> assume, there will be always python 2.6 at some path available. No
>> idea, what is *the* proper way, how to do that, I have to find out.
>>
>> Jachym
>>
>> On 1.11.2011 10:20, Jorge de Jesus wrote:
>>>
>>> Hi to all
>>>
>>> This is a forward email from peter wells and faunalia UK, comments ?!I
>>> think that the setup.py problem was already fixed in the last release,
>>> but I'm not so certain about the LOCATION_NAME.
>>>
>>>
>>>
>>> I think I've got to the bottom of the GRASS_LOCATION issue - it was an
>>> intermittent problem but then started happening very regularly the other
>>> day so I decided to delve a bit deeper.  I've tried to add all my notes
>>> so far which will hopefully be useful for you guys.
>>>
>>> I've also copied in my colleague Paolo for his information...
>>>
>>> *LOCATION_NAME 'bug'*
>>>
>>> It seemed that the grass location was randomly being set to uk:uk
>>> The only thing I've been able to track this down to is line 131 in the
>>> stable version of Grass.py where the LOCATION_NAME environment variable
>>> is set.  self.setEnv() is written in a way that appends values if they
>>> already exist (fine for paths but I think this ma be where my problem
>>> comes from).  I've now updated self.setEnv() to:
>>>
>>>       def setEnv(self,key,value,append=True):
>>>           """Set GRASS environmental variables """
>>>
>>>           origValue = os.getenv(key)
>>>           if origValue and append:
>>>               value  += ":"+origValue
>>>           os.putenv(key,value)
>>>           os.environ[key] = value
>>>           return
>>>
>>> and changed lines 130 to 132 to look like:
>>>
>>> self.setEnv('LOCATION_NAME',self.locationName, append=False)
>>>
>>> Fingers crossed this will solve the issue permanently.
>>>
>>> *Broken setup.py*
>>>
>>> When trying to run the 'clean' install method, setup.py failed to
>>> process the templates.  In the end I had to hard-code baseDir on line
>>> 105 to:
>>>
>>> baseDir =
>>> os.path.join('/usr/local/lib/python2.6/dist-packages/pywps-3.2.1-py2.6.egg',
>>>
>>>               name,"Templates")
>>>
>>> After your other comment regarding Wsdl, I also added 'Wsdl' to the
>>> template_files array on line 110 and now Wsdl seems to be working.
>>>
>>> Aside from those issues, everything else has gone really well.  I seem
>>> to remember some bits of the documentation (installation/configuration)
>>> were a bit confusing and may possibly need updating but can't remember
>>> exactly which bits.  If it's important for you guys, it may be worth
>>> getting someone to step through the installation/config instructions to
>>> do a documentation test.
>>>
>>> I hope this is useful and thank you very much for both PyWPS and your
>>> comments.
>>>
>>>
>>> Kind regards,
>>>
>>> Pete
>>>
>>>
>>> --------------------------------------------------------------------------------
>>>
>>> Plymouth Marine Laboratory
>>>
>>> Registered Office:
>>> Prospect Place
>>> The Hoe
>>> Plymouth  PL1 3DH
>>>
>>> Website: www.pml.ac.uk
>>> Click here for PML Annual Review
>>> Registered Charity No. 1091222
>>> PML is a company limited by guarantee
>>> registered in England&   Wales
>>> company number 4178503
>>>
>>> Please think before you print
>>>
>>> --------------------------------------------------------------------------------
>>>
>>> This e-mail, its content and any file attachments are confidential.
>>>
>>> If you have received this e-mail in error please do not copy,
>>> disclose it to any third party or use the contents or attachments in
>>> any way. Please notify the sender by replying to this e-mail or
>>> e-mail forinfo at pml.ac.uk and then delete the email without making any
>>> copies or using it in any other way.
>>>
>>> The content of this message may contain personal views which are not
>>> the views of Plymouth Marine Laboratory unless specifically stated.
>>>
>>> You are reminded that e-mail communications are not secure and may
>>> contain viruses. Plymouth Marine Laboratory accepts no liability for
>>> any loss or damage which may be caused by viruses.
>>> --------------------------------------------------------------------------------
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Pywps-devel mailing list
>>> Pywps-devel at wald.intevation.org
>>> http://lists.wald.intevation.org/mailman/listinfo/pywps-devel
>
>
> --------------------------------------------------------------------------------
> Plymouth Marine Laboratory
>
> Registered Office:
> Prospect Place
> The Hoe
> Plymouth  PL1 3DH
>
> Website: www.pml.ac.uk
> Click here for PML Annual Review
> Registered Charity No. 1091222
> PML is a company limited by guarantee
> registered in England&  Wales
> company number 4178503
>
> Please think before you print
>
> --------------------------------------------------------------------------------
> This e-mail, its content and any file attachments are confidential.
>
> If you have received this e-mail in error please do not copy, disclose it to any third party or use the contents or attachments in any way. Please notify the sender by replying to this e-mail or e-mail forinfo at pml.ac.uk and then delete the email without making any copies or using it in any other way.
>
> The content of this message may contain personal views which are not the views of Plymouth Marine Laboratory unless specifically stated.
>
> You are reminded that e-mail communications are not secure and may contain viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage which may be caused by viruses.
> --------------------------------------------------------------------------------


More information about the Pywps-devel mailing list