#jython IRC Log (v0.9)

Index

IRC Log for 2015-05-04

Timestamps are in GMT/BST.

[0:12] * r0bby_ (~wakawaka@guifications/user/r0bby) has joined #jython
[0:22] * lopex (uid4272@gateway/web/irccloud.com/x-ddddscmcdsvwddma) Quit (Quit: Connection closed for inactivity)
[0:54] * r0bby_ is now known as robbyoconnor
[1:53] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) Quit (Read error: Connection reset by peer)
[2:23] * fwierzbicki1 (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[2:24] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Ping timeout: 244 seconds)
[3:36] * eatkin (~eatkin@166.70.212.121) Quit (Quit: ZNC - http://znc.in)
[4:51] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) has joined #jython
[7:00] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) Quit (Remote host closed the connection)
[10:34] * lopex (uid4272@gateway/web/irccloud.com/x-hmttnpnkkxdwfqdp) has joined #jython
[11:50] * wlievens (d5fb41f9@gateway/web/freenode/ip.213.251.65.249) has joined #jython
[11:50] <wlievens> how is ctypes support in jython these days?
[11:51] <agronholm> it's not
[11:51] <agronholm> but there is light at the end of the tunnel
[11:53] <wlievens> hmm but according to posts like this (http://stackoverflow.com/questions/27901278/ctypes-support-in-jython) there is an (incomplete) ctypes module
[11:53] <wlievens> yet when I run my script, I get an error saying there's no such module
[11:54] <agronholm> I personally haven't looked at the ctypes support but I understood that it was incomplete at best
[11:54] <agronholm> wlievens: what particular import are you missing?
[11:56] <wlievens> "No module named ctypes"
[11:56] <agronholm> did you install it normally?
[11:56] <agronholm> jython that is
[11:56] <wlievens> no, I just threw jython into my pom
[11:57] <wlievens> I can run other code (e.g. print 1+2) fine
[11:57] <agronholm> can you import anything at all from the standard library?
[11:57] <wlievens> good point - I've actually only imported stuff from my own java packages
[11:57] <wlievens> let me try
[11:59] <wlievens> I can import sys
[11:59] <wlievens> but that's a special one I think, right?
[11:59] <agronholm> yes, it's a builtin module
[11:59] <agronholm> try importing a python module from the standard library
[11:59] <wlievens> import re -- fails
[11:59] <agronholm> yup
[11:59] <wlievens> so I probably have no packages at all
[12:00] <agronholm> put jython-standalone instead to your pom
[12:00] <wlievens> instead of or alongside?
[12:01] <agronholm> like I just said, instead
[12:02] <wlievens> Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0.
[12:02] <wlievens> I did also upgrade from 2.5.3 to 2.7.0
[12:02] <agronholm> that's not a fatal error -- I've seen that with web start
[12:02] <agronholm> the app works just fine
[12:03] <wlievens> ah yes I just needed patience
[12:03] <wlievens> re imports now
[12:03] <wlievens> so does ctypes
[12:03] <wlievens> thanks!
[12:03] <agronholm> yw
[12:03] <wlievens> now I'll try to see if my code actually works
[12:06] * Trundle (~andy@python/site-packages/trundle) has joined #jython
[12:07] <grey_> @devs: regarding Maven. Is it expected that the std.lib imports from <artifactId>jython</artifactId> fail?
[12:07] <agronholm> I'm the wrong person to ask
[12:08] <agronholm> but I don't think they should be failing
[12:08] <agronholm> fwierzbicki1 is the one to ask, he does maven uploads
[12:08] <wlievens> pointer only supported for scalar type <---- this doesn't sound good
[12:08] <agronholm> don't ask me about ctypes, I've never used it
[12:10] <wlievens> I think I'll best swap out the "bottom" layer of my library with JNA
[12:32] <wlievens> any idea on where I could best seek advice regarding ctypes in jython?
[12:34] <agronholm> the jython-users mailing list
[13:36] * xemdetia (xemdetia@nat/ibm/x-ooivyzxxktucwzfh) has joined #jython
[14:29] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[15:51] <jimbaker> wlievens, re ctypes in jython - stefan richthofer (stewori here) is planning on having full support through his google summer of code project
[15:55] * jeffallen (~Jeff@cpc68612-stav16-2-0-cust306.17-3.cable.virginm.net) has joined #jython
[16:15] <jimbaker> there is an outstanding bug re our existing ctypes implementation: http://bugs.jython.org/issue2148
[16:16] <jimbaker> which i just modified from the original (remove incomplete support) to depending on a third-party package (jyni)
[16:16] <jimbaker> wlievens, ^^^
[16:32] * Trundle (~andy@python/site-packages/trundle) Quit (Remote host closed the connection)
[17:35] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) has joined #jython
[17:56] <agronholm> we should get the news about jython 2.7's release on python.org's news feed
[17:56] <agronholm> it even has a new ironpython release, but no jython
[17:56] <agronholm> and I have no idea who controls that
[18:00] * eatkin (~eatkin@166.70.212.121) has joined #jython
[18:21] * dyce_ is now known as dyce
[19:01] * xemdetia_ (xemdetia@nat/ibm/x-ryfsebtahfqdayqk) has joined #jython
[19:02] * xemdetia_ is now known as xemdetisa
[19:04] * xemdetia (xemdetia@nat/ibm/x-ooivyzxxktucwzfh) Quit (Ping timeout: 264 seconds)
[19:11] * xemdetisa is now known as xemdetia
[20:30] * jorgew (sid36089@gateway/web/irccloud.com/x-gtpebkowwyptfqto) Quit (Read error: Connection reset by peer)
[20:33] * jorgew (sid36089@gateway/web/irccloud.com/x-mjvlzrtdrzkvvmxh) has joined #jython
[21:39] * jeffallen (~Jeff@cpc68612-stav16-2-0-cust306.17-3.cable.virginm.net) Quit (Quit: Leaving.)
[22:04] * xemdetia (xemdetia@nat/ibm/x-ryfsebtahfqdayqk) Quit (Ping timeout: 272 seconds)
[22:20] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)

Index

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