Skip to content

Conversation

Shridhar7-8
Copy link

  • Replace pywebview with system browser fallback to avoid GTK/Qt dependency issues
  • Add browser_simple.py with webbrowser module as primary solution
  • Update main.py to use simplified browser implementation
  • Configure OpenAI providers in config.py for better compatibility

Resolves issues with:

  • ModuleNotFoundError: No module named 'gi' (GTK backend)
  • QApplication import errors (Qt backend)
  • QtWebKitWidgets missing module errors
  • WebViewException: You must have either QT or GTK with Python extensions

The application now opens VNC URLs in the system's default browser instead of requiring complex GUI library dependencies in the virtual environment.

- Replace pywebview with system browser fallback to avoid GTK/Qt dependency issues - Add browser_simple.py with webbrowser module as primary solution - Update main.py to use simplified browser implementation - Configure OpenAI providers in config.py for better compatibility Resolves issues with: - ModuleNotFoundError: No module named 'gi' (GTK backend) - QApplication import errors (Qt backend) - QtWebKitWidgets missing module errors - WebViewException: You must have either QT or GTK with Python extensions The application now opens VNC URLs in the system's default browser instead of requiring complex GUI library dependencies in the virtual environment.
cursor[bot]

This comment was marked as outdated.

- Check return value of webbrowser.open() for success/failure - Properly trigger fallback browser logic when system browser fails - Raise exception when webbrowser.open() returns False to ensure fallback execution - Improve error handling and user feedback Fixes issue where webbrowser.open() would return False (failure) but not raise an exception, causing the fallback browser logic to be skipped and leaving users without a working browser connection.
@Shridhar7-8
Copy link
Author

@cursor review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no bugs!

Comment @cursor review or bugbot run to trigger another review on this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant