Python3 - unicode problem?

296 views
Skip to first unread message

Seth Bullock

unread,
Mar 23, 2016, 4:26:00 PM3/23/16
to Light Table Discussion
Hi,

just downloaded LT. I already had the Anaconda distribution of Python 3 installed.

When I try to run a hello world program I get an error about unicode encoding:

print("hello world!")

gives:

Traceback (most recent call last): File "C:\Program Files (x86)\LightTable\resources\app\plugins\Python\py-src\ltmain.py", line 193, in handleEval code= compile(ensureUtf(code), ensureUtf(data[2]["name"]), 'eval') File "C:\Program Files (x86)\LightTable\resources\app\plugins\Python\py-src\ltmain.py", line 50, in ensureUtf if type(s) == unicode: NameError: name 'unicode' is not defined During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Program Files (x86)\LightTable\resources\app\plugins\Python\py-src\ltmain.py", line 197, in handleEval code= compile(ensureUtf(code), ensureUtf(data[2]["name"]), 'exec') File "C:\Program Files (x86)\LightTable\resources\app\plugins\Python\py-src\ltmain.py", line 50, in ensureUtf if type(s) == unicode: NameError: name 'unicode' is not defined


A quick google turned up some discussion of hand editing the ltmain.py file in the LT distribution? Is that right? I can't really believe that hello world doesn't work straight off the bat? Or am I missing something?

Cheers,
Seth.

Magnus Rundberget

unread,
Mar 26, 2016, 8:14:54 AM3/26/16
to Light Table Discussion
The Light Table core team have stopped supporting the python plugin. None of us use Python.
We have asked for someone in the community to step up and take over responsibility for the plugin, but no luck so far.

https://github.com/LightTable/Python

cheers
Magnus

Seth Bullock

unread,
Mar 26, 2016, 10:15:31 AM3/26/16
to Light Table Discussion
Thanks Magnus - didn't realise that about the lack of support for Python.

Good luck with finding someone to take it on!

Cheers,
Seth.
Reply all
Reply to author
Forward
0 new messages