Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-31 Thread Oscar Benjamin
On 19 December 2015 at 08:24, Armin Rigo wrote: > On Fri, Dec 18, 2015 at 1:56 PM, Oscar Benjamin > wrote: >> It seems to have already been fixed on the py3k branch so I'm not sure >> if it needs reporting: > > We usually look at the py3.3 branch, which is for Python 3.3 > compatibility; if it's

Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-19 Thread Armin Rigo
Hi Oscar, On Fri, Dec 18, 2015 at 1:56 PM, Oscar Benjamin wrote: > It seems to have already been fixed on the py3k branch so I'm not sure > if it needs reporting: We usually look at the py3.3 branch, which is for Python 3.3 compatibility; if it's also fixed there then there is nothing more to re

Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-18 Thread Phyo Arkar
Rapydscript is pure pythonic javascript. HTML5 + http://www.pyjeon.com/rapydscript On Fri, Dec 18, 2015 at 10:55 PM, Ryan Gonzalez wrote: > I find HTML5 overkill if you're not using JS... > > > On December 18, 2015 7:52:40 AM CST, Phyo Arkar > wrote: >> >> Best GUI for every language these days

Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-18 Thread Ryan Gonzalez
I find HTML5 overkill if you're not using JS... On December 18, 2015 7:52:40 AM CST, Phyo Arkar wrote: >Best GUI for every language these days is HTML5. > >Use PyPy as backend process , and use HTML5 as UI. > >Check out Electron .http://electron.atom.io/ HTML5 Desktop UI that >powers >Atom edito

Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-18 Thread Phyo Arkar
Best GUI for every language these days is HTML5. Use PyPy as backend process , and use HTML5 as UI. Check out Electron .http://electron.atom.io/ HTML5 Desktop UI that powers Atom editor. On Wed, Dec 16, 2015 at 7:09 PM, Oscar Benjamin wrote: > After a casual bit of googling I'm not sure what i

Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-18 Thread Oscar Benjamin
On 16 December 2015 at 12:45, Armin Rigo wrote: > If you get an obscure crash, please open a > bug report. :-) I found a bug with PyPy 3.2.5 (2.4.0). The offending code looks like: s = s.encode('utf-8') if '\x00' in s: # <- This line guaranteed to raise on Py3 rais

Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-17 Thread Yury V. Zaytsev
Hi Armin, hi Oscar, I think that the mystery lies in the packaging differences between Ubuntu 12.04 and Ubuntu 14.04 releases: root@1204:/# readelf -d /usr/lib/libtk8.5.so.0 | grep tk 0x000e (SONAME) Library soname: [libtk8.5.so.0] root@1404:/# readelf -d /usr/lib/x8

Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-17 Thread Oscar Benjamin
On 17 December 2015 at 15:00, Armin Rigo wrote: > On Thu, Dec 17, 2015 at 3:33 PM, Oscar Benjamin > wrote: >> Maybe it's just missing the symlink from libtcl8.5.so -> >> libtcl8.5.so.0. I'm not sure why it would be setup like that. > > Yes. I mostly gave up understanding the differences in binar

Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-17 Thread Armin Rigo
Hi Oscar, On Thu, Dec 17, 2015 at 3:33 PM, Oscar Benjamin wrote: > Maybe it's just missing the symlink from libtcl8.5.so -> > libtcl8.5.so.0. I'm not sure why it would be setup like that. Yes. I mostly gave up understanding the differences in binary distributions in Linux. It just turns out th

Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-17 Thread Oscar Benjamin
On 16 December 2015 at 15:46, Ryan Gonzalez wrote: > The version Ubuntu 12.04 comes with is pretty old. PyPy 2.0 is WAY better. > > I like Ubuntu, but I hate how packages can go out of date so easily. To be fair I should just update my Ubuntu version. I don't use 12.04 at home but the situation w

Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-17 Thread Oscar Benjamin
On 16 December 2015 at 14:43, Armin Rigo wrote: > > On Wed, Dec 16, 2015 at 2:05 PM, Oscar Benjamin > wrote: >> libtcl8.5.so: cannot open shared object file: No such file or >> directory >> >> Is that an obscure crash? > > Sadly not. It just means it was compiled for libtcl8.5.so, and your > mac

Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-16 Thread Ryan Gonzalez
On December 16, 2015 7:05:43 AM CST, Oscar Benjamin wrote: >On 16 December 2015 at 12:45, Armin Rigo wrote: >> >> On Wed, Dec 16, 2015 at 1:39 PM, Oscar Benjamin >> wrote: >>> Does tkinter work with PyPy yet (It doesn't in >>> the version I have installed here)? >> >> It should work. Did you

Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-16 Thread Armin Rigo
Hi Oscar, On Wed, Dec 16, 2015 at 2:05 PM, Oscar Benjamin wrote: > libtcl8.5.so: cannot open shared object file: No such file or > directory > > Is that an obscure crash? Sadly not. It just means it was compiled for libtcl8.5.so, and your machine has a different version installed. You can reco

Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-16 Thread Oscar Benjamin
On 16 December 2015 at 12:45, Armin Rigo wrote: > > On Wed, Dec 16, 2015 at 1:39 PM, Oscar Benjamin > wrote: >> Does tkinter work with PyPy yet (It doesn't in >> the version I have installed here)? > > It should work. Did you install a recent official release, or compile > it yourself? In the l

Re: [pypy-dev] Current status of GUI support in PyPy

2015-12-16 Thread Armin Rigo
Hi Oscar, On Wed, Dec 16, 2015 at 1:39 PM, Oscar Benjamin wrote: > Does tkinter work with PyPy yet (It doesn't in > the version I have installed here)? It should work. Did you install a recent official release, or compile it yourself? In the latter case, do you have the "tk-dev" headers instal

[pypy-dev] Current status of GUI support in PyPy

2015-12-16 Thread Oscar Benjamin
After a casual bit of googling I'm not sure what is the current status of GUI support in PyPy. Does tkinter work with PyPy yet (It doesn't in the version I have installed here)? Is there any other GUI that you recommend? I'm looking to make a Python-based physics simulator that should be able to s