Skip to content

Conversation

@KachanovYev
Copy link
Contributor

@KachanovYev KachanovYev commented Jul 31, 2025

What type of PR is this? (Check all that apply)

  • πŸ›  Refactor
  • ✨ Feature
  • πŸ› Bug Fix
  • ⚑ Optimization
  • πŸ“ Documentation Update

Description

Resolve freezing when we are using jupyter

Related Tickets & Documents

How to reproduce the issue

Backporting

This change should be backported to:

  • 3.0
  • 3.1
  • 4.0
  • develop

Checklist

We encourage keeping the code coverage percentage at 80% or above.

  • βœ… This solution meets the acceptance criteria of the related issue.
  • πŸ“ The related issue checklist is completed.
  • πŸ§ͺ This PR includes unit tests for the developed code.
    If not, explain why:
  • πŸ”„ End-to-End tests have been added or updated.
    If not, explain why:
  • πŸ“š The documentation has been updated, or a dedicated issue has been created.
    If not, explain why:
  • πŸ“Œ The release notes have been updated.
    If not, explain why:

@KachanovYev KachanovYev changed the title Bug/#2489 running taipy in notebooks is slow Running taipy in notebooks is slow Jul 31, 2025
@KachanovYev
Copy link
Contributor Author

@FabienLelaquais

Hi, PR is ready. 3 jobs are canceled.
Plese check, when you will have a time.

@KachanovYev
Copy link
Contributor Author

@FredLL-Avaiga

Hi
Plese check, when you will have a time.

Copy link
Member

@FredLL-Avaiga FredLL-Avaiga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove non necessary noqa comments

_warn(
f"Invalid keyword arguments value in Gui.run(): {key} - {value}. Unable to parse value to the correct type", # noqa: E501
f"Invalid keyword arguments value in Gui.run(): {key} - {value}. "
f"Unable to parse value to the correct type",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for f string if it is cut ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

f"Invalid keyword arguments value in Gui.run(): {key} - {value}. Unable to parse value to the correct type", # noqa: E501
f"Invalid keyword arguments value in Gui.run(): {key} - {value}. "
f"Unable to parse value to the correct type",
# noqa: E501
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to ignore E501 when the string is cut ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

except Exception as e:
_warn(
f"Invalid env value in Gui.run(): {key} - {value}. Unable to parse value to the correct type", # noqa: E501
f"Invalid env value in Gui.run(): {key} - {value}. "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idem

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idem

"Something is wrong with the taipy-gui front-end installation. Check that the js bundle has been properly built (is Node.js installed?)." # noqa: E501
"Something is wrong with the taipy-gui front-end installation. "
"Check that the js bundle has been properly built (is Node.js installed?)."
# noqa: E501
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is "ignore E501" needed when the string is cut ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

message="You do not have a working installation of the service_identity module: 'No module named 'service_identity''.*", # noqa: E501
message="You don't have a working installation of the service_identity module: "
"'No module named 'service_identity''.*",
# noqa: E501
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idem cut string E501 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

@dinhlongviolin1
Copy link
Contributor

dinhlongviolin1 commented Aug 13, 2025

Can you please provide more details on how running the proxy as a thread will help with performance?

@KachanovYev
Copy link
Contributor Author

Can you please provide more details on how running the proxy as a thread will help with performance?

Hi
I checked it again
and my solution did not resolve it . The slider contiue jumping.

But before i got it.

So, PR in progress

@KachanovYev KachanovYev marked this pull request as draft August 14, 2025 12:38
f"Invalid keyword arguments value in Gui.run(): {key} - {value}. Unable to parse value to the correct type", # noqa: E501
e,
f"Invalid keyword arguments value in Gui.run(): {key} - {value}. "
f"Unable to parse value to the correct type: {e}",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

passing the exception as an argument is preferred

except Exception as e:
_warn(
f"Invalid env value in Gui.run(): {key} - {value}. Unable to parse value to the correct type", # noqa: E501
f"Invalid env value in Gui.run(): {key} - {value}. "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idem

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

Successfully merging this pull request may close these issues.

3 participants