You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/10/17 08:20:37 UTC

[GitHub] [superset] ahmedkunwar opened a new issue, #21827: Unable to load Tables in SQL Editor

ahmedkunwar opened a new issue, #21827:
URL: https://github.com/apache/superset/issues/21827

   As soon as I open sql editor it gives error. Below is the log trace of the error. 
   I am running Superset using Gunicorn and redis for cache
   
   
   2022-10-17 08:15:34,841:ERROR:superset.views.base:value is not an integer or out of range
   Traceback (most recent call last):
     File "/home/ubuntu/.local/lib/python3.8/site-packages/superset/views/base.py", line 185, in wraps
       return f(self, *args, **kwargs)
     File "/home/ubuntu/.local/lib/python3.8/site-packages/flask_appbuilder/security/decorators.py", line 175, in wraps
       return f(self, *args, **kwargs)
     File "/home/ubuntu/.local/lib/python3.8/site-packages/superset/utils/log.py", line 245, in wrapper
       value = f(*args, **kwargs)
     File "/home/ubuntu/.local/lib/python3.8/site-packages/superset/views/core.py", line 1122, in tables
       for datasource_name in database.get_all_table_names_in_schema(
     File "/home/ubuntu/.local/lib/python3.8/site-packages/superset/utils/cache.py", line 146, in wrapped_f
       cache.set(cache_key, obj, timeout=kwargs.get("cache_timeout"))
     File "/home/ubuntu/.local/lib/python3.8/site-packages/flask_caching/__init__.py", line 194, in set
       return self.cache.set(*args, **kwargs)
     File "/home/ubuntu/.local/lib/python3.8/site-packages/cachelib/redis.py", line 105, in set
       result = self._client.setex(
     File "/home/ubuntu/.local/lib/python3.8/site-packages/redis/commands/core.py", line 2245, in setex
       return self.execute_command("SETEX", name, time, value)
     File "/home/ubuntu/.local/lib/python3.8/site-packages/redis/client.py", line 1238, in execute_command
       return conn.retry.call_with_retry(
     File "/home/ubuntu/.local/lib/python3.8/site-packages/redis/retry.py", line 46, in call_with_retry
       return do()
     File "/home/ubuntu/.local/lib/python3.8/site-packages/redis/client.py", line 1239, in <lambda>
       lambda: self._send_command_parse_response(
     File "/home/ubuntu/.local/lib/python3.8/site-packages/redis/client.py", line 1215, in _send_command_parse_response
       return self.parse_response(conn, command_name, **options)
     File "/home/ubuntu/.local/lib/python3.8/site-packages/redis/client.py", line 1254, in parse_response
       response = connection.read_response()
     File "/home/ubuntu/.local/lib/python3.8/site-packages/redis/connection.py", line 839, in read_response
       raise response
   redis.exceptions.ResponseError: value is not an integer or out of range
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas closed issue #21827: Unable to load Tables in SQL Editor

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #21827: Unable to load Tables in SQL Editor
URL: https://github.com/apache/superset/issues/21827


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org