[Termux] TypeError: __init__() expects list, not 'list'
See original GitHub issue~/downloads/kuroko $ ./kuroko
Kuroko 1.3.1 (Oct 18 2022 at 19:47:41) with clang 15.0.2
Type `help` for guidance, `paste()` to toggle automatic indentation, `license` for copyright information.
>>> list()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: __init__() expects list, not 'list'
>>> [1,2,3]
=> [1, 2, 3]
>>> range(5)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: __init__() expects range, not 'range'
>>> list(range(5))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: __init__() expects range, not 'range'
>>>
~/.../kuroko/test $ ../kuroko testThreading.krk
Starting 10 threads.
Traceback (most recent call last):
File "testThreading.krk", line 33, in <module>
let numbers = list(range(totalCount))
TypeError: __init__() expects range, not 'range'
Issue Analytics
- State:
- Created a year ago
- Comments:14
Top Results From Across the Web
'>=' not supported between instances of 'tuple' and 'int' · Issue ...
TypeError : '>=' not supported between instances of 'tuple' and ... in utils.iter_modules(directory): File "/data/data/com.termux/files/home/ ...
Read more >expected string or bytes-like object. While i am trying to create ...
Somewhere the json data you are trying to insert into a datetime field on your model is not of correct type.
Read more >Fixed Termux All Errors [100%] - Repository Under ... - YouTube
Hacking with Android https://www.youtube.com/playlist? list. ... WsCube Tech is not responsible for any misuse of the provided information.
Read more >How to Update Python 2 to Python 3 - The Couchbase Blog
To get an idea on the key changes, here is the summary list of code changes needed from Python 2 to Python 3....
Read more >PySimpleGUI
Run your program in the System Tray using WxPython. Or, change the import and run it on Qt with no other changes. Works...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I do not support building for Android under the default configuration, primarily because I don’t have any modern Android devices available for testing and also because Android is very different from a typical Linux environment. Android is known to have issues related to thread-local storage, in particular, which is a critical requirement for Kuroko’s default Linux build setup. I suggest you try disabling thread support by passing
KRK_DISABLE_THREADS=1
in your invocation tomake
- be sure tomake clean
first.Could you also tell me what version of Android you are running? Some support for TLS has been available since Android 29, but I believe it still does not support the
initial-exec
model I attempt to use.Very cool - this language deserves more attention, so does your OS 😉 thanks for your work