Coder Social home page Coder Social logo

Hides code permanently about hide_code HOT 9 CLOSED

kirbs- avatar kirbs- commented on July 29, 2024
Hides code permanently

from hide_code.

Comments (9)

kirbs- avatar kirbs- commented on July 29, 2024

What version of hide_code are you on? Also, if you open up your browser's console, do you see any error messages when clicking to show the code?

from hide_code.

SkyeHarris avatar SkyeHarris commented on July 29, 2024

Note: The notebook has two output cells. The top cell toggles, but the bottom output cell does not toggle. So I tried deleting the top output cell, no effect though.

hide_code version = 0.3.1

Don't see errors in console:

loaded custom.jsWatch%20List%20v7.ipynb:121:15
Default extension for cell metadata editing loaded.main.min.js:24136:9
Raw Cell Format toolbar preset loaded.main.min.js:24222:5
Slideshow extension for metadata editing loaded.main.min.js:24270:9
actions jupyter-notebook:find-and-replace does not exist, still binding it in case it will be defined later...main.min.js:29058:17
load_extensions Arguments { , 4 more… }main.min.js:12154:9
Session: kernel_created (beaeae23-27a6-4f59-be74-56766fac9c0b)main.min.js:23424:13
Starting WebSockets: "ws://localhost:8888/api/kernels/23d30314-1fc3-4d02-b5e3-2020102a88a9"main.min.js:22710:9
hide_code setup completehide_code.js:160:2
Loading extension: jupyter-js-widgets/extensionmain.min.js:12131:21
loaded widgetsextension.js:134:14
Kernel: kernel_connected (23d30314-1fc3-4d02-b5e3-2020102a88a9)main.min.js:22357:13
Kernel: kernel_ready (23d30314-1fc3-4d02-b5e3-2020102a88a9)main.min.js:22357:13
Widget backend and frontend versions are compatibleextension.js:32280:22
invisiblehide_code.js:106:12
visiblehide_code.js:103:12
invisiblehide_code.js:106:12
visiblehide_code.js:103:12
invisiblehide_code.js:106:12
visiblehide_code.js:103:12
invisiblehide_code.js:106:12
visiblehide_code.js:103:12
invisible

from hide_code.

SkyeHarris avatar SkyeHarris commented on July 29, 2024

fyi: I opened the notebook using ( double clicked)...
https://github.com/takluyver/nbopen

from hide_code.

kirbs- avatar kirbs- commented on July 29, 2024

Try deleting the metadata for the cell. Select the metadata cell toolbar, then remove any reference to hideXXX, and save the metadata. You may need to halt and restart the notebook to see any effect. This is a long shot though. I haven't come across the behavior you're seeing before.

from hide_code.

SkyeHarris avatar SkyeHarris commented on July 29, 2024

Did as directed. No 'hideXXX' found.

As a work around, I downloaded the notebook as dot py file.
Then copy and pasted the py file code into a new notebook.
The problem has not reoccured.

Will notify, if reoccurs. Appreciate your help!

On Sat, Sep 24, 2016 at 6:06 PM, kirbs- [email protected] wrote:

Try deleting the metadata for the cell. Select the metadata cell toolbar,
then remove any reference to hideXXX, and save the metadata. You may need
to halt and restart the notebook to see any effect. This is a long shot
though. I haven't come across the behavior you're seeing before.

β€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kirbs-/hide_code/issues/24#issuecomment-249396423,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVTXFB3e-fcAVaJ9Ht19a6YztpFEKcN6ks5qtcj5gaJpZM4KFvkO
.

from hide_code.

SkyeHarris avatar SkyeHarris commented on July 29, 2024

My mistake. I found 'hideXXX'. Restarted computer. No effect.

On Sat, Sep 24, 2016 at 7:08 PM, Skye - [email protected] wrote:

Did as directed. No 'hideXXX' found.

As a work around, I downloaded the notebook as dot py file.
Then copy and pasted the py file code into a new notebook.
The problem has not reoccured.

Will notify, if reoccurs. Appreciate your help!

On Sat, Sep 24, 2016 at 6:06 PM, kirbs- [email protected] wrote:

Try deleting the metadata for the cell. Select the metadata cell toolbar,
then remove any reference to hideXXX, and save the metadata. You may need
to halt and restart the notebook to see any effect. This is a long shot
though. I haven't come across the behavior you're seeing before.

β€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kirbs-/hide_code/issues/24#issuecomment-249396423,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVTXFB3e-fcAVaJ9Ht19a6YztpFEKcN6ks5qtcj5gaJpZM4KFvkO
.

from hide_code.

kirbs- avatar kirbs- commented on July 29, 2024

Would you post the metadata from the cell you're having problems with? It sounds like the metadata was corrupted in some way and is causing hide_code to misbehave.

from hide_code.

SkyeHarris avatar SkyeHarris commented on July 29, 2024

Kirbs,

Since we have communicated, I have created many iterations of the file.
Went thru past files. All are working. So don't know which to provide
metadata for.

On Sun, Sep 25, 2016 at 5:22 AM, kirbs- [email protected] wrote:

Would you post the metadata from the cell you're having problems with? It
sounds like the metadata was corrupted in some way and is causing hide_code
to misbehave.

β€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kirbs-/hide_code/issues/24#issuecomment-249418892,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVTXFCCkqhR7jzPyGxzbLTh4uoRL6XjLks5qtmdtgaJpZM4KFvkO
.

from hide_code.

kirbs- avatar kirbs- commented on July 29, 2024

No problem. Reopen this if you experience the problem again.

from hide_code.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.