#jython IRC Log (v0.9)

Index

IRC Log for 2010-06-10

Timestamps are in GMT/BST.

[0:03] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Ping timeout: 240 seconds)
[0:04] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[0:21] * skay (~skay@pat1.orbitz.net) Quit (Quit: skay)
[0:22] * lopex (lopex@chello089076044027.chello.pl) has joined #jython
[0:57] * verterok (~ggonzalez@unaffiliated/verterok) Quit (Quit: leaving)
[1:00] * verterok (~ggonzalez@unaffiliated/verterok) has joined #jython
[2:08] * lopex (lopex@chello089076044027.chello.pl) Quit ()
[2:11] * ttmrichter (~ttmrichte@59.172.39.49) has joined #jython
[2:33] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[4:03] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[4:04] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[4:13] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 245 seconds)
[4:17] * brweber2 (~bweber@ip68-100-65-167.dc.dc.cox.net) has joined #jython
[4:22] * projectmoon (~projectmo@c-68-49-168-233.hsd1.va.comcast.net) has joined #jython
[4:22] * projectmoon (~projectmo@c-68-49-168-233.hsd1.va.comcast.net) Quit (Remote host closed the connection)
[4:29] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Quit: Leaving...)
[5:35] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: jimbaker)
[5:53] * ttmrichter (~ttmrichte@59.172.39.49) Quit (Ping timeout: 252 seconds)
[6:19] * brweber2 (~bweber@ip68-100-65-167.dc.dc.cox.net) Quit (Quit: brweber2)
[7:01] * pigletto (~quassel@94.254.131.96) has joined #jython
[8:12] * Oti (~ohumbel@adsl-89-217-149-47.adslplus.ch) Quit (Quit: Oti)
[8:12] * Oti (~ohumbel@adsl-89-217-149-47.adslplus.ch) has joined #jython
[08:24] == ohumbel [~5390f2dc@gateway/web/freenode/ip.83.144.242.220] has joined #jython
[08:57] == thobe [~Adium@212-162-171-110.skbbip.com] has joined #jython
[09:26] == pigletto [~quassel@94.254.131.96] has quit [Remote host closed the connection]
[09:34] == pigletto [~quassel@109.243.132.204] has joined #jython
[10:02] == hippy [~c066d606@gateway/web/freenode/ip.192.102.214.6] has joined #jython
[10:07] <hippy> Hi. Having a real newbie moment. Completely new to Jython (lots of experience with Python, some with Java). I have everything installed and running but I can't import my Java class. I can import the Java 'module', 'import com.myname.sub1.sub2 as my_module' and I can run 'dir(my_module)' which shows all the classes that I expect but when I try to 'from com.myname.sub1.sub2 import my_class' I get 'ImportError: cannot import name my_clas
[10:07] <hippy> Can any give me a clue what I might be doing wrong?
[10:10] <hippy> command line is: java -jar lib\jython\jython.jar -Djava.class.path=lib\my_jar.jar;lib\another.jar
[10:33] <hippy> if I 'import com.myname.sub1.sub2 as my_module' and then try 'i = my_module.my_class' I get 'AttributeError: 'javapackage' object has no attribute 'my_class' even through 'dir(my_module)' does list 'my_class'
[10:38] <hippy> things work as expected for standard java libraries such as java.io but not for my java libararies.
[10:54] <ohumbel> hippy: the JVM options -jar and -cp/-classpath cannot be used together
[10:55] <ohumbel> and i expect Djava.class.path=lib\my_jar.jar;lib\another.jar to have no effect to the JVM at all
[11:01] <hippy> I am not using -cp at all. I through that -Djava.class.path was an option sent to jython.jar. It does import the modules as expected but for some reason the modules can not resolve the class names.
[11:07] <ohumbel> i'd recommed to try: java -classpath lib\jython\jython.jar;lib\my_jar.jar;lib\another.jar org.python.util.jython
[11:07] <ohumbel> and start from there, this should work as expected
[11:14] <hippy> I will give that a go - thanks
[11:14] <ohumbel> you're welcome, and good luck!
[11:15] <hippy> your a star! it works!
[11:20] <ohumbel> ;-)
[11:26] == ttmrichter [~ttmrichte@59.172.39.49] has joined #jython
[12:58] == juneau001 [~juneau@FESS-116326-1998686-dp.dhcp.fnal.gov] has joined #jython
[13:03] == lucian [~lucian@188-222-55-189.zone13.bethere.co.uk] has joined #jython
[13:40] == stakkars [~tismer@82.113.121.129] has quit [Ping timeout: 245 seconds]
[14:19] == pigletto [~quassel@109.243.132.204] has quit [Remote host closed the connection]
[14:30] == hpk [~hpk@HSI-KBW-085-216-105-248.hsi.kabelbw.de] has quit [Remote host closed the connection]
[14:30] == lolsuper_ [~super_@unaffiliated/lolsuper-/x-9881387] has joined #jython
[15:27] == hippy [~c066d606@gateway/web/freenode/ip.192.102.214.6] has quit [Quit: Page closed]
[15:43] == jimbaker [~jbaker@c-24-8-39-78.hsd1.co.comcast.net] has joined #jython
[16:12] == lheuer [~heuer@unaffiliated/lheuer] has joined #jython
[16:18] == robbyoconnor [~wakawaka@64.134.71.41] has joined #jython
[16:18] == robbyoconnor [~wakawaka@64.134.71.41] has quit [Changing host]
[16:18] == robbyoconnor [~wakawaka@guifications/user/r0bby] has joined #jython
[16:22] == jimbaker [~jbaker@c-24-8-39-78.hsd1.co.comcast.net] has quit [Quit: jimbaker]
[16:25] == skay [~skay@pat1.orbitz.net] has joined #jython
[16:28] == robbyoconnor [~wakawaka@guifications/user/r0bby] has quit [Ping timeout: 240 seconds]
[16:28] == lucian_ [~lucian@188-222-55-189.zone13.bethere.co.uk] has joined #jython
[16:30] == lucian [~lucian@188-222-55-189.zone13.bethere.co.uk] has quit [Ping timeout: 276 seconds]
[16:32] == robbyoconnor [~wakawaka@guifications/user/r0bby] has joined #jython
[16:47] == stakkars [~tismer@82.113.119.243] has joined #jython
[16:49] == lucian_ has changed nick to lucian
[17:26] == thobe [~Adium@212-162-171-110.skbbip.com] has quit [Quit: Leaving.]
[17:29] == jimbaker [~jbaker@c-67-173-240-173.hsd1.co.comcast.net] has joined #jython
[17:30] == skay [~skay@pat1.orbitz.net] has quit [Quit: skay]
[18:04] == jimbaker [~jbaker@c-67-173-240-173.hsd1.co.comcast.net] has quit [Quit: jimbaker]
[18:19] == thobe [~Adium@c83-249-252-237.bredband.comhem.se] has joined #jython
[18:22] == r0bby [~wakawaka@guifications/user/r0bby] has joined #jython
[18:23] == robbyoconnor [~wakawaka@guifications/user/r0bby] has quit [Ping timeout: 248 seconds]

