Well, turns out the problem isn’t with the whole list, it’s just with that
Criollo thread. Apparently the messages in that thread have gotten so big
(>40K) because of all the code fragments and topquoting.
So nothing to worry about.
Jack
> On 09-Jan-2020, at 00:16 , Jack Jansen wrote:
>
> F
Folks,
as of yesterday every posting to the list is held for approval. I’ve asked the
mailman maintainers what could be going on.
I the mean time I’ll approve all posts as quickly as possible, but I trust you
understand that I’m not sitting here waiting to approve things 24 hours a day,
so thin
I got it working. Basically I have a main.py file in Resources that get loaded
and run by PyRun_SimpleFile in applicationDidFinishLaunching. Control is then
passed to the python interpreter. Notice the infinite loop at the bottom which
is needed because the interpreter finishes executing the
Here’s what I’ve got so far. I don’t know much about the metadata, but I did
try gen_bridge_metadata to try and decipher it, but I think it doesn’t generate
it correctly either.
import objc
CRApplication = objc.lookUpClass("CRApplication")
objc.registerMetaDataForSelector(
b'CRHTTPSer
What is the type of ‘server’?
And I just noticed the metadata block is a bit of, the callable is argument 3
instead of 2.
Ronald
--
On the road, hence brief.
> On 8 Jan 2020, at 17:18, Rand Dvorak wrote:
>
> Same result:
>
> File "main.py", line 40, in
> server.get_block_("/", hel
Same result:
File "main.py", line 40, in
server.get_block_("/", helloHandler)
TypeError: Argument 3 is a block, but no signature available
> On Jan 8, 2020, at 03:20, Ronald Oussoren wrote:
>
> Please change “get_block_” to “get:block:” in the call to
> objc.registerMetadataForSelector
Turns out the instance of server is indeed a CRHTTPServer, but the class that
need the metadata registered is CRRouter.
> On Jan 8, 2020, at 15:41, Ronald Oussoren wrote:
>
> What is the type of ‘server’?
>
> And I just noticed the metadata block is a bit of, the callable is argument 3
> in
Same results with this code:
import objc
CRApplication = objc.lookUpClass("CRApplication")
objc.registerMetaDataForSelector(
b'CRServer',
b'get_block_',
{
'arguments': {
2: {
'callable': {
'arguments':
Please change “get_block_” to “get:block:” in the call to
objc.registerMetadataForSelector.
Ronald
—
Twitter: @ronaldoussoren
Blog: https://blog.ronaldoussoren.net/
> On 8 Jan 2020, at 02:04, Rand Dvorak wrote:
>
> Same results with this code:
>
> import objc
> CRApplication = objc.lookUpCl