Help with realm-templates example

Hi,

I’m having issues getting the realm-templates example working and I was wondering if anyone could shed any light on my issues.

I may have misunderstood something with the realm-templates example found here:

I wasn’t able to run it using python, but instead i used the Docker image.

When I access the index.html served by crossbario, the page displays the following errors:

Here is crossbario’s log:
https://pastebin.com/1KrmXNcQ

I did find that I could connect successfully, if I changed the clients realm to:
^realm-(?P[a-z][a-z0-9_-]{2,8})$

It appears the regular expression is not working correctly, or the template field isn’t being acknowledged. Appreciate any information anyone can provide on the matter.

Kind Regards,
John Waring.

Hi John,

yes, expected;) these examples are dead code: this feature was an experiment, never finished. sorry for the confusion! I removed the misleading examples from the repo …

Cheers,
/Tobias

Hi Tobias,

Thanks for clearing that up!

All the best,
John.