[19:26] -anthony.freenode.net- *** Looking up your hostname...
[19:26] -anthony.freenode.net- *** Checking Ident
[19:26] -anthony.freenode.net- *** No Ident response
[19:26] -anthony.freenode.net- *** Found your hostname
[19:26] [frigg VERSION]
[19:26] * JythonLogBot (~PircBot@adsl-89-217-71-124.adslplus.ch) has joined #jython
[19:26] * Topic is 'Jython 2.5.1 final at http://www.jython.org/ | This channel is logged: http://jython.extreme.st/irclogs/ | Please update the wiki: http://wiki.python.org/jython/ | Pastebin: http://pylonshq.com/pasties | IRC Channel: http://wiki.python.org/jython/IrcChannel | Jython Book: http://jythonbook.com | Podcast: http://www.jythonpodcast.com'
[19:26] * Set by pjenvey!~pjenvey@underboss.org on Tue May 04 00:00:54 CEST 2010
[19:27] * Oti (~ohumbel@adsl-89-217-71-124.adslplus.ch) has joined #jython
[19:43] * headius (~headius@conference/railsconf/x-luyhhnyzmhnqipio) has joined #jython
[20:11] * juneau001 (~juneau@FESS-116326-1998686-dp.dhcp.fnal.gov) Quit (Quit: juneau001)
[20:30] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[20:31] * lucian_ (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[20:32] * lucian_ is now known as lucia
[20:32] * lucia is now known as lucian_
[20:32] * headius (~headius@conference/railsconf/x-luyhhnyzmhnqipio) Quit (Quit: headius)
[20:32] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Ping timeout: 248 seconds)
[20:54] * lucian_ is now known as lucian
[21:37] * jabley (~jabley@fl-64-45-218-122.dyn.embarqhsd.net) has joined #jython
[22:26] -Martinp23- [Global Notice] Our webchat is experiencing big changes! Channel ops: you may need to fix some of your bans or quiets as a result. All the details can be found at http://bit.ly/ckfqLh and you can get help at any time in #freenode. Thanks for using freenode and have a great day!
[22:27] * pigletto (~quassel@dts31.neoplus.adsl.tpnet.pl) has joined #jython
[22:35] * pigletto (~quassel@dts31.neoplus.adsl.tpnet.pl) Quit (Ping timeout: 265 seconds)
[22:45] * jabley (~jabley@fl-64-45-218-122.dyn.embarqhsd.net) Quit (Quit: jabley)
[22:46] * jabley (~jabley@fl-64-45-218-122.dyn.embarqhsd.net) has joined #jython
[22:52] * jabley (~jabley@fl-64-45-218-122.dyn.embarqhsd.net) Quit (Quit: jabley)

Index

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