Comments (10)
@mbektas any local workaround you could suggest? Or could we help in pushing a patch upstream to address?
from galata.
Hi @dharmaquark and @bsyouness! I have been looking into this issue. I have a solution that seems to work for remote connected and new browser instances for chromium
. Created this PR (#66) with my changes, please test it well and push your additional changes to that branch. I didn't get chance to test thoroughly and with other browser types.
from galata.
Awesome! I will test soon and keep you posted. Thank you so much @mbektas !!
from galata.
Hi! @mbektas. Yeah I will do some testing and get back to you. Thank you!
from galata.
Hi @mbektas. I have tested with chrome
and edge
and everything works as expected. However, I was not able to successfully test firefox
. The process hangs here:
galata/packages/galata/jest-setup.js
Line 76 in 610f1ba
firefox
has an issue with setting up a remote debugging port. To reproduce the issue, I set up an alias for firefox
using alias firefox=/Applications/Firefox.app/Contents/MacOS/firefox
. Next, I enabled add-on debugging toolboxes and remote debugging in the browser. Finally, I ran firefox --remote-debugging-port
which outputs a ws
link that DevTools is listening on. When placing this link into a browser, it does not load. I suspect this to be the reason why the pwBrowser.connectOverCDP
never resolves.
There seems to be an issue with firefox
rather than Galata. Does it make sense to open a separate issue to investigate this further so that we do not hold up the fix with chromium
browsers?
from galata.
+1
I also tried to run firefox --remote-debugging-port
and saw the same symptoms as Legend. I think it makes sense to patch this in to get something working and tackle the Firefox issue separately. I would also report the issue to Mozilla so they can assist.
from galata.
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects!
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi!
Welcome to the Jupyter community!
from galata.
@bsyouness I am able to reproduce the issue. Looks like we need to handle remote connection to chromium browser specially.
from galata.
Hi @mbektas. We have tested the PR with chromium
and the process no longer hangs. Thank you for fixing this issue.
from galata.
hi @legendb317 thanks! We also need to test with Firefox (--browser-type firefox
) and Microsoft Edge (--browser-type chromium --browser-path /path/to/edge"
) before merging. Would you have some time to do that testing?
from galata.
Related Issues (20)
- Rename the default branch to main HOT 1
- Galata appears to not work with JupyterLab 3.0.9 HOT 1
- --update-references could maybe create the reference directory HOT 2
- Add theme option HOT 1
- Rendering artifacts lead to false positive HOT 3
- Create RELEASE.md
- Allow for custom tab bar ids HOT 1
- More robust way to move items to the left area HOT 2
- Switch from npm to yarn (or jlpm) for development
- Update the JupyterLab version
- Automate releases HOT 3
- Format with ESLint and Prettier HOT 1
- Toggling simple mode should wait for switch animation to end HOT 1
- notebook.createNew should wait for rename properly HOT 1
- Improve Image Diff viewer in result report HOT 4
- From galata using playwright to playwright with galata HOT 5
- Support for alternate JupyterLab distributions
- Fix top-level version in `package.json` for the releaser HOT 1
- Archive the repository HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from galata.