#jython IRC Log

Index

IRC Log for 2015-03-30

Timestamps are in GMT/BST.

[0:19] * claudiupopa (~claudiupo@79.112.37.49) Quit (Ping timeout: 256 seconds)
[0:24] * claudiupopa (~claudiupo@79.112.37.49) has joined #jython
[0:45] * claudiupopa (~claudiupo@79.112.37.49) Quit (Read error: Connection reset by peer)
[0:45] * claudiupopa (~claudiupo@79.112.37.49) has joined #jython
[0:51] * claudiupopa (~claudiupo@79.112.37.49) Quit (Ping timeout: 264 seconds)
[2:41] * pr3d4t0r is now known as pr3d4k4t
[2:44] * pr3d4k4t (~zhenya01@varenka.cime.net) has left #jython
[3:12] * AndyBotwin (~botwin@unaffiliated/andybotwin) Quit (Quit: Leaving)
[4:30] * sirdancealot (~koo5@236.152.broadband3.iol.cz) Quit (Ping timeout: 256 seconds)
[4:56] * siel (~siel@unaffiliated/motley) Quit (Remote host closed the connection)
[5:01] * siel (~siel@unaffiliated/motley) has joined #jython
[6:54] * sirdancealot (~koo5@236.152.broadband3.iol.cz) has joined #jython
[7:21] * claudiupopa (~claudiupo@79.112.37.49) has joined #jython
[9:37] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 264 seconds)
[9:44] * mbooth (~mbooth@cpc11-shef10-2-0-cust659.barn.cable.virginm.net) has joined #jython
[9:44] * mbooth (~mbooth@cpc11-shef10-2-0-cust659.barn.cable.virginm.net) Quit (Changing host)
[9:44] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[10:22] * Trundle (~andy@python/site-packages/trundle) has joined #jython
[10:43] * masoodahm (~masood@115.186.126.13) has joined #jython
[10:43] <masoodahm> hi anyone here?
[11:16] * masoodahm (~masood@115.186.126.13) has left #jython
[13:09] * sirdancealot (~koo5@236.152.broadband3.iol.cz) Quit (Ping timeout: 244 seconds)
[13:31] <agronholm> ?
[13:48] * xemdetia (xemdetia@nat/ibm/x-sxjptbzhpfyxqout) has joined #jython
[15:27] * DanC_ (~dconnolly@user1.kumc.edu) has joined #jython
[15:28] <DanC_> I'm trying to get the modjy demo app running, but I get: java.lang.NoClassDefFoundError: Could not initialize class org.python.core.PySystemState
[15:28] <DanC_> clues?
[15:29] <DanC_> full error page: http://pastebin.com/uRm7VqGt
[15:30] * masoodahm (~masood@115.186.126.13) has joined #jython
[15:33] * sirdancealot (~koo5@236.152.broadband3.iol.cz) has joined #jython
[15:35] * masoodahm (~masood@115.186.126.13) has left #jython
[15:56] <DanC_> that was with jython2.x from Ubuntu; updated to Jython 2.7b4 (default:3672e624962a, Feb 13 2015, 04:59:14) ...
[15:56] <DanC_> now I get: ImportError: No module named site
[15:58] <DanC_> updated <param-name>python.home</param-name> ... win!
[16:50] * Trundle (~andy@python/site-packages/trundle) Quit (Remote host closed the connection)
[17:11] <agronholm> DanC_: also use rc1 rather than b4
[17:12] <DanC_> I don't see... oh. I'm blind. http://www.jython.org/downloads.html
[17:12] <DanC_> wait... I don't see an rc1 for 2.7
[17:13] <agronholm> see the topic
[17:13] <agronholm> I will update the website very soon
[17:15] <DanC_> cool
[17:16] <DanC_> oops... installer CLI options are different... broke my build...
[17:16] <agronholm> you use the installer in your build process?
[17:16] <DanC_> well, yes, I have a build job for installing jython
[17:16] <DanC_> but I see what went wrong... I neglected to get the old .jar out of the way
[17:17] <DanC_> org.python.util.install.InstallerException: Target directory /opt/jython is not empty
[17:17] <DanC_> bother.
[17:19] <DanC_> "successfully installed Jython 2.7rc1"
[18:05] * sirdancealot (~koo5@236.152.broadband3.iol.cz) Quit (Ping timeout: 248 seconds)
[18:29] <agronholm> website updated
[18:56] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[19:11] <DanC_> I can't seem to make a virtualenv with jython as the interpreter; clues?
[19:11] <DanC_> I tried: $ /usr/local/devtools/jython2.7b4/bin/jython ~/src/virtualenv-12.0.7/virtualenv.py ~/pyenv/jywar
[19:11] <DanC_> but got: ImportError: No module named pip
[19:12] <DanC_> before that, it also says: Cannot find file /usr/local/devtools/jython2.7b4/Include (bad symlink)
[19:13] * DanC_ finds he's not alone... http://stackoverflow.com/questions/27487681/error-setting-up-a-virtualenv-with-jython-2-7b3
[19:15] <DanC_> aha... --no-setuptools
[19:15] <agronholm> DanC_: did you run ensurepip?
[19:15] <agronholm> jython -m ensurepip
[19:15] <DanC_> no; what's ensurepip?
[19:15] <agronholm> also, upgrade to rc1
[19:15] <DanC_> I did. oops... on a different machine
[19:15] <agronholm> ensurepip is the module that downloads and installs setuptools and pip if they're not present
[19:16] <DanC_> one wonders why setuptools and pip are not just there in place of ensurepip
[19:20] <DanC_> still losing.
[19:21] <DanC_> I managed to ensurepip and use the resulting pip to install virtualenv
[19:21] <DanC_> but the resulting virtualenv gives same errors: Cannot find file /usr/local/devtools/jython/Include (bad symlink); ImportError: No module named pip
[19:23] <DanC_> aha! win: $ /usr/local/devtools/jython/bin/virtualenv ~/pyenv/jywar --no-setuptools
[19:23] <agronholm> DanC_: I get the same error.
[19:24] <agronholm> jimbaker: oh, you're here now
[19:24] <agronholm> excellent.
[19:24] <agronholm> jimbaker: I'd say the inability to use virtualenv is something that should be fixed before 2.7 final
[19:25] <jimbaker> agronholm, yes, back from vacation
[19:26] <jimbaker> agronholm, that's a function of virtualenv now working on jython
[19:26] <jimbaker> *not* working
[19:26] <agronholm> jimbaker: so virtualenv needs fixing?
[19:27] <jimbaker> now we could support it better with a backport of venv, and make it jar aware etc
[19:27] <jimbaker> but yes, virtualenv should be fixed
[19:27] <jimbaker> maybe something to look at the sprints?
[19:28] <agronholm> maybe
[19:28] <jimbaker> we have a number of small bugs that need to be resolved for rc2
[19:28] <agronholm> which reminds me
[19:28] <agronholm> I started making jython-swingutils 2.7 compatible
[19:28] <agronholm> 2.7b4 totally breaks it
[19:28] <agronholm> at least one part of it
[19:28] <jimbaker> how so?
[19:29] <agronholm> because starting with 2.7b4, it starts raising NotImplementedErrors when java calls an unimplemented interface method in a python class that was inherited from a java interface
[19:29] <agronholm> jython-swingutils relied on them being no-ops
[19:29] <jimbaker> right. that's a good thing i believe :)
[19:29] <agronholm> yes
[19:29] <agronholm> but
[19:29] <agronholm> now I have another problem
[19:30] <agronholm> I can't seem to dynamically build a class that implements any of those interface methods
[19:30] <agronholm> they just don't work
[19:31] <jimbaker> what do you mean, dynamically? all classes are built that way of course, so just want some clarification on construction
[19:31] <agronholm> type(...)
[19:31] <agronholm> I should build a minimal test scenario
[19:31] <jimbaker> hmmm... so that's actually how the class statement is compiled
[19:36] <jimbaker> or at least the same codepath as type(...) - but i don't see anything there that would distinguish, it's just a question of setting up args
[19:36] <jimbaker> in Py#makeClass vs __builtin__.type
[19:37] <agronholm> ok let me just build a minimal test case
[19:37] <jimbaker> they both go through PyType for the actual construction
[20:11] <jimbaker> ok, just sent out the latest triage list to jython-dev - do hope these are the last 4 bugs!
[20:12] * sirdancealot (~koo5@236.152.broadband3.iol.cz) has joined #jython
[21:35] * ebarrett (~edd@host-78-148-190-236.as13285.net) Quit (Ping timeout: 256 seconds)
[21:37] * ebarrett (~edd@88-105-202-62.dynamic.dsl.as9105.com) has joined #jython
[21:38] * AndyBotwin (~botwin@unaffiliated/andybotwin) has joined #jython
[21:54] * xemdetia (xemdetia@nat/ibm/x-sxjptbzhpfyxqout) Quit (Ping timeout: 265 seconds)
[22:33] * claudiupopa (~claudiupo@79.112.37.49) Quit (Read error: Connection reset by peer)
[22:33] * claudiupopa (~claudiupo@79.112.37.49) has joined #jython
[22:34] * claudiupopa (~claudiupo@79.112.37.49) Quit (Client Quit)

Index

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