#jython IRC Log (v0.9)

Index

IRC Log for 2010-08-03

Timestamps are in GMT/BST.

[0:24] * headius (~headius@fa66.ips.PaulBunyan.net) Quit (Quit: headius)
[1:36] * ttmrichter (~ttmrichte@111.173.97.187) has joined #jython
[1:40] * lopex (lopex@chello089076044027.chello.pl) Quit ()
[2:02] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 265 seconds)
[2:20] * verterok (~ggonzalez@unaffiliated/verterok) Quit (Ping timeout: 276 seconds)
[2:20] * verterok (~ggonzalez@unaffiliated/verterok) has joined #jython
[3:27] * super__ is now known as super_
[3:28] * super_ (~super_@unaffiliated/lolsuper-/x-9881387) Quit (Quit: Leaving)
[3:28] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[5:09] * pigletto (~quassel@188.33.79.98) has joined #jython
[6:39] * thobe (~Adium@212-162-171-110.skbbip.com) has joined #jython
[7:30] * agronholm (~agronholm@87-95-105-99.bb.dnainternet.fi) has joined #jython
[7:37] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) has joined #jython
[8:02] * headius (~headius@fa66.ips.paulbunyan.net) has joined #jython
[8:28] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) Quit (Quit: jabley)
[8:32] * lheuer (~heuer@unaffiliated/lheuer) has joined #jython
[8:35] * headius (~headius@fa66.ips.paulbunyan.net) Quit (Quit: headius)
[9:03] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[9:20] * hpk (~hpk@HSI-KBW-085-216-105-248.hsi.kabelbw.de) has left #jython
[9:56] * stakkars (~tismer@i577B5E84.versanet.de) Quit (Quit: stakkars)
[10:02] * stakkars (~tismer@i577B5E84.versanet.de) has joined #jython
[10:09] * juneau001 (~juneau@pool-72-69-202-152.chi01.dsl-w.verizon.net) Quit (Quit: juneau001)
[10:14] * lheuer (~heuer@unaffiliated/lheuer) Quit (Quit: Closing Time)
[10:27] * lheuer (~heuer@unaffiliated/lheuer) has joined #jython
[11:07] * juneau001 (~juneau@131.225.24.72) has joined #jython
[11:25] * agronholm_ (~agronholm@87-93-77-188.bb.dnainternet.fi) has joined #jython
[11:28] * agronholm (~agronholm@87-95-105-99.bb.dnainternet.fi) Quit (Ping timeout: 248 seconds)
[11:52] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[12:04] * juneau001 (~juneau@131.225.24.72) Quit (Ping timeout: 240 seconds)
[12:16] * juneau001 (~juneau@FESS-116326.dhcp.fnal.gov) has joined #jython
[12:27] * pigletto (~quassel@188.33.79.98) Quit (Remote host closed the connection)
[13:11] * classfoo (~classfoo@59.174.114.153) has joined #jython
[14:00] * Supra7 (~Supra7@cei-gla-cpk2.coxinc.com) has joined #jython
[14:03] <Supra7> can jython use easy_install?
[14:03] <Supra7> or does it have another module installer?
[14:10] <pr3d4t0r> Supra7: My mileage has varied with easy_install even after having all the environment variables pointing at the right place.
[14:10] <Supra7> hmm i had that feeling
[14:10] <pr3d4t0r> Supra7: I normally unbundle the package and put it somewhere in sys.path where Jython can find it.
[14:10] <Supra7> guess ill install with jython setup.py install
[14:10] <Supra7> or do what you suggest if that stil doesn't work
[14:11] <pr3d4t0r> Supra7: Also, watch for C modules lurking somewhere in the package. You won't be able to call anything native from Jython.
[14:11] <pr3d4t0r> Supra7: Heh - indeed. Corollary: whether y ou do easy_install or setup install, ensure that you are NOT running as root.
[14:12] <pr3d4t0r> Supra7: You *may* end up installing the new packages into the Python environment, not Jython's, otherwise. Since Python ends up off /usr/bin somewhere, you need root, etc. etc.
[14:12] <Supra7> ehh im on win at the moment
[14:12] <Supra7> plan to push to a freebsd server using Tomcat.
[14:12] <Supra7> doing django stuff
[14:13] <pr3d4t0r> Supra7: Then ensure that you aren't running them as Administrator. Otherwise, you're good to go :)
[14:13] <Supra7> thanks for the help pr3d4t0r
[14:14] <pr3d4t0r> Supra7: Any time mon.
[14:33] <agronholm_> Supra7, pip is pretty much the recommended installer these days
[14:34] <Supra7> for jython mainly you mean agronholm_ ?
[14:34] <agronholm_> for all of python
[14:36] <Supra7> man when did this change?
[14:36] <Supra7> hah hah
[14:37] <agronholm_> since distribute (and by extension, setuptools) was deprecated in favor of distutils2
[14:37] <agronholm_> actually even before that I think
[14:41] * skay (~skay@pat1.orbitz.net) has joined #jython
[14:48] * gqlewis_ (~gqlewis@198.62.72.10) has joined #jython
[15:00] * gqlewis_ (~gqlewis@198.62.72.10) Quit (Quit: gqlewis_)
[15:21] * gqlewis_ (~gqlewis@198.62.72.10) has joined #jython
[15:32] * classfoo (~classfoo@59.174.114.153) Quit (Remote host closed the connection)
[15:36] * gqlewis_ (~gqlewis@198.62.72.10) Quit (Quit: gqlewis_)
[15:52] * lheuer (~heuer@unaffiliated/lheuer) Quit (Quit: Closing Time)
[16:02] <juneau001> Committed changes to django-jython for the Oracle backend to make it compatible with Django 1.2.1
[16:05] * gqlewis_ (~gqlewis@198.62.72.10) has joined #jython
[16:17] * gqlewis_ (~gqlewis@198.62.72.10) Quit (Quit: gqlewis_)
[16:55] * ttmrichter (~ttmrichte@111.173.97.187) Quit (Quit: Quitting)
[16:58] * thobe (~Adium@212-162-171-110.skbbip.com) Quit (Quit: Leaving.)
[17:14] * enebo (~enebo@174-30-241-66.mpls.qwest.net) has joined #jython
[17:24] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Quit: jabley)
[17:24] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[17:28] * headius (~headius@fa66.ips.PaulBunyan.net) has joined #jython
[17:30] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Quit: jabley)
[17:39] * clajo04_ (~clajo04_@pool-74-108-95-175.nycmny.fios.verizon.net) has joined #jython
[18:08] * crc32 (~crc@64.39.4.132) has joined #jython
[18:09] <crc32> I have a module x that imports the random module. When I run applications that use module x and call a function such as x.list_random_ints I get Global name random is not defined with the line number corresponding to were I was calling the random function.
[18:10] <crc32> I'll show a past bin.
[18:12] <crc32> http://pastebin.com/M0w9YytN
[18:12] <crc32> I don't see why the module buildStuff.py is pretending random isn't there.
[18:21] <crc32> Let me rephrase the question. Why can't I import random in a submodule and expect calls to random to work in that submodule.
[18:38] <agronholm_> hmm, maybe a bug?
[18:38] * tristanbuckner (~tristan@38.99.42.113) has joined #jython
[18:39] <agronholm_> what does it show if you pretty print globals()?
[18:39] <agronholm_> after the wildcard import
[18:40] <agronholm_> a trivial test case works as expected
[18:42] <agronholm_> crc32, can you make a trivial test case that others could try too?
[19:11] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) has joined #jython
[19:26] <sabi> i can put an autoclass in a module?
[19:26] <sabi> (ww)
[19:26] * stakkars (~tismer@i577B5E84.versanet.de) Quit (Ping timeout: 245 seconds)
[19:27] * pigletto (~quassel@dvd223.neoplus.adsl.tpnet.pl) has joined #jython
[19:28] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Ping timeout: 260 seconds)
[19:28] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[19:29] * juneau001 (~juneau@FESS-116326.dhcp.fnal.gov) Quit (Quit: juneau001)
[19:32] * stakkars (~tismer@i577B7825.versanet.de) has joined #jython
[19:35] * jimbaker (~jbaker@c-24-8-34-253.hsd1.co.comcast.net) has joined #jython
[20:03] * agronholm_ (~agronholm@87-93-77-188.bb.dnainternet.fi) Quit (Ping timeout: 240 seconds)
[20:09] * agronholm (~agronholm@87-93-23-20.bb.dnainternet.fi) has joined #jython
[20:10] * thobe (~Adium@c83-249-252-237.bredband.comhem.se) has joined #jython
[20:24] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) Quit (Quit: jabley)
[20:26] * juneau001 (~juneau@pool-72-69-202-152.chi01.dsl-w.verizon.net) has joined #jython
[20:30] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) has joined #jython
[20:46] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Remote host closed the connection)
[21:02] * jimbaker (~jbaker@c-24-8-34-253.hsd1.co.comcast.net) Quit (Quit: jimbaker)
[21:09] * pigletto (~quassel@dvd223.neoplus.adsl.tpnet.pl) Quit (Remote host closed the connection)
[21:20] * Supra7 (~Supra7@cei-gla-cpk2.coxinc.com) Quit (Quit: Leaving)
[21:23] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) Quit (Quit: jabley)
[21:39] * lopex (lopex@chello089076044027.chello.pl) has joined #jython
[21:47] * juneau001_ (~juneau@pool-72-69-76-157.chi01.dsl-w.verizon.net) has joined #jython
[21:47] * juneau001 (~juneau@pool-72-69-202-152.chi01.dsl-w.verizon.net) Quit (Read error: Connection reset by peer)
[21:47] * juneau001_ is now known as juneau001
[22:05] * jimbaker (~jbaker@64.134.11.82) has joined #jython
[22:34] * enebo (~enebo@174-30-241-66.mpls.qwest.net) Quit (Quit: enebo)
[22:35] * skay (~skay@pat1.orbitz.net) Quit (Quit: skay)
[22:36] * thobe (~Adium@c83-249-252-237.bredband.comhem.se) Quit (Quit: Leaving.)
[22:46] * natlus (~simon@62.75.162.98) Quit (Ping timeout: 258 seconds)
[22:50] * natlus (~simon@62.75.162.98) has joined #jython
[23:27] * jimbaker (~jbaker@64.134.11.82) Quit (Quit: jimbaker)
[23:40] * crc32 (~crc@64.39.4.132) Quit (Quit: Leaving)
[23:58] * jimbaker (~jbaker@ucb-np1-54.colorado.edu) has joined #jython

Index

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