question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Current Spyder demo via MyBinder doesn't have Web browser working in easy to launch way

See original GitHub issue

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

Current Spyder demo via MyBinder doesn’t have qutebrowser working. I see here that qutebrowser was removed and a simple web browser in PyQt was added. Is opening from inside Spyder meant to be the way to trigger opening this simple browser?
This addition to binder/Desktop/Web browser.desktop makes me think it should be registered somehow or a desktop icon added?:

[Desktop Entry]
Version=1.0
Type=Application
Name=Web Browser
Exec=/bin/bash -c "exec ${HOME}/binder/web_browser/start.py"
# FIXME: Don't hardcode Path?
Icon=/home/jovyan/binder/web_browser/browser.png
Path=/home/jovyan/Desktop

By ‘Current Spyder demo via MyBinder’, I mean the one linked to with the launch binder badge on the main Spyder GitHub repo page presently. Here.

Right now the URL there is: https://mybinder.org/v2/gh/spyder-ide/binder-environments/spyder-stable?urlpath=git-pull%3Frepo%3Dhttps%253A%252F%252Fgithub.com%252Fspyder-ide%252FSpyder-Workshop%26urlpath%3Ddesktop%252F%26branch%3Dmaster

What is that addition meant to update?

Trying Web browser under Applications doesn’t open it. (Also right clicking on the desktop and selecting ‘Web Browser’ under ‘Applications’ doesn’t work.

What steps reproduce the problem?

  1. Launch the Binder demo and try to open Web browser under applications
  2. Pointing Spyder at binder/web_browser/start.py and running that triggers the web browser to open. (So the added browser does indeed work.) Is that the only intended route to launch the browser now?
  3. Running exec ~/binder/web_browser/start.py in a terminal also starts the web broswer.

What is the expected output? What do you see instead?

Browser should open from Web browser under Applications but doesn’t.

Versions

Commit 818622ca863bf1618269910eaef47fe061e2c925 of binder-environments

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ccordoba12commented, Nov 6, 2022

I think we can simply add a “Web browser” to spyder-stable image. I’ll take care of that.

I just took care of it.

2reactions
dalthvizcommented, Nov 3, 2022

Hi @fomightez thank you from the feedback! What link are you using to launch the binder instance? I tried the master branch binder-environments link and seems like the image needed an update. After waiting a some time, the launched vm instance has the web browser icon and I’m able to launch a browser clicking on it:

binder

Any other info to check if there are issues still with the binder setups will be greatly appreciated, let us know!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spyder doesn't open on MyBinder · Issue #19832 - GitHub
Problem Description. Spyder never opens in MyBinder sessions launched from this repo presently. When the sessions opens and you double click on the...
Read more >
Get started with Binder — Binder 0.1b documentation
This page will help you get started building your own repositories and sharing them with Binder. For more information about the Binder Project...
Read more >
Questions and notes from workshop day 5 - GitHub Pages
Now I switched I have the Git integration. excellent. I am using triton. Jupyter does not open in browser. Asks for some url....
Read more >
First Steps — Spyder 5 documentation
As a first step to solving your issue, you can try some Basic First Aid. If Spyder won't launch, check the Emergency CPR...
Read more >
Can no Longer open Spyder IDE for Python Programming
My installation is part of Anaconda, on Win7 64-bit OS. I tried all the solutions outlined here and here, but they did not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found