[Pywps-devel] [OSGeo-UK] Catchment Finder: An example of OpenData + OS Software
Jorge de Jesus
jmdj at pml.ac.uk
Wed Nov 2 10:14:31 CET 2011
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.
--------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x595FF9D3.asc
Type: application/pgp-keys
Size: 1354 bytes
Desc: not available
Url : http://lists.wald.intevation.org/pipermail/pywps-devel/attachments/20111102/7bc620b7/0x595FF9D3-0001.key
More information about the Pywps-devel
mailing list