jupyter / notebook

Jupyter Interactive Notebook
https://jupyter-notebook.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
11.58k stars 4.85k forks source link

no such file or directory: bin/ls #7436

Open thisisrahulg opened 1 month ago

thisisrahulg commented 1 month ago

Description

Notebook becoming idle when running the AllModels.initpackage command for XSPEC of heasoft.

Reproduce

The kernel is stuck

  1. Install heasoft - binary is available in archlinux
  2. install relxill
  3. from xspec import *
  4. AllModels.initpackage('test','modelname',dirpath='path') This will be stuck.

Expected behavior

Context

Troubleshoot Output

Command Line Output

Browser Output dfsdfs
[w 2024-08-05 01:11:36.591 serverapp] 404 get /api/contents/bin/ls?content=0&hash=0&1722800496590 (::1): no such file or directory: bin/ls
RRosio commented 1 month ago

Thank you for your contribution @thisisrahulg! If you try to run this AllModels package in a separate Python script, do you see the same or similar error?

thisisrahulg commented 1 month ago

When I run as python script, there is no issue.

On Tue, Aug 6, 2024, 22:20 Rosio @.***> wrote:

Thank you for your contribution @thisisrahulg https://github.com/thisisrahulg! If you try to run this AllModels package in a separate Python script, do you see the same or similar error?

— Reply to this email directly, view it on GitHub https://github.com/jupyter/notebook/issues/7436#issuecomment-2271725016, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANRLSL42XLHOT77RDA7HXT3ZQD5GZAVCNFSM6AAAAABMAX3ZLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZRG4ZDKMBRGY . You are receiving this because you were mentioned.Message ID: @.***>