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

Future exception was never retrieved #23

Open
sadhasivam opened this issue Oct 9, 2015 · 4 comments
Open

Future exception was never retrieved #23

sadhasivam opened this issue Oct 9, 2015 · 4 comments

Comments

@sadhasivam
Copy link

I am getting following error in console quite often. not sure its a bug or something.
further my loads tab never populated ?

[E 151009 16:01:50 concurrent:122] Future exception was never retrieved: Traceback (most recent call last):
      File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 810, in run
        yielded = self.gen.throw(*sys.exc_info())
      File "/usr/local/lib/python2.7/site-packages/redshift_console/redshift.py", line 76, in start
        yield self._refresh()
      File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 807, in run
        value = future.result()
      File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 209, in result
        raise_exc_info(self._exc_info)
      File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 810, in run
        yielded = self.gen.throw(*sys.exc_info())
      File "/usr/local/lib/python2.7/site-packages/redshift_console/redshift.py", line 105, in _refresh
        yield self.refresh()
      File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 807, in run
        value = future.result()
      File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 209, in result
        raise_exc_info(self._exc_info)
      File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 810, in run
        yielded = self.gen.throw(*sys.exc_info())
      File "/usr/local/lib/python2.7/site-packages/redshift_console/redshift.py", line 276, in refresh
        yield self._fetch_load_errors()
      File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 807, in run
        value = future.result()
      File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 209, in result
        raise_exc_info(self._exc_info)
      File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 812, in run
        yielded = self.gen.send(value)
      File "/usr/local/lib/python2.7/site-packages/redshift_console/redshift.py", line 310, in _fetch_load_errors
        row['table'] = self.table_id_mapping[row['table_id']]['table_name']
    KeyError: 169366
[I 151009 16:01:52 web:1825] 304 GET /api/queries/inflight (::1) 0.48ms
@arikfr
Copy link
Member

arikfr commented Oct 10, 2015

Indeed looks like a bug.

The user you're running redshift-console with, does it have sufficient privileges to read the schema?

@sadhasivam
Copy link
Author

Yes. i am connecting with a user having root user previlages. if you have any specific user previlage requirement i can happy to assert that as well.

@arikfr
Copy link
Member

arikfr commented Oct 19, 2015

Re. Loads tab not populating - currently it supposed to show only load errors. Do you know if you had any load errors when you checked it?

@sadhasivam
Copy link
Author

yes we do have errors reported in STL_LOAD_ERRORS table. but those errors not showing up in the load table tab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants