Hi Justin, I really really apreciate all the help!

I now have a working Geoserver 2.1beta2 with Pyhon module running.
I intend to use it with the WPS extension. But it seems it  doesen't read my
foo.py proces. A proces dir is not created when starting the
wps-querybuilder. It  dosen't read the proces either if the proces dir is
created manually.
Any ideas how to debug?

Martin

2010/12/16 Justin Deoliveira <[email protected]>

> Hi Martin,
>
> So as it turns out the python stuff is not actually hooked up to the
> nightly builds due to an issue with pulling in geoscript from github that i
> have yet to fix. So long story short the changes were not pulled in.
>
> I have put up a build manually that should work with any recent 2.1 nightly
> build. Give that a try and let me know how it goes. Sorry for the delay, I
> have been swamped lately.
>
>
> http://echobase.opengeo.org/~jdeolive/geoserver-2.1-SNAPSHOT-python-plugin.zip<http://echobase.opengeo.org/%7Ejdeolive/geoserver-2.1-SNAPSHOT-python-plugin.zip>
>
> -Justin
>
> On Tue, Dec 14, 2010 at 2:04 PM, Justin Deoliveira 
> <[email protected]>wrote:
>
>> Hmmm... i am sure it is just something else. I never tried with the actual
>> nightly build, just my development environment. I will try again when i get
>> a minute and report back.
>>
>>
>> On Tue, Dec 14, 2010 at 8:48 PM, Martin Jensen <
>> [email protected]> wrote:
>>
>>> I tried again today with no luck.  Maybe I am missing something ? Does
>>> the Pyhon module depend on something else?
>>>
>>> /Martin
>>>
>>> 2010/12/9 Martin Jensen <[email protected]>
>>>
>>> Thanks for the quick fix.
>>>>
>>>> I still get the error though. Today I tried to install a new GS and new
>>>> python plug in from:
>>>>
>>>>
>>>> http://gridlock.opengeo.org/geoserver/trunk/community-latest/geoserver-2.1-SNAPSHOT-python-plugin.zip
>>>>
>>>> http://gridlock.opengeo.org/geoserver/trunk/geoserver-trunk-latest-war.zip
>>>>
>>>> Is this the right place to grab the files?
>>>>
>>>> Martin
>>>>
>>>>
>>>> 2010/12/8 Justin Deoliveira <[email protected]>
>>>>
>>>> Hi Martin,
>>>>>
>>>>> Thanks for the bug report, this was indeed an issue. I just committed a
>>>>> fix and fired off a new nightly build [1] so if you grab the next 
>>>>> extension
>>>>> to pop out you should be good to go.
>>>>>
>>>>> -Justin
>>>>>
>>>>> [1] http://hudson.opengeo.org/hudson/job/geoserver-trunk-nightly/527
>>>>>
>>>>> On Tue, Dec 7, 2010 at 2:05 PM, Martin Jensen <
>>>>> [email protected]> wrote:
>>>>>
>>>>>>  Hi GS-list,
>>>>>>
>>>>>> I am trying to install the python extension from
>>>>>>
>>>>>>
>>>>>> http://gridlock.openplans.org/geoserver/trunk/community-latest/geoserver-2.1-SNAPSHOT-python-plugin.zip
>>>>>>
>>>>>> with GS 2.1-beta2 from
>>>>>> http://downloads.sourceforge.net/geoserver/geoserver-2.1-beta2-war.zip
>>>>>>
>>>>>> GS can't start after copying these jars from the module:
>>>>>>
>>>>>> gt-geojson-2.7-SNAPSHOT.jar
>>>>>> gt-process-2.7-SNAPSHOT.jar
>>>>>> jython-2.5.1.jar
>>>>>> python-2.1-SNAPSHOT.jar
>>>>>>
>>>>>> Anyone tried the Python module lately with succes?
>>>>>>
>>>>>>
>>>>>> This is the log file:
>>>>>>
>>>>>> 07 dec 19:57:10 ERROR [context.ContextLoader] - Context initialization
>>>>>> failed
>>>>>> org.springframework.beans.factory.BeanCreationException: Error
>>>>>> creating bean with name 'geoServerLoader' defined in URL
>>>>>> [jar:file:/C:/cbkort/sites/
>>>>>> geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/main-2.1-beta2.jar!/applicationContext.xml<http://geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/main-2.1-beta2.jar%21/applicationContext.xml>]:
>>>>>> Initialization of bean failed; nested exception is
>>>>>> org.springframework.beans.factory.BeanCreationException: Error creating 
>>>>>> bean
>>>>>> with name 'pythonGetFeatureOutputFormatProvider' defined in URL
>>>>>> [jar:file:/C:/cbkort/sites/
>>>>>> geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/python-2.1-SNAPSHOT.jar!/applicationContext.xml<http://geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/python-2.1-SNAPSHOT.jar%21/applicationContext.xml>]:
>>>>>> Cannot resolve reference to bean 'geoServer' while setting constructor
>>>>>> argument; nested exception is
>>>>>> org.springframework.beans.factory.BeanCreationException: Error creating 
>>>>>> bean
>>>>>> with name 'geoServer' defined in URL [jar:file:/C:/cbkort/sites/
>>>>>> geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/main-2.1-beta2.jar!/applicationContext.xml<http://geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/main-2.1-beta2.jar%21/applicationContext.xml>]:
>>>>>> Cannot resolve reference to bean 'catalog' while setting bean property
>>>>>> 'catalog'; nested exception is
>>>>>> org.springframework.beans.factory.BeanCreationException: Error creating 
>>>>>> bean
>>>>>> with name 'secureCatalog' defined in URL [jar:file:/C:/cbkort/sites/
>>>>>> geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/main-2.1-beta2.jar!/applicationContext.xml<http://geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/main-2.1-beta2.jar%21/applicationContext.xml>]:
>>>>>> Instantiation of bean failed; nested exception is
>>>>>> org.springframework.beans.BeanInstantiationException: Could not 
>>>>>> instantiate
>>>>>> bean class [org.geoserver.security.SecureCatalogImpl]: Constructor threw
>>>>>> exception; nested exception is
>>>>>> org.springframework.beans.factory.BeanCurrentlyInCreationException: Error
>>>>>> creating bean with name 'pythonGetFeatureOutputFormatProvider': Requested
>>>>>> bean is currently in creation: Is there an unresolvable circular 
>>>>>> reference?
>>>>>>  at
>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
>>>>>> at
>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>>>>>>  at java.security.AccessController.doPrivileged(Native Method)
>>>>>> at
>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>>>>>>  at
>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>>>>>> at
>>>>>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
>>>>>>  at
>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>>>>>> at
>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>>>>>>  at
>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>>>>>> at
>>>>>> org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)
>>>>>>  at
>>>>>> org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:606)
>>>>>> at
>>>>>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:366)
>>>>>>  at
>>>>>> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
>>>>>> at
>>>>>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
>>>>>>  at
>>>>>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
>>>>>> at
>>>>>> org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)
>>>>>>  at
>>>>>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>>>>>> at
>>>>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>>>>>>  at
>>>>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>>>>>> at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>>>>>>  at
>>>>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>>>>>> at
>>>>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>>>>>>  at
>>>>>> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>>>>>> at
>>>>>> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>>>>>>  at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>  at
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>> at
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>>  at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>>>>>>  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>>>>>> Caused by: org.springframework.beans.factory.BeanCreationException:
>>>>>> Error creating bean with name 'pythonGetFeatureOutputFormatProvider' 
>>>>>> defined
>>>>>> in URL [jar:file:/C:/cbkort/sites/
>>>>>> geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/python-2.1-SNAPSHOT.jar!/applicationContext.xml<http://geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/python-2.1-SNAPSHOT.jar%21/applicationContext.xml>]:
>>>>>> Cannot resolve reference to bean 'geoServer' while setting constructor
>>>>>> argument; nested exception is
>>>>>> org.springframework.beans.factory.BeanCreationException: Error creating 
>>>>>> bean
>>>>>> with name 'geoServer' defined in URL [jar:file:/C:/cbkort/sites/
>>>>>> geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/main-2.1-beta2.jar!/applicationContext.xml<http://geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/main-2.1-beta2.jar%21/applicationContext.xml>]:
>>>>>> Cannot resolve reference to bean 'catalog' while setting bean property
>>>>>> 'catalog'; nested exception is
>>>>>> org.springframework.beans.factory.BeanCreationException: Error creating 
>>>>>> bean
>>>>>> with name 'secureCatalog' defined in URL [jar:file:/C:/cbkort/sites/
>>>>>> geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/main-2.1-beta2.jar!/applicationContext.xml<http://geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/main-2.1-beta2.jar%21/applicationContext.xml>]:
>>>>>> Instantiation of bean failed; nested exception is
>>>>>> org.springframework.beans.BeanInstantiationException: Could not 
>>>>>> instantiate
>>>>>> bean class [org.geoserver.security.SecureCatalogImpl]: Constructor threw
>>>>>> exception; nested exception is
>>>>>> org.springframework.beans.factory.BeanCurrentlyInCreationException: Error
>>>>>> creating bean with name 'pythonGetFeatureOutputFormatProvider': Requested
>>>>>> bean is currently in creation: Is there an unresolvable circular 
>>>>>> reference?
>>>>>>  at
>>>>>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
>>>>>> at
>>>>>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
>>>>>>  at
>>>>>> org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
>>>>>> at
>>>>>> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
>>>>>>  at
>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
>>>>>>  at
>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
>>>>>> at
>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
>>>>>>  at
>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>>  at
>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>>>>>> at
>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>>>>>>  at
>>>>>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
>>>>>> at
>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>>>>>>  at
>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>>>>>> at
>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>>>>>>  at
>>>>>> org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)
>>>>>> at
>>>>>> org.geoserver.platform.GeoServerExtensions.extensions(GeoServerExtensions.java:136)
>>>>>>  at
>>>>>> org.geoserver.platform.GeoServerExtensions.extensions(GeoServerExtensions.java:146)
>>>>>> at
>>>>>> org.geoserver.platform.GeoServerExtensions.bean(GeoServerExtensions.java:276)
>>>>>>  at
>>>>>> org.geoserver.config.GeoServerLoaderProxy.lookupGeoServerLoader(GeoServerLoaderProxy.java:71)
>>>>>> at
>>>>>> org.geoserver.config.GeoServerLoaderProxy.setApplicationContext(GeoServerLoaderProxy.java:39)
>>>>>>  at
>>>>>> org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:70)
>>>>>>  at
>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:350)
>>>>>>  at
>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1330)
>>>>>> at
>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
>>>>>>  ... 30 more
>>>>>>
>>>>>> --
>>>>>> Med venlig hilsen
>>>>>>
>>>>>> Martin Bjærge Jensen
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> What happens now with your Lotus Notes apps - do you make another
>>>>>> costly
>>>>>> upgrade, or settle for being marooned without product support? Time to
>>>>>> move
>>>>>> off Lotus Notes and onto the cloud with Force.com, apps are easier to
>>>>>> build,
>>>>>> use, and manage than apps on traditional platforms. Sign up for the
>>>>>> Lotus
>>>>>> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
>>>>>> _______________________________________________
>>>>>> Geoserver-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Justin Deoliveira
>>>>> OpenGeo - http://opengeo.org
>>>>> Enterprise support for open source geospatial.
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Med venlig hilsen
>>>>
>>>> Martin Bjærge Jensen
>>>>
>>>
>>>
>>>
>>> --
>>> Med venlig hilsen
>>>
>>> Martin Bjærge Jensen
>>>
>>
>>
>>
>> --
>> Justin Deoliveira
>> OpenGeo - http://opengeo.org
>> Enterprise support for open source geospatial.
>>
>>
>
>
> --
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
>
>


-- 
Med venlig hilsen

Martin Bjærge Jensen
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to