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

Nothing is working in v1.0.3 #2334

Closed
JustTryAI opened this issue Jun 25, 2024 · 1 comment
Closed

Nothing is working in v1.0.3 #2334

JustTryAI opened this issue Jun 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@JustTryAI
Copy link

JustTryAI commented Jun 25, 2024

Describe the bug
I have updated from v1.0.0 and clean installed v1.0.3. When I updated from v1.0.0 clicking on a previous project Basic Prompting would load the components, and I could connect nodes and view the code, I don't think I clicked "Check & Save". But as soon as I clicked the play button to test the flow it just kept building, or if I tried to add a variable, the spinning circle would display and nothing would happen. After the clean install, I can click on Add New Project, but selecting one doesn't do anything, I can click to view settings but adding my "Store API Key" just results in the spinning circle.
Usually the PowerShell window I use to run langflow is being updated when when clicking around, but in this build I get nothing

Browser and Version
Langflow v1.0.3
Python v3.11.9

To Reproduce
Install v1.0.3

@dosubot dosubot bot added the bug Something isn't working label Jun 25, 2024
Copy link

dosubot bot commented Jun 25, 2024

To address the issues you're experiencing with Langflow v1.0.3, follow these steps:

  1. Add New Project Not Working:

    • Ensure the modal for creating a new project is triggered correctly. The modal should appear after clicking "New Project":
      while (modalCount === 0) {
        await page.getByText("New Project", { exact: true }).click();
        await page.waitForTimeout(5000);
        modalCount = await page.getByTestId("modal-title")?.count();
      }
  2. Store API Key Spinning Circle:

    • Verify the API key is being saved correctly. The process includes waiting for a success message:
      await page.getByTestId("api-key-button-store").click();
      await page.getByPlaceholder("Insert your API Key").fill("testtesttesttesttesttest");
      await page.getByTestId("api-key-save-button-store").click();
      await page.waitForTimeout(2000);
      await page.getByText("Success! Your API Key has been saved.").isVisible();
  3. PowerShell Window Not Updating:

    • Ensure the necessary backend actions are performed and check for any logs indicating issues.
  4. Migration Steps:

    • Ensure you have run the necessary migration scripts when upgrading from v1.0.0 to v1.0.3. These scripts add new tables and modify existing ones to ensure compatibility:
      def upgrade() -> None:
          # Migration script content
  5. State Management System:

    • Be aware of the experimental state management system introduced in v1.0.3, which could affect project creation, API key storage, or UI updates. This system allows components to trigger other components and pass messages between them.
  6. Logging and Debugging:

    • Utilize the additional logging tools available in v1.0.3 to diagnose issues. Configure logging settings in the .env file to customize the logging behavior:
      LANGFLOW_LOG_LEVEL=
      LANGFLOW_LOG_FILE=

If these steps do not resolve your issues, you may need to provide additional context or logs to further diagnose the problem [1][2][3][4][5].

To continue talking to Dosu, mention @dosu.

@JustTryAI JustTryAI closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2024
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