Our next meeting is tomorrow night, April 2nd. Check out our calendar at http://www.meetup.com/nashvillejug/.
Type: Posts; User: gregturn; Keyword(s):
Our next meeting is tomorrow night, April 2nd. Check out our calendar at http://www.meetup.com/nashvillejug/.
Spring Python has been around for a while (at least since 2006). We published a book, and provided answers to many users through this forum.
Do have ideas about new features, new modules, or new...
It's true that there hasn't been much activity this year, but it is still live. In fact, a new company (https://twitter.com/BugFreeSoftware) has recently started tweeting about integrating it into...
Looking closer at things, it would also appear that lazy objects will suffer not having post processors applied either. Essentially, this gets done when an ApplicationContext eagerly fetches...
I looked deeply into the code, and realize why this is happening.
post_processors = [object for object in self.objects.values() if isinstance(object, ObjectPostProcessor)]
for...
Are you using virtualenv? If so, you can first attempt typing "pip uninstall springpython". Open a python shell, and try to import springpython, and see if it fails. If so, then you are successful.
...
Have you installed Pyro yet? There is Pyro and Pyro4, which are two different versions (the previous being Pyro 3). If you are using virtualenv, then you have access to pip, and can type "pip install...
Yes. Things will shut down as gracefully as they can.
registerShutdownHook doesn't actually shut down your app. It just configures the IoC container to shutdown properly when the JVM exist.
If you want the app to shut itself down, then nothing is more succinct than "System.exit(0);"
There is a possibility that in that architecture, the bootstrapped container and your separate module are running in either separate threads or even separate instances of Python, in which case, you...
I guess I need a use case where this is happening. Are you talking about something like a web container, where one part is the app context, but another part is your module?
Regarding NoneType error, if you do an import to get your class into whatever module you are working, it should be available, as long as the application context has had time to be created.
Tweaking things a bit, it seems to still work. If there is some use case I'm not getting, then please elaborate.
my_own_instance = ApplicationContextProvider()
my_logger.debug("Creating my...
Okay, I see the problem. It is one of the gotcha's when you use Python's class-level variables. I thought this might be the issue. When you refer to global_app_context inside the set_app_context...
Duhh! I now see where you posted that. I'm going to take a crack at coding the same thing, and trying to unravel why it's breaking. Perhaps shed some light on another bug.
This assumes that an instance of ApplicationContextProvider is being created inside your application context. Can you post either your PythonConfig, YAML config, or XML config file?
Updates have made it to the website. For Spring Python 1.2, see http://static.springsource.org/spring-python/1.2.x/sphinx/html/overview.html#installation. Spring Python 1.1's docs are based on a...
Please read my responses in line:
I'm not sure I understand your point. Spring Python only has one tarball, not one for each version of python. This can be viewed in the download records going...
As an update, I have started hacking some support with a SoapPyServiceExporter and SoapPyProxyFactory. They work, but only with http://<host>:<port> support. I haven't been able to code support to...
I don't know if you are referring to the startup time of Jython's REPL, but I like leaving the choice of CPython/Jython to the developer. Perhaps one day, we can try it on PyPy as well.
First of all, configuring this for a standard Spring app involves injecting an instance of ContextPropagatingRemoteInvocationFactory into an RmiProxyFactoryBean a la setRemoteInvocationFactory. This...
To clarify forums, this forum is to support using the Spring Python binaries. If you are using Spring jars through Jython, well, I haven't answered a lot of questions in that arena. I will have to...
Sorry, but Spring Python doesn't offer any SOAP support right now.
This issue has been patched in 1.1.1, and 1.2.1. These versions haven't been released yet in distribution form, but you can checkout the source code to get it.
You can read more at...