On Fri, Jun 10, 2016 at 01:38 PM, "Aziza Makiwane" wrote:
Any news on how the Jython configuration is going?
On Thu, Jun 2, 2016 at 07:30 AM, "Callum G" wrote:
Ah, thanks for providing that detailed repro - this will give us enough to construct additional guards for the environment data which is not available under Jython. The work for this will be scheduled and conducted in the sprint (fortnight). I will get back to you when this has been completed.
On Mon, May 30, 2016 at 09:23 AM, "Aziza Makiwane" wrote:
So attached to the email is a basic Python script I'm using to generate an exception, I'm running it with Jython though because the main application I'm building will be dealing with the Nifi ExecuteScript processor. I used the jython-standalone-2.7.0.jar to run the script with this command java -jar jython-standalone-2.7.0.jar exce.py and I get the following error:
Traceback (most recent call last):
File "exce.py", line 13, in
File "/usr/lib/python2.6/site-packages/raygun4py/raygunprovider.py", line 106, in send_exception
File "/usr/lib/python2.6/site-packages/raygun4py/raygunprovider.py", line 126, in _create_message
return raygunmsgs.RaygunMessageBuilder().new() \
File "/usr/lib/python2.6/site-packages/raygun4py/raygunmsgs.py", line 34, in set_environment_details
multiprocessing.cpu_count() if USE_MULTIPROCESSING else "n/a"
AttributeError: 'dict' object has no attribute 'data'
On Mon, May 30, 2016 at 05:47 AM, "Callum G" wrote:
Up until now we haven't received any reports or requests to use Raygun4py under Jython, and I myself don't have any experience with it, but we can take a look at the requirements needed to support this for you. I notice that Jython claims compatibility with Py 2.7, this is fully supported by Raygun4PY so if the differences aren't too great we can extend the provider to accomodate this environment.
If the changes needed are more extensive then a dedicated provider may be required, this would be dependent on customer demand, but we'll know more about this once we have investigated the possible implementation for you. In the event that the error you're seeing is due to runtime bugs/incompatibility with py27 the place to raise them would be at the Jython project, but we'll know whether this is the case soon and I will advise you of this in the event that it is.
Firstly, could you please provide the error message and backtrace for the error in raygunprovider.py, and details about the repro (e.g method of sending/how the exception was raised and sent). We will then debug the provider for you and get back with the results in the near term.
On Fri, May 27, 2016 at 08:50 AM, "Aziza Makiwane" wrote:
Just wanted to know if it's possible to use Raygun with a Jython application? And if so which version because I'm running a Jython script to send it's errors to Raygun and it's giving me an error in the Raygunprovider.py class because of syntax that is different from Jython.