#jython IRC Log

Index

IRC Log for 2017-01-01

Timestamps are in GMT/BST.

[0:04] * [Arfrever] (~Arfrever@apache/committer/Arfrever) Quit (Quit: leaving)
[0:09] * [Arfrever] (~Arfrever@apache/committer/Arfrever) has joined #jython
[0:09] * ChanServ sets mode +o [Arfrever]
[0:59] * stewori (~stefan@95.35.broadband11.iol.cz) has left #jython
[7:35] * hanetzer (~netz@unaffiliated/ntzrmtthihu777) has joined #jython
[7:45] <hanetzer> is there a quick and dirty method one can either append a dir to your classpath in the jython interpreter?
[8:05] <hanetzer> nevermind. my problem arose from me properly spelling a misspelled package name, utilitily :/
[8:07] * hanetzer (~netz@unaffiliated/ntzrmtthihu777) has left #jython
[17:34] * meta-coder (~meta-code@unaffiliated/meta-coder) Quit (Quit: Bye.)
[20:37] * realtime (~realtime@unaffiliated/realtime) has joined #jython
[20:42] <realtime> I have a python restful web service from which I wanna serve reports in pdf. The only good tool I know is Jasper Reports, but it's Java only, and I really don't want to use it. would jython allow me to use jasper reports without writing java code, or that's not how it works (I know Jython only by name and a quick read right now)?
[20:43] <realtime> (dont wanna use java i mean, jasper i want to)
[20:44] <realtime> (or if someone know a good reporting tool for python, id be glad to try it out)
[20:54] <agronholm> realtime: you can use py4j
[21:22] <realtime> it's interesting. so I do need the server, in java, running to listen to requests, ok. but where do I get this? the example program has a 'import py4j.GatewayServer;' where do I get this Java package? the closer thing seems to be https://github.com/bartdag/py4j/tree/master/py4j-java but I have no clue how to compile that on my machine and run
[21:33] <agronholm> realtime: py4j spawns a JVM that you can use
[21:33] <agronholm> and the jar file comes in the py4j package
[21:58] * clajo04 (~clajo04@pool-108-46-224-11.nycmny.fios.verizon.net) Quit (Quit: clajo04)
[22:00] * clajo04 (~clajo04@pool-108-46-224-11.nycmny.fios.verizon.net) has joined #jython
[22:01] <realtime> oh cool. it's just that I get a connection refused error when trying to run this example http://pastebin.ca/3751325
[22:02] <realtime> ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
[22:06] <agronholm> realtime: you're connecting to a gateway but you haven't actually launched one
[22:07] <agronholm> try launch_gateway()
[23:08] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Quit: ?????????)
[23:22] <realtime> since jasper's .jars are not something native to the JVM, how do I import them?

Index

These logs were automatically created by JythonLogBot on irc.freenode.net using a slightly modified version of the Java IRC LogBot.