question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Slot name with "illegal character" should be flagged?

See original GitHub issue

Rasa Core version: 0.12.1 (but the master has the same issue)

Python version: 3.6.6

Operating system (windows, osx, …): Linux

Issue: I had slot name with dot e.g. my_company_name.special_slot this works as long as it is not used in a template but because the substitute is done with python built-in format, dot notation won’t work.

https://github.com/RasaHQ/rasa_core/blob/master/rasa_core/nlg/template.py#L79

I did the easy workaround of removing dot but perhaps either (a) allow dot in slot by updating _fill_template_text function or (b) when domain file is passed, check and see if slot name with invalid python variable name is also used in template. if so error out Would be helpful

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
wochingecommented, Feb 14, 2019

Super nice 🚀 Thanks! Let me know if you have questions

1reaction
wochingecommented, Feb 14, 2019

@naoko Awesome! I discuss it with the team and come back to you 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

slot: The Slots in an Object from a Formal Class - Rdrr.io
The name of the slot. The operator takes a fixed name, which can be unquoted if it is syntactically a name in the...
Read more >
The Slots in an Object from a Formal Class - R
The name of the slot. The operator takes a fixed name, which can be unquoted if it is syntactically a name in the...
Read more >
java.net.URISyntaxException: Illegal character in scheme ...
Exception in thread "main" org.redisson.client.RedisConnectionException: Can't connect to servers! at org.redisson.cluster.
Read more >
Azure Functions deployment slots | Microsoft Learn
Learn to create and use deployment slots with Azure Functions. ... Use function app names shorter than 32 characters. Names longer than 32 ......
Read more >
Dell PowerEdge M1000e Chassis Management Controller ...
Also standard, and special characters are allowed in the names. Slot names must be unique within the chassis. No two slots may have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found