#jython IRC Log (v0.9)

Index

IRC Log for 2012-11-04

Timestamps are in GMT/BST.

[0:31] <TkTech> Guest52721: Are you on Windows?
[0:31] <TkTech> Er, *gColossus
[0:31] <TkTech> And he's gone.
[2:14] * wmeissner (~wmeissner@123.200.243.205) Quit (Read error: Connection reset by peer)
[2:14] * wmeissner (~wmeissner@123.200.243.205) has joined #jython
[2:23] * wmeissner (~wmeissner@123.200.243.205) Quit (Ping timeout: 256 seconds)
[2:45] * lheuer1 (~Adium@blfd-5d8202b9.pool.mediaWays.net) has joined #jython
[2:47] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 252 seconds)
[3:45] * jlwestsr (~jlwestsr@2602:306:2472:84c9:7054:4b92:b040:8c1e) Quit (Ping timeout: 246 seconds)
[3:45] * wmeissner_ (~wmeissner@123.200.243.205) has joined #jython
[5:35] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[5:37] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 244 seconds)
[5:42] * r0bby_ (~wakawaka@guifications/user/r0bby) has joined #jython
[5:44] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 264 seconds)
[5:46] * r0bby_ is now known as robbyoconnor
[5:50] * tdignan (~tom@50.12.148.80) has joined #jython
[5:55] * tdignan (~tom@50.12.148.80) has left #jython
[6:50] * lheuer1 is now known as lheuer
[9:08] * wmeissner (~wmeissner@123.200.243.205) has joined #jython
[9:10] * wmeissner_ (~wmeissner@123.200.243.205) Quit (Ping timeout: 260 seconds)
[10:24] * jabley (uid2487@gateway/web/irccloud.com/x-witkyrolwldvmtsd) has joined #jython
[12:25] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Quit: Konversation terminated!)
[12:26] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[13:16] * jlwestsr (~jlwestsr@2602:306:2472:84c9:7054:4b92:b040:8c1e) has joined #jython
[14:25] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[14:25] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[15:13] * jlwestsr (~jlwestsr@2602:306:2472:84c9:7054:4b92:b040:8c1e) Quit (Ping timeout: 246 seconds)
[15:27] * jlwestsr (~jlwestsr@2602:30b:82c8:65e9:7054:4b92:b040:8c1e) has joined #jython
[16:23] * lheuer (~Adium@blfd-5d8202b9.pool.mediaWays.net) Quit (Quit: Leaving.)
[17:00] * nailujk_ (~quassel@dsl-244-188-251.telkomadsl.co.za) Quit (Remote host closed the connection)
[17:21] * mjacob (~manu@178-25-252-123-dynip.superkabel.de) has joined #jython
[17:40] * jlwestsr (~jlwestsr@2602:30b:82c8:65e9:7054:4b92:b040:8c1e) Quit (Ping timeout: 246 seconds)
[17:47] * padraigd (~padraigd@2602:306:cf70:9070:b99f:8078:bd6a:e2db) has joined #jython
[18:07] * padraigd (~padraigd@2602:306:cf70:9070:b99f:8078:bd6a:e2db) Quit (Ping timeout: 246 seconds)
[18:16] * padraigd (~padraigd@2602:306:cf70:9070:b99f:8078:bd6a:e2db) has joined #jython
[18:17] * padraigd (~padraigd@2602:306:cf70:9070:b99f:8078:bd6a:e2db) Quit (Client Quit)
[18:42] * mjacob (~manu@178-25-252-123-dynip.superkabel.de) Quit (Ping timeout: 245 seconds)
[18:46] * jlwestsr (~jlwestsr@2602:30b:82c8:65e9:7054:4b92:b040:8c1e) has joined #jython
[18:48] * mjacob (~manu@178-25-252-123-dynip.superkabel.de) has joined #jython
[19:49] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[20:31] * wmeissner (~wmeissner@123.200.243.205) Quit (Read error: Connection reset by peer)
[20:38] * jlwestsr (~jlwestsr@2602:30b:82c8:65e9:7054:4b92:b040:8c1e) Quit (Ping timeout: 246 seconds)
[21:11] * gColossus (~tahoang@unaffiliated/gcolossus) has joined #jython
[21:26] * wmeissner (~wmeissner@123.200.243.205) has joined #jython
[21:28] <gColossus> agronholm: are you there?
[21:29] <agronholm> yes
[21:29] <gColossus> i have a quick question regarding running jython on ubuntu
[21:29] <gColossus> i have been using archlinux without any problem, however, on ubuntu server 12.04 i have this error
[21:30] <gColossus> give me a sec for the machine to finish compiling some stuff, I will get you the err asap
[21:30] <gColossus> agronholm: http://pastebin.com/ryZJmMk0
[21:31] <agronholm> gColossus: you're supposed to use the jython launch script
[21:31] <gColossus> i saw a post on stackoverflow saying that it is a bug with Jython
[21:31] <agronholm> not use "java" directly
[21:31] <gColossus> agronholm: which is? could you point me to the docs? :)
[21:31] <gColossus> agronholm: this is my 1st time using jython, i usually use Python.
[21:32] <agronholm> where did you install jython?
[21:32] <gColossus> you mean the interpretter or the jar?
[21:32] <agronholm> what's the difference?
[21:32] <gColossus> tahoang@test-client-01:~/workspace/do_perf_test/test$ which jython /usr/bin/jython
[21:32] <agronholm> umm
[21:32] <agronholm> HOW did you install jython?
[21:32] <gColossus> /usr/share/java/jython-2.5.1.jar
[21:32] <agronholm> and which one
[21:32] <agronholm> first of all, use a recent version
[21:32] <agronholm> 2.5.1 is pretty old
[21:33] <gColossus> it's the stable release on most of the repositories at the moment
[21:33] <gColossus> i have the same version on Archlinux
[21:33] <gColossus> agronholm: and I can run using java without any problem
[21:33] <agronholm> well we can't be held responsible for any ubuntu-related packaging issues
[21:33] <agronholm> they DID botch the 3.3 CPython packaging too after all
[21:34] <agronholm> I'm using Jython 2.5.3 on ubuntu 12.04 without problems
[21:34] <agronholm> but yeah, use /usr/bin/jython
[21:36] <agronholm> gColossus: it sounds like there are packages missing from the class path
[21:36] <gColossus> agronholm: hold on, I am downloading 2.5.3 installer via wget and will install it
[21:36] <gColossus> agronholm: give me a sec, i have ubuntu server on Windows Azure so no GUI :( just console
[21:38] <gColossus> agronholm: "java -jar jython_installer-2.5.3.jar" is asking me for a target directory, what does it reall mean?
[21:39] <agronholm> it wants to know where to install jython
[21:39] <gColossus> agronholm: but it also wants to delete everything from that folder
[21:39] <gColossus> so it can be neither /usr/bin or /usr/share/java
[21:39] <agronholm> so give it an empty or nonexisting directory
[21:39] <agronholm> I usually install it in ~/jython or similar
[21:40] <agronholm> you can put it to /opt/jython too or /usr/local/jython
[21:40] <agronholm> whatever
[21:40] <gColossus> agronholm: for arch, I have /opt/jython
[21:46] <gColossus> agronholm: still having the same problem, what is the jython launch script?
[21:46] <agronholm> it's in bin/jython
[21:46] <agronholm> relative to the install dir
[21:47] <agronholm> make sure you don't have JYTHON_HOME set
[21:49] <gColossus> agronholm: argg, and does jython reads $CLASSPATH? because my jython script uses external jars
[21:49] <agronholm> java uses that
[21:49] <gColossus> agronholm: how about jython?
[21:49] <agronholm> but having a CLASSPATH should not interfere
[21:52] <gColossus> agronholm: argg, I am so confused now
[21:52] <agronholm> why?
[21:53] <gColossus> agronholm: I can run it just fine on my arch, on ubuntu it's throwing that error eventhough in CLASSPATH I specified the new jython jar from 2.5.3
[21:53] <agronholm> wait a minute
[21:53] <gColossus> agronholm: oh hey, hold on
[21:53] <gColossus> wait a sec
[21:55] <gColossus> wth is this? javax.crypto.IllegalBlockSizeException: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
[21:55] <agronholm> how did you get that?
[21:55] <gColossus> arggggg
[21:55] <gColossus> agronholm: it's from my code ...
[21:55] <agronholm> can you just launch jython normally?
[21:56] <gColossus> agronholm: I can't, because my jython code uses external jars that was built using JAVA
[21:56] <agronholm> "your jython code"
[21:56] <agronholm> I didn't ask you to launch your code
[21:56] <agronholm> but the jython interpreter
[21:56] <gColossus> agronholm: I can
[21:56] <gColossus> and?
[21:56] * mjacob (~manu@178-25-252-123-dynip.superkabel.de) Quit (Read error: Connection reset by peer)
[21:56] <agronholm> well you couldn't do that before, could you?
[21:56] <gColossus> agronholm: well, I could
[21:57] <agronholm> at least that is the impression you gave me
[21:57] <gColossus> agronholm: sorry for being misleading, i could run the interpetter just fine
[21:57] <agronholm> why are you asking me how to fix your code
[21:57] <gColossus> agronholm: no no ... aish
[21:57] <gColossus> agronholm: hold on
[21:57] <gColossus> okay, so in the beginning, ubuntu distribute jython 2.5.1 which has that references issue
[21:58] <gColossus> so installing 2.5.3 from jython.org directly resolved that
[21:58] <gColossus> but now I am bumping into another issue, this I suspect is from uploading via vsftpd
[21:58] <gColossus> so I am looking into that right now
[21:59] <agronholm> so anything you still need from me?
[21:59] <gColossus> the key was modified during the update process
[21:59] <gColossus> no, that would be all for now, thank you
[21:59] <gColossus> updating to 2.5.3 fixed the problem that I had originally
[22:08] <gColossus> agronholm: okay, problem was because FileZilla decided do change the incoding of my privakey file without asking me
[22:08] <agronholm> were you transferring files via ftp in text mode?
[22:09] <gColossus> agronholm: yea, I think that was the default in FileZilla
[22:09] <agronholm> you should change it to always use binary mode
[22:09] <gColossus> Command: OPTS UTF8 ON Response: 200 Always in UTF8 mode.
[22:09] <agronholm> or preferably switch to sftp
[22:10] <agronholm> I always use sftp
[22:10] <agronholm> or scp
[22:10] * jlwestsr (~jlwestsr@2602:30b:82c8:65e9:a46d:a36:99d1:e8c9) has joined #jython
[22:10] <gColossus> Response: 200 Switching to ASCII mode.
[22:10] <gColossus> agronholm: it was a pain setting up vsftpd in Windows Azure because of firewall, NAT, and loadbalancing
[22:10] <gColossus> I run mine in passive mode right now
[22:10] <agronholm> sftp is not a pain to set up
[22:11] * wmeissner (~wmeissner@123.200.243.205) Quit (Ping timeout: 256 seconds)
[22:11] <agronholm> and works quite fine over firewalls
[22:11] * wmeissner (~wmeissner@123.200.243.205) has joined #jython
[22:11] <gColossus> agronholm: yeah, but I never looked extensively into it so it required some reading and binging
[22:11] <gColossus> agronholm: filezilla decided that my key was ASCII so it transfered as text
[22:11] <agronholm> do you not have ssh set up?
[22:11] <gColossus> I just forced it to use Binary
[22:12] <gColossus> agronholm: I do, it's done automatically
[22:12] <gColossus> by Windows Azure
[22:12] <agronholm> well then you already have sftp?
[22:12] <gColossus> agronholm: you need an ftp server 1st though
[22:12] <agronholm> um, no
[22:13] <gColossus> agronholm: did you mean scp?
[22:13] <agronholm> I don't have ftp set up on any of my servers
[22:13] <agronholm> no, sftp
[22:13] <agronholm> (not ftps!)
[22:13] <agronholm> ftps = ftp over ssl
[22:13] <gColossus> yes, SFTP (SSH File Transfer Protocol)
[22:13] <agronholm> yes
[22:14] <gColossus> I should, but I don't why I couldn't
[22:14] <agronholm> why you couldn't what?
[22:15] <gColossus> agronholm: i think my default authentication is via SSH key
[22:16] <agronholm> yeah, so?
[22:16] <gColossus> agronholm: so when I used filezilla, the server was not authenticating via password but via public/private key pair
[22:16] <agronholm> I still don't see a problem
[22:16] <gColossus> [tahoang@colossus-arch ssh]$ ssh client-01
[22:16] <gColossus> Permission denied (publickey).
[22:17] <agronholm> then you don't have your keys set up?
[22:17] <gColossus> agronholm: I do, I just don't know how to use it with FileZilla
[22:17] <gColossus> :(
[22:17] <agronholm> start pageant
[22:17] <agronholm> add your key there
[22:17] <agronholm> connect to your server
[22:17] <agronholm> that's it
[22:18] <gColossus> do they have linux client?
[22:18] <agronholm> do who have a linux client (for what?)
[22:18] <gColossus> pageant
[22:18] <gColossus> I remember it coming with putty
[22:18] <agronholm> pageant is the ssh agent that comes with putty
[22:19] <agronholm> and putty is primarily Windows software
[22:19] <gColossus> agronholm: yes, I am aware. but I am using Linux, and i use filezilla on linux
[22:19] <agronholm> then use ssh-agent
[22:19] <agronholm> actually
[22:19] <agronholm> ssh-add is what I do when I log in
[22:19] <agronholm> it asks me for my passphrase once
[22:20] <agronholm> and I don't have to type it again for the rest of the login session
[22:20] <gColossus> agronholm: I could login via ssh using my private key
[22:20] <gColossus> by doing: ssh -i priv.key -p 22 hostname
[22:20] <gColossus> user@hostname*
[22:20] <agronholm> just use ssh-add
[22:21] <agronholm> so you don't have to use -i or type your passphrase every time
[22:21] <gColossus> agronholm: looking into that right now. Tangential question, why do you know so much?
[22:22] <agronholm> I've been administering linux boxes since like 1998?
[22:22] <agronholm> one's bound to pick up a few things along the way
[22:24] <gColossus> agronholm: I see, that explains why
[22:25] <gColossus> agronholm: I didn't know that you can use ssh agents to cache your privatekey for ssh client authentication ...
[22:26] <agronholm> yep, that's what they're for
[22:26] <gColossus> I know that if the ssh server (which is on my remote machine) has my key on file, it will, by default, constructs a challenge message using my public key
[22:26] <gColossus> that's why I didnt know how to make filezilla uses my privatekey to response to that challenge ...
[22:43] * gColossus (~tahoang@unaffiliated/gcolossus) Quit (Quit: Leaving.)
[22:49] * gColossus (~tahoang@unaffiliated/gcolossus) has joined #jython
[22:49] <gColossus> agronholm: hmm, i can't get ssh-agent to work
[22:49] <gColossus> agronholm: I did this: ssh-add <path_to_key>; eval $(ssh-agent)
[23:07] <gColossus> agronholm: okay, working now
[23:08] <agronholm> I don't have to do any evals
[23:10] * wmeissner (~wmeissner@123.200.243.205) Quit (Quit: wmeissner)
[23:15] * gColossus (~tahoang@unaffiliated/gcolossus) Quit (Read error: Connection reset by peer)
[23:32] * gColossus1 (~tahoang@cpe-142-11-122-31.socal.rr.com) has joined #jython
[23:33] * gColossus1 (~tahoang@cpe-142-11-122-31.socal.rr.com) Quit (Changing host)
[23:33] * gColossus1 (~tahoang@unaffiliated/gcolossus) has joined #jython
[23:33] * gColossus1 (~tahoang@unaffiliated/gcolossus) has left #jython
[23:33] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[23:33] * gColossus1 (~tahoang@unaffiliated/gcolossus) has joined #jython
[23:34] * gColossus1 (~tahoang@unaffiliated/gcolossus) has left #jython
[23:44] * gColossus1 (~tahoang@unaffiliated/gcolossus) has joined #jython
[23:44] * gColossus1 (~tahoang@unaffiliated/gcolossus) has left #jython
[23:44] * gColossus1 (~tahoang@unaffiliated/gcolossus) has joined #jython
[23:44] * gColossus1 (~tahoang@unaffiliated/gcolossus) has left #jython
[23:51] * gColossus (~tahoang@unaffiliated/gcolossus) has joined #jython
[23:59] * gColossus (~tahoang@unaffiliated/gcolossus) Quit (Read error: Connection reset by peer)

Index

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