Sinaptik-AI / pandas-ai

Chat with your database (SQL, CSV, pandas, polars, mongodb, noSQL, etc). PandasAI makes data analysis conversational using LLMs (GPT 3.5 / 4, Anthropic, VertexAI) and RAG.
https://pandas-ai.com
Other
13.21k stars 1.28k forks source link

workspaces issue latest version of pandas #1396

Open johnfelipe opened 3 weeks ago

johnfelipe commented 3 weeks ago

System Info

latest ubuntu 22 3.11

🐛 Describe the bug

http://192.168.20.25:3000/settings/workspaces

SNAG-0039

pandabi-frontend  | TypeError: e?.map is not a function
pandabi-frontend  |     at u (/app/build/server/app/settings/workspaces/page.js:1:10593)
pandabi-frontend  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
pandabi-frontend  |   digest: '4259529318'
pandabi-frontend  | }
pandabi-backend   | INFO:     172.18.0.1:36920 - "GET //v1/workspace/list HTTP/1.1" 404 Not Found
pandabi-frontend  | TypeError: e?.map is not a function
pandabi-frontend  |     at u (/app/build/server/app/settings/workspaces/page.js:1:10593)
pandabi-frontend  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
pandabi-frontend  |   digest: '4259529318'
pandabi-frontend  | }
pandabi-backend   | INFO:     172.18.0.1:57518 - "GET //v1/workspace/list HTTP/1.1" 404 Not Found
pandabi-frontend  | TypeError: e?.map is not a function
pandabi-frontend  |     at u (/app/build/server/app/settings/workspaces/page.js:1:10593)
pandabi-frontend  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
pandabi-frontend  |   digest: '4259529318'
pandabi-frontend  | }
dosubot[bot] commented 3 weeks ago
  1. Syntax Errors in draggable.js and recorder.js: These errors might be due to the use of ES6 module syntax (e.g., export) in environments that do not support it. Ensure that your build process (e.g., Babel) is correctly transpiling these files to a compatible JavaScript version.

  2. Server Error with Omitted Details: In production, error messages often omit detailed information to avoid exposing sensitive data. The server components involved include FastAPI, middleware for CORS and authentication, routers, controllers, and repositories. Ensure that your server configuration and error handling are correctly set up to provide necessary information without exposing sensitive details [1].

  3. 401 Unauthorized Error for Rollbar API: This error indicates an authentication issue. Verify that the correct access token or API key is being used for the Rollbar API requests. Check your environment variables or configuration files for the correct credentials.

  4. TypeError: e?.map is not a function: This error suggests that e is not an array or iterable object. Check the data being passed to this function to ensure it is the expected type and structure.

  5. 404 Not Found for /v1/workspace/list: This endpoint is supposed to retrieve user workspaces. A 404 error could be due to an incorrect URL, the endpoint not being properly registered, or issues with user authentication or data retrieval [2][3].

To continue talking to Dosu, mention @dosu.