Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Failed to generate overview "non-zero exit status" #385

Open
moseleyi opened this issue Jan 23, 2023 · 0 comments
Open

[BUG] Failed to generate overview "non-zero exit status" #385

moseleyi opened this issue Jan 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@moseleyi
Copy link

Describe the bug
Can't generate the overview

Expected behavior
Report gets generated

To Reproduce
re_data overview generate

Screenshots
image

Logs and additional context

dbt run-operation generate_overview --args end_date: '2023-01-23'
interval: days:1
monitored_path: D:\projects\simplr\simplr-analytics\target\re_data\monitored.json
overview_path: D:\projects\simplr\simplr-analytics\target\re_data\overview.json
start_date: '2023-01-16'

←[0m10:35:41  Running with dbt=1.3.2
←[0m10:35:42  11:35:42 + [re_data] interval length in seconds is 86400
Traceback (most recent call last):
  File "C:\Python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Python38\Scripts\re_data.exe\__main__.py", line 7, in <module>
  File "C:\Python38\lib\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "C:\Python38\lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "C:\Python38\lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Python38\lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Python38\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Python38\lib\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "C:\Python38\lib\site-packages\re_data\tracking.py", line 108, in decorated
    raise e
  File "C:\Python38\lib\site-packages\re_data\tracking.py", line 95, in decorated
    fun(*args, **kwargs)
  File "C:\Python38\lib\site-packages\re_data\version.py", line 41, in decorated
    return fun(*args, **kwargs)
  File "C:\Python38\lib\site-packages\re_data\command_line.py", line 310, in generate
    completed_process.check_returncode()
  File "C:\Python38\lib\subprocess.py", line 444, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['dbt', 'run-operation', 'generate_overview', '--args', "end_date: '2023-01-23'\ninterval: days:1\nmonitored_path: D:\\projects\\simplr\\simplr-analytics\\target\\re_data\\monitored.json\noverview_path: D:\\projects\\simplr\\simplr-analytics\\target\\re_data\\overview.json\nstart_date: '2023-01-16'\n"]' returned non-zero exit status 3221225477.

I did have a problem with jsonschema but not sure if that could be the problem. The jsonschema package I have installed is newer than re_data package wants to use. Here's the screenshot:

image

@moseleyi moseleyi added the bug Something isn't working label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant