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

Remote browser: Assert after adding a new remote #234

Open
foundry-markf opened this issue Jan 17, 2025 · 0 comments
Open

Remote browser: Assert after adding a new remote #234

foundry-markf opened this issue Jan 17, 2025 · 0 comments

Comments

@foundry-markf
Copy link
Contributor

I was browsing a package, and while the browser was open, I added a new remote to the local cache.
In the browser, I then went to choose a new recipe revision, but it always showed the same one regardless of what I chose.
I saw this in the console

Traceback (most recent call last):
  File "C:\dev\cruiz\src\cruiz\remote_browser\pages\packageidpage.py", line 338, in _on_back
    self._ui.stackedWidget.setCurrentWidget(self._ui.rrev)
  File "C:\dev\cruiz\src\cruiz\remote_browser\pages\reciperevisionpage.py", line 109, in showEvent
    self._ui.rrev_pkgref.setText(self._previous_pkgref)
  File "C:\dev\cruiz\src\cruiz\remote_browser\pages\page.py", line 93, in _previous_pkgref
    return self._previous_page.package_reference
  File "C:\dev\cruiz\src\cruiz\remote_browser\pages\packagereferencepage.py", line 119, in package_reference
    assert len(selection) == 1
AssertionError

Unsure if it's completely related to adding the new remote, but it was suspicious.

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

No branches or pull requests

1 participant