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.

`RuntimeError: invalid RE code` error message when loading nameko

See original GitHub issue

Describe the bug RuntimeError: invalid RE code error message when loading nameko

stack trace:

Traceback (most recent call last):
  File "c:\users\amnon\appdata\local\continuum\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\amnon\appdata\local\continuum\anaconda3\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\amnon\AppData\Local\Continuum\anaconda3\Scripts\nameko.exe\__main__.py", line 5, in <module>
  File "c:\users\amnon\appdata\local\continuum\anaconda3\lib\site-packages\nameko\cli\main.py", line 48, in <module>
    """, regex.VERBOSE
  File "c:\users\amnon\appdata\local\continuum\anaconda3\lib\site-packages\regex.py", line 345, in compile
    return _compile(pattern, flags, kwargs)
  File "c:\users\amnon\appdata\local\continuum\anaconda3\lib\site-packages\regex.py", line 613, in _compile
    req_offset, req_chars, req_flags, info.group_count)
RuntimeError: invalid RE code

To Reproduce run nameko commandline tool

Expected behavior nameko should load properly

Environment (please complete the following information):

  • Nameko version: 2.11.0
  • Python version: Python 3.6.4 :: Anaconda, Inc.
  • OS: Windows 7

Additional context I tried running the “hello world” example.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
amnonkhencommented, Feb 19, 2019

Thanks. I uninstalled regex and it did the trick.

On 19 Feb 2019, at 22:10, Jakub Borys notifications@github.com wrote:

Just tried hello world example from https://docs.nameko.io/en/stable/#nameko and had no issue. I’m on macOs though. Use of regex is optional and that dependency is not installed with Nameko by default and re should be used. Unfortunately none of the developers working on Nameko use Windows OS so there might be some incompatibility.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

0reactions
mattbennettcommented, Feb 20, 2019

It’s tested against 2018.2.21, so that version at least should work. Would be interesting to see which subsequent release breaks it, and whether there are any notes in the changelog. I would hope that there is a workaround.

I think it’s preferable for us to support later versions even if that means dropping support for the older ones. Clearly we’re failing to do so at the moment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Invalid RE Code" Error - Foothold Care Management
A common error from MAPP found on segments is "Invalid RE Code found". But what does it mean? MAPP is reporting that there...
Read more >
I'm having trouble starting up my first python nameko service
Specifically, Python's os.register_at_fork method, the one that's causing your error (" AttributeError: module 'os' has no attribute ' ...
Read more >
Guide to Restriction Exception (RE) Codes and Health Home ...
These are codes to restrict recipient to specific alternative pharmacy providers.
Read more >
AWS for Solutions Architects: Design Your Cloud Infrastructure by ...
AWS Glue – Extracting, Transforming, and Loading Data the ... Piracy: If you come across any illegal copies of our works in any...
Read more >
11.3.16 Error Codes - Illinois.gov
1, Error Code, Message, Explanation. 2, A04, Date Paid Missing/Invalid, TPL payment date or adjudication date is missing or invalid.
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