langflow-ai / langflow

⛓️ Langflow is a visual framework for building multi-agent and RAG applications. It's open-source, Python-powered, fully customizable, model and vector store agnostic.
http://www.langflow.org
MIT License
19k stars 2.87k forks source link

Cannot drag both on langflow and flowise at all. #1762

Closed LeoYelton closed 1 month ago

LeoYelton commented 1 month ago

Describe the bug Load on https://huggingface.co/spaces/Langflow/Langflow-Preview

cause the following error on console:

145Third-party cookie will be blocked. Learn more in the Issues tab. Dark Reader: unexpected error during message passing. 2translator.js:566 Uncaught TypeError: Cannot read properties of undefined (reading 'lastError') at HTMLDocument.mouseup (translator.js:566:32)

    [NEW] Explain Console errors by using Copilot in Edge: click 
     to explain an error. 
    Learn more
    Don't show again

Langflow-Preview:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received 11translator.js:566 Uncaught TypeError: Cannot read properties of undefined (reading 'lastError') at HTMLDocument.mouseup (translator.js:566:32)

and i cannot drag to add more not on paint board.

Browser and Version

To Reproduce 1.go to this web , ceate a flow , try to drag node.

Screenshots image

LeoYelton commented 1 month ago

Really strange question.

ogabrielluiz commented 1 month ago

Hey @LeoYelton

Could you try it on a different browser?

LeoYelton commented 1 month ago

Almost try on all available browsers,wondering for it,I'm not sure Is that any relation between I just try to use symbol link to make my cdriver bigger and i move Most of file user local to driver d,And make link to them,I find some of application could not run so i moved them back to c driver again. And I'm not sure how the browser calls And interact to to user local file,I just cannot Drag any of the node,In ie chrome and Firefox.

---- Replied Message ---- | From | Gabriel Luiz Freitas @.> | | Date | 04/27/2024 01:02 | | To | @.> | | Cc | @.>@.> | | Subject | Re: [langflow-ai/langflow] Cannot drag both on langflow and flowise at all. (Issue #1762) |

Hey @LeoYelton

Could you try it on a different browser?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

vinosamari commented 1 month ago

Try using it in Huggingface Spaces

LeoYelton commented 1 month ago

Try using it in Huggingface Spaces

Really strange. I did not have access to the website 4days then i can drag now. Is it some js compiler bug caused by chromium?

dosubot[bot] commented 1 month ago

The issues you encountered with Langflow could stem from a few specific areas:

  1. Third-party cookies being blocked: Langflow relies on third-party cookies for authentication processes. If your browser blocks these, it could disrupt the application's functionality. Adjusting your browser's privacy settings to allow third-party cookies for Langflow might resolve this issue.

  2. Dark Reader Extension: If you're using the Dark Reader browser extension, it might interfere with Langflow's UI, leading to display or functionality issues. Try disabling Dark Reader for Langflow to see if that resolves the problem.

  3. JavaScript Errors: The Uncaught TypeError in translator.js suggests a problem accessing a property or method of an undefined variable, possibly related to the drag functionality. This could be a bug within Langflow itself.

  4. Asynchronous Response Errors: The error about a message channel closing before a response was received could indicate issues with unauthorized access, WebSocket exceptions, or other exceptions within Langflow's backend.

The problem resolving itself after a few days might indicate that the Langflow team deployed updates that fixed the issues you were experiencing. Browser updates or changes to JavaScript compilers can sometimes introduce or fix such issues, though without more specific details, it's hard to pinpoint a JavaScript compiler bug as the cause.

If you continue to experience issues, checking for any updates from Langflow or reaching out to their support with these specific error messages could provide more direct assistance.

#### Details **Sources** - [src/frontend/harFiles/langflow.har](https://github.com/logspace-ai/langflow/blob/dev/src/frontend/harFiles/langflow.har) - [src/backend/base/langflow/api/v1/login.py](https://github.com/logspace-ai/langflow/blob/dev/src/backend/base/langflow/api/v1/login.py) - [src/frontend/src/stores/darkStore.tsx](https://github.com/logspace-ai/langflow/blob/dev/src/frontend/src/stores/darkStore.tsx) - [src/backend/langflow/api/v1/chat.py](https://github.com/logspace-ai/langflow/blob/dev/src/backend/langflow/api/v1/chat.py) - [src/frontend/index.html](https://github.com/logspace-ai/langflow/blob/dev/src/frontend/index.html) - [docs/docs/whats-new/a-new-chapter-langflow.mdx](https://github.com/logspace-ai/langflow/blob/dev/docs/docs/whats-new/a-new-chapter-langflow.mdx) - [src/frontend/src/alerts/hooks/useOnClickOutside/index.ts](https://github.com/logspace-ai/langflow/blob/dev/src/frontend/src/alerts/hooks/useOnClickOutside/index.ts)
**About Dosu** This response is meant to be useful and save you time. It is **not meant to be a precise solution**, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.