Saturday, 2007-12-29

*** pjenvey_ has quit IRC00:11
*** pjenvey_ has joined #jython00:12
*** pjenvey_ has quit IRC00:15
*** pjenvey_ has joined #jython00:16
*** pjenvey_ has quit IRC00:17
toastjamI seem to be having difficulty importing classes that are contained in another jar in my webstart app, any ideas?00:26
toastjamit says no module named "jme" when I try "from com.jme.scene import *", though that works fine when I run it locally with the jme jar on my classpath00:27
toastjamand the jme jar is in the jnlp file and is perfectly accessible from my java code00:27
groves_import * requires the jars to be scanned for packages00:33
groves_the package scanner uses the classpath reported to java on startup to determine what jars to scan00:34
groves_webstart may be doing something different to set up its classpath00:34
groves_try importing a specific class from com.jme.scene instead of *00:34
*** toastjam has quit IRC00:57
*** headius has joined #jython01:06
*** headius has quit IRC01:22
*** headius has joined #jython01:23
*** lheuer has joined #jython01:24
*** headius has quit IRC03:28
fwierzbicki_jbaker: hmmm missed the sqlalchemy discussion -- and it looks like the turbogears logging may be down...05:02
*** lheuer has quit IRC05:07
*** Majkhii has quit IRC05:16
*** Majkhii has joined #jython06:26
jbakerfwierzbicki_: we only touched on it as one component of TG, and that you were doing it07:16
jbakerat this point, i'm just trying to figure out what the current status of TG (specifically TG2) is on jython07:16
fwierzbicki_jbaker: cool -- I studied up on TG for a bit last night -- I didn't realize that pylons and TG where working so closely together07:17
fwierzbicki_jbaker: I believe genshi will be the difficult part07:17
fwierzbicki_I've been told that there is some AST manipulation in there07:17
jbakerinteresting... maybe i'll take a look at that07:17
fwierzbicki_so we'd need to become pretty modern to handle that07:17
fwierzbicki_coderanger of the trac project told me that07:18
fwierzbicki_at last pycon07:18
jbakerone thing about TG that is nice is it is made up of these decoupled components. with django you can't even run their unit tests until you have models going07:19
jbakeror at least that's my theoretical knowledge of TG!07:19
fwierzbicki_sure -- I was originally thinking TG would be an easier target since you could knock out one component at a time -- until I heard about the potential genshi problem07:19
fwierzbicki_of course pylons might be even easier once eggs work07:20
fwierzbicki_since you could potentially pick the easiest targets and get something running07:20
fwierzbicki_I saw a bunch of distutils checked in recently so pjenvey may be close07:21
jbakerright, so there are some alternative templating gears07:21
jbakerhe mentioned that in regards to pylons07:22
jbakeranyway, i'll take a look at genshi for the sprint, it seems like it07:22
jbakerit could be something that we could use the newcompiler for as well07:23
fwierzbicki_cool07:23
fwierzbicki_some of my info comes from this TG thread: http://groups.google.com/group/turbogears/browse_thread/thread/d1d2e416023e703307:23
fwierzbicki_just lately a can't even keep up with all of the checkins into jython -- I very nice problem to have!07:26
jbakerit's certainly moving a lot faster, as i discovered merging modern (which is current) onto newcompiler (which isn't). not too many conflicts to resolve, but much different than the quiet of the summer07:28
jbakerdjango recommends merging trunk onto branches weekly. we are probably not there yet... but the pace is picking up07:28
jbakerfrom the genshi faq: Alternative implementations of Python such as PyPy, Jython, or IronPython are also unlikely to work due to the Genshi code using some rather advanced features of the CPython implementation and standard library.07:35
jbakersounds like we have been warned07:35
albinosounds like a challenge to me07:41
jbaker:)07:41
fwierzbicki_:) indeed -- sounds like another good testing ground07:48
sabihm, guess i should pick up genshi again08:08
sabiistr i got it to work with PyPy about a year ago08:13
*** pjenvey_ has joined #jython08:37
jbakersabi: good to hear that08:42
jbakerwhat i found interesting about genshi is that it uses xml.parsers.expat; i haven't heard of expat being used for a while, but we don't have a jython wrapper. presumably there's a java equiv., maybe XP?08:47
sabiyeah i'm pretty sure there's a java version of it08:54
sabiXP looks ancient. but i'm sure it could be adapted to work with any other event-driven java XML parser09:03
jbakerright, like SAX09:05
jbakerwhich would seem to be a lot better choice, because then we can let people choose their SAX implementation09:05
sabiyeah.09:11
jbakera casual inspection of genshi shows that only one file (input.py) depends on expat; given that sax on cpython wraps expat, presumably we can do the opposite. anyway, it looks like a worthwhile task in 2 weeks09:13
*** headius has joined #jython09:16
jbakeri don't see why they don't use sax; the flaws they mention about ET are with respect to being able to determine where in the source text the parse failed. but sax has support for this09:18
*** thobe has quit IRC09:25
sabicould have referred to an older versin of ET maybe.09:26
sabiwho knows.09:26
*** thobe has joined #jython09:58
*** Majkhii_ has joined #jython10:44
*** Majkhii has quit IRC10:45
*** headius has quit IRC11:34
*** headius has joined #jython12:09
*** Majkhii_ has quit IRC13:50
*** Majkhii has joined #jython13:55
*** MacGyverNL has quit IRC14:37
*** MacGyverNL has joined #Jython14:44
*** cherez has joined #jython17:13
*** groves has joined #jython18:10
*** groves_ has quit IRC18:10
pjenvey_groves - oh yea. totally forgot, I noticed it earlier -- we need junit for the expose tests19:24
grovesIs it not included in ant for you?19:26
pjenvey_nope, there's no jar checked in i don't think either19:26
pjenvey_or am i missing something19:27
grovesRight, the junit jar came with ant for me, so I didn't think I needed to add it to extlibs19:27
grovesit's not a big deal to do it though19:27
pjenvey_ah. that's right19:27
pjenvey_let's see why my ant lacks it19:27
grovesUnless you've gone in and deleted things in your ant install, this is enough to get me to include it19:28
grovesI'd rather not have anyone have to go digging in ant19:28
grovessvn up and try it now19:33
pjenvey_that did it, thanks19:34
pjenvey_what version of ant do you have? it looks like my ant's shipping with a stripped down junit, they call it ant-junit.jar19:34
pjenvey_that's 1.7.019:34
pjenvey_looks like they started shipping that with ant as of 1.7.0, maybe you have an earlier version that just included the full junit19:35
grovesActually, I think I may have dropped junit into my ant lib directory at some point in prehistory and forgotten about it19:50
grovesits modtime is later than all the other jars in the directory19:50
*** jbaker has quit IRC19:52
*** _wtf has joined #jython21:07
*** sgithens has joined #jython22:16
*** headius has quit IRC22:49
*** headius has joined #jython22:50
*** headius has quit IRC22:55
*** headius has joined #jython22:56
*** headius has quit IRC23:06
*** headius has joined #jython23:12
*** headius has joined #jython23:13
*** headius has quit IRC23:24
*** headius has joined #jython23:34

Generated by irclog2html.py 2.4 by Marius Gedminas - find it at mg.pov.lt!