ratt-ru / radiopadre

(Radio) Python Astronomy Data Reductions Examiner
MIT License
10 stars 0 forks source link

404 on /static/js9colormaps.js (rc6) #69

Closed o-smirnov closed 4 years ago

o-smirnov commented 4 years ago
radiopadre.client [7.60s]: young stderr: [I 14:12:09.984 NotebookApp] The Jupyter Notebook is running at:
radiopadre.client [7.60s]: young stderr: [I 14:12:09.984 NotebookApp] http://localhost:13021/?token=...
radiopadre.client [7.60s]: young stderr: [I 14:12:09.984 NotebookApp]  or http://127.0.0.1:1024/?token=...
radiopadre.client [7.60s]: young stderr: [I 14:12:09.984 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
radiopadre.client [7.60s]: young stderr: [I 14:12:14.477 NotebookApp] 302 GET /?token=0bc8008bd9244121b7ec34c3e8c380bd (::1) 1.26ms
radiopadre.client [12.73s]: young stderr: [I 14:12:19.610 NotebookApp] Kernel started: ba3150c2-a346-43ab-bf23-de9a30b8e4ad
radiopadre.client [19.16s]: young stderr: [W 14:12:26.041 NotebookApp] 404 GET /static/js9colormaps.js (::1) 13.01ms referer=http://localhost:13021/notebooks/radiopadre-auto.ipynb

The path is meant to be /static/js9-www/js9colormaps.js, but there's a dangling old reference somewhere.

ericmandel commented 4 years ago

btw, that’s not one of my files … is it a file containing colormaps that you are adding?

On Mar 4, 2020, at 7:42 AM, Oleg Smirnov notifications@github.com wrote:

radiopadre.client [7.60s]: young stderr: [I 14:12:09.984 NotebookApp] The Jupyter Notebook is running at: radiopadre.client [7.60s]: young stderr: [I 14:12:09.984 NotebookApp] http://localhost:13021/?token=... radiopadre.client [7.60s]: young stderr: [I 14:12:09.984 NotebookApp] or http://127.0.0.1:1024/?token=... radiopadre.client [7.60s]: young stderr: [I 14:12:09.984 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). radiopadre.client [7.60s]: young stderr: [I 14:12:14.477 NotebookApp] 302 GET /?token=0bc8008bd9244121b7ec34c3e8c380bd (::1) 1.26ms radiopadre.client [12.73s]: young stderr: [I 14:12:19.610 NotebookApp] Kernel started: ba3150c2-a346-43ab-bf23-de9a30b8e4ad radiopadre.client [19.16s]: young stderr: [W 14:12:26.041 NotebookApp] 404 GET /static/js9colormaps.js (::1) 13.01ms referer=http://localhost:13021/notebooks/radiopadre-auto.ipynb The path is meant to be /static/js9-www/js9colormaps.js, but there's a dangling old reference somewhere.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ratt-ru/radiopadre/issues/69?email_source=notifications&email_token=AAXDPC2WYGBIQI4MTB522UDRFZEETA5CNFSM4LBFXCA2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ISLOY3A, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXDPC7ZZANYPUPXVR66UELRFZEETANCNFSM4LBFXCAQ.

o-smirnov commented 4 years ago

Yep, I generate it from the matplotlib colormap definitions: https://github.com/ratt-ru/radiopadre/blob/master/html/js9colormaps.js

Haven't got it installing in quite the right place at the moment.

o-smirnov commented 4 years ago

Yeah actually that's just an out-of-date kernelspec (in ~/.local) being picked up. Purging the old kernel makes it work.