#jython IRC Log (v0.9)

Index

IRC Log for 2012-11-16

Timestamps are in GMT/BST.

[0:01] <arcon> nudge @agronholm
[0:03] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 268 seconds)
[0:10] * msavy (~msavy@redhat/jboss/msavy) Quit (Quit: {})
[0:37] <agronholm> arcon: obvious solution, add them to the classpath?
[0:41] <creilly> i believe the framework in question loads modules in their own ClassLoader
[0:41] <agronholm> so where does it looks for jars if not in CLASSPATH?
[0:41] <agronholm> -s
[0:41] <creilly> so adding the jar file to the CLASSPATH was not enough
[0:43] <agronholm> I don't know that specific framework so I can't help much with it
[0:43] <creilly> i'm going to investigate further, thank you
[0:43] * creilly (8945753d@gateway/web/freenode/ip.137.69.117.61) Quit (Quit: Page closed)
[0:43] * wmeissner (~wmeissner@119.12.203.254) has left #jython
[1:16] * agronholm (~agronholm@2001:1bc8:102:6f29:4cff:425:46da:a262) Quit (Quit: ZNC - http://znc.in)
[1:18] * agronholm (~agronholm@2001:1bc8:102:6f29:41a9:e5b1:2daf:22d3) has joined #jython
[1:18] * ChanServ sets mode +o agronholm
[1:33] * whoever (~trevor@cpe-66-68-20-82.austin.res.rr.com) has joined #jython
[1:35] <whoever> hi all i have having a problem getting the interpreter for jython configured in eclipse, i am trying to supply jython_instller.jar and it errors out. can someone point me to the correct jython.jar file
[1:36] <agronholm> whoever: the jython installer is the packaged installer
[1:36] <agronholm> execute it and have it install jython
[1:41] <whoever> agronholm: i already have it insta9lled via aptitude, and eclipse still couldn't find it , eclipse had a little text filed at the top wating jython.jar
[1:41] <agronholm> did you point it to jython.jar then?
[1:42] <whoever> yes and it error out , pastbinning
[1:44] <whoever> http://pastebin.com/73A41d4a
[1:45] <agronholm> does that jar contain the org.python.util.jython class then?
[1:46] <whoever> agronholm: agronholm no , and wher i found the jar 2.5 installer does the same
[1:47] <agronholm> did you execute the 2.5 installer?
[1:48] <whoever> Arfrever: no i told eclipse to use it for the interpreter , and got the same error, then looked in the jar and the same file does not exist
[1:49] <whoever> and jython is on my path /usr/bin/jython
[1:49] <agronholm> just please do as I said
[1:49] <agronholm> you cannot use the installer jar as is
[1:49] <whoever> agronholm: oh i thayght u were asking if i had not for me to do it
[1:50] <agronholm> <@agronholm> execute it and have it install jython <- is that how you interpreted this?
[1:56] <whoever> agronholm: ok got it
[1:57] <whoever> installed
[1:57] <whoever> but still get all the errors as before
[2:00] <agronholm> are you saying that you installed jython, you pointed eclipse to jython.jar in the new install directory (which contains said class) and you still get the same error complaining that it can't find that class?
[2:02] <whoever> Arfrever: ok got it i had to navigate to ware the jython install dir is and select that jar. thx
[2:02] <agronholm> why are you addressing your messages to Arfrever?
[2:02] <whoever> now do i still need that jython install or can i get rid of it
[2:03] <agronholm> you can delete it
[2:03] <whoever> agronholm: oops
[2:03] <whoever> agronholm: thx again
[2:03] <agronholm> if you download an app installer in Windows, do you need to keep it around so you can run the app?
[2:04] <whoever> no bus wasn't sure if there was going to be some strage behavior , and decided just to ask first
[2:19] * arcon (8945753d@gateway/web/freenode/ip.137.69.117.61) Quit (Disconnected by services)
[2:39] * Juneau001 (~Juneau@50-45-110-92.dklb.il.frontiernet.net) has joined #jython
[3:18] * wmeissner (~wmeissner@119.12.203.254) has joined #jython
[3:20] * wmeissner (~wmeissner@119.12.203.254) Quit (Read error: Connection reset by peer)
[3:20] * wmeissner (~wmeissner@119.12.203.254) has joined #jython
[4:05] * Juneau001 (~Juneau@50-45-110-92.dklb.il.frontiernet.net) Quit (Quit: Juneau001)
[4:15] * Juneau001 (~Juneau@50-45-110-92.dklb.il.frontiernet.net) has joined #jython
[4:22] * Juneau001 (~Juneau@50-45-110-92.dklb.il.frontiernet.net) Quit (Quit: Juneau001)
[4:35] * Juneau001 (~Juneau@50-45-110-92.dklb.il.frontiernet.net) has joined #jython
[4:37] * Juneau001 (~Juneau@50-45-110-92.dklb.il.frontiernet.net) Quit (Client Quit)
[4:42] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[4:44] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[4:44] * Juneau001 (~Juneau@50-45-110-92.dklb.il.frontiernet.net) has joined #jython
[4:47] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 265 seconds)
[5:08] * Azerith (~vps@azerith.com) Quit (Ping timeout: 268 seconds)
[5:08] * Azerith (~vps@azerith.com) has joined #jython
[5:23] * wmeissner (~wmeissner@119.12.203.254) Quit (Ping timeout: 265 seconds)
[5:31] <whoever> did i miss something
[5:32] <whoever> hi all i am triying to use this example but when i try to download the source pypdf and extract it it does not contain any of the two impor files
[5:32] <whoever> http://pybrary.net/pyPdf/
[5:32] <agronholm> what are you trying to use pypdf for?
[5:33] <whoever> Arfrever: to render /edit a pdf
[5:33] <agronholm> I'm still not arfrever
[5:34] <agronholm> editing a pdf? it can do that?
[5:34] <agronholm> pdfs are normally the end result of an export action
[5:34] <agronholm> they're usually not supposed to be edited
[5:34] <agronholm> are you sure you want to do that?
[5:34] * normanm (~normanm@213.188.126.114) has joined #jython
[5:35] <whoever> Arfrever: i am pretty sure unless there is a better way to acheave what i am tring to do
[5:35] <agronholm> still not arfrever...
[5:35] <agronholm> what are you trying to do then?
[5:36] <whoever> I have a lot of my grandmas recipe cards and i want to preserve there apearance while making them searchable
[5:36] <agronholm> sounds like something you had to scan
[5:37] <agronholm> are you doing OCR on them?
[5:37] <whoever> agronholm: ok i'll have to teach my finger to hit the g intsead of the r
[5:37] <whoever> agronholm: yes
[5:37] <whoever> agronholm: there is not a good way in java to do it that is free
[5:42] <agronholm> you said "when i try to download the source pypdf and extract it it does not contain any of the two impor files"
[5:42] <agronholm> what to "impor files"?
[5:42] <agronholm> *two
[5:43] * r0bby is now known as robbyoconnor
[5:43] <whoever> pdfFileWriter pdfFileReader
[5:44] <agronholm> where did you get these?
[5:44] <whoever> the full import line is http://pybrary.net/pyPdf/
[5:45] <whoever> thats obviously the url , i got the dowload from under the heading dowload latest
[5:46] <agronholm> so there is no pyPdf.py?
[5:47] <agronholm> there is pyPdf/__init__.py
[5:47] <agronholm> why is this a problem?=
[5:47] <whoever> agronholm: ah so i may have spent to much time in java, i was seeing in as from pdfpy as that was the directory not the file
[5:48] <agronholm> a package is a directory with __init__.py in it
[5:55] * Juneau001 (~Juneau@50-45-110-92.dklb.il.frontiernet.net) Quit (Quit: Juneau001)
[5:55] <whoever> agronholm: but the files FDFFilewriter and Pdffilereader are not in that directory
[5:56] <agronholm> what makes you think they have to be files?
[5:56] <agronholm> python can have any number of classes in a single module
[5:57] <whoever> the error when i try to compile from pyPdf import PdfFileWriter, PdfFileReader , wouldn't they have an underscore or brackts by the names if they where functions
[5:58] <agronholm> the author did not respect the common pep 8 standard, but I'm not saying they are functions
[5:58] <agronholm> they are classes from the looks of it
[6:01] <normanm> hey guys.. is it possible to also have python code that depends on twisted and use jython ?
[6:01] <agronholm> last time I checked, twisted and jython didn't mix
[6:02] <whoever> agronholm: and when i add pdf.py to the same directory as init.py I get the error thA PdFfilewritr, pdffilereader are not resolded
[6:02] <agronholm> whoever: wait, what?
[6:02] <agronholm> what pdf.py?
[6:02] <agronholm> what does "resolded" mean?
[6:03] <whoever> agronholm: that the comiler cannot find the files, methods, functions
[6:03] <normanm> agronholm, bummer ok
[6:04] <agronholm> whoever: just what pdf.py are you talking about
[6:04] <whoever> the file that i extracted from the source,
[6:05] <agronholm> why are you moving the files around?
[6:05] <agronholm> just install the thing normally
[6:05] <agronholm> jython setup.py install
[6:05] <whoever> any way righnow its midnight and i cant see straight
[6:05] <agronholm> like you would install any distribution
[6:06] <whoever> agronholm: beacause my logic seem so be stuck on how java does things
[6:06] <agronholm> I've noticed
[6:06] <whoever> se yoall latter, tired, thx agronholm
[6:15] * jlwestsr (~jlwestsr@2602:306:2472:1699:5407:5b17:d973:5793) Quit (Ping timeout: 246 seconds)
[8:15] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Quit: Konversation terminated!)
[9:51] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[9:55] * wmeissner (~wmeissner@123.200.243.168) has joined #jython
[10:05] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 252 seconds)
[10:30] * msavy (msavy@redhat/jboss/msavy) has joined #jython
[10:32] * msavy (msavy@redhat/jboss/msavy) Quit (Read error: Connection reset by peer)
[10:32] * msavy (msavy@redhat/jboss/msavy) has joined #jython
[10:57] * wmeissner (~wmeissner@123.200.243.168) Quit (Quit: wmeissner)
[12:09] * clajo04_ (~clajo04_@pool-74-108-95-112.nycmny.fios.verizon.net) Quit (Read error: Connection reset by peer)
[12:10] * clajo04_ (~clajo04_@pool-74-108-95-112.nycmny.fios.verizon.net) has joined #jython
[12:12] * Juneau001 (~Juneau@fess-120727.dhcp.fnal.gov) has joined #jython
[12:57] * jlwestsr (~jlwestsr@2602:306:2472:1699:7df6:41e1:efda:7e13) has joined #jython
[13:13] * mjacob (~manu@pD954CA6F.dip.t-dialin.net) has joined #jython
[13:16] * Juneau001 (~Juneau@fess-120727.dhcp.fnal.gov) Quit (Read error: Connection reset by peer)
[13:16] * Juneau001 (~Juneau@131.225.24.178) has joined #jython
[16:10] * normanm (~normanm@213.188.126.114) Quit (Quit: Computer has gone to sleep.)
[16:36] * msavy (msavy@redhat/jboss/msavy) Quit (Remote host closed the connection)
[17:02] <whoever> probably a stupid question if I am using poppler to help render a pdf, do i neet a python gui or can i just place the pdf on a jframe?
[17:37] * msavy (~msavy@redhat/jboss/msavy) has joined #jython
[17:48] * mjacob (~manu@pD954CA6F.dip.t-dialin.net) Quit (Read error: Operation timed out)
[18:01] * msavy (~msavy@redhat/jboss/msavy) Quit (Ping timeout: 260 seconds)
[18:05] * jlwestsr (~jlwestsr@2602:306:2472:1699:7df6:41e1:efda:7e13) Quit (Ping timeout: 246 seconds)
[18:35] * jlwestsr (~jlwestsr@2602:306:2472:1699:7df6:41e1:efda:7e13) has joined #jython
[18:40] * normanm (~normanm@213.188.126.114) has joined #jython
[20:04] * wmeissner (~wmeissner@123.200.243.168) has joined #jython
[20:16] * Juneau001 (~Juneau@131.225.24.178) Quit (Quit: Juneau001)
[20:49] * jlwestsr (~jlwestsr@2602:306:2472:1699:7df6:41e1:efda:7e13) Quit (Ping timeout: 246 seconds)
[21:45] * normanm (~normanm@213.188.126.114) Quit (Quit: Computer has gone to sleep.)
[21:48] * jlwestsr (~jlwestsr@2602:306:2472:1699:7df6:41e1:efda:7e13) has joined #jython
[21:58] * wmeissner (~wmeissner@123.200.243.168) Quit (Quit: wmeissner)
[22:03] <agronholm> whoever: if it possible to display a pdf with java code
[22:03] <agronholm> I'm using such a library myself in my project
[22:05] * md_5- (~md_5@CPE-124-191-125-78.pmql1.win.bigpond.net.au) Quit (Quit: ZNC - http://znc.in)
[22:05] * md_5 (~md_5@mcdevs/trusted/md-5) has joined #jython
[22:05] * md_5 (~md_5@mcdevs/trusted/md-5) Quit (Excess Flood)
[22:06] * md_5 (~md_5@mcdevs/trusted/md-5) has joined #jython
[22:27] * jlwestsr (~jlwestsr@2602:306:2472:1699:7df6:41e1:efda:7e13) Quit (Ping timeout: 246 seconds)

Index

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