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.

Random files appearing in my trash bin everytime I open a Jupyter notebook

See original GitHub issue

Environment data

  • VS Code version: 1.68.0
  • Jupyter Extension version (available under the Extensions sidebar): v2022.5.1001601848
  • Python Extension version (available under the Extensions sidebar): v2022.8.0
  • OS (Windows | Mac | Linux distro) and version: MAC OS MONTEREY 12.4
  • Python and/or Anaconda version: mamba 0.22.1 py39hde45b87_0 conda-forge, conda 4.12.0 py39h2804cbe_0 conda-forge
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): conda
  • Jupyter server running: Local | Remote | N/A : Local and Remote

Expected behaviour

Previously when I was running Jupiter notebooks, they were working fine.

Actual behaviour

When I open Jupyter notebooks in vscode now, these files appear in my trash bin automatically. Each one is 72 bytes, the file names are in the following format, "name of file"-jvsc-1ddefa11-e9b6-4e53-af4e-c472c2608261e3c71dba-91c1-44d1-af5e-b96ffff8817d.ipynb and contain the following code { "cells": [], "metadata": {}, "nbformat": 4, "nbformat_minor": 5 }

They always produce the same file just with a different name. I am worried that this is going to destroy my hard from the constant read and writes. I am running the files from an external APFS SSD drive if that makes a difference.

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. Open a jupyter notebook in vscode using mambaforge

  2. Save the file and reopen it.

  3. Open the trash bin and you will see the file I am talking about.

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
anarchy89commented, Oct 31, 2022

Zeromq is native to Mac arm according to this https://formulae.brew.sh/formula/zeromq#default Is there anyway to enable it? @DonJayamanne @amunger

0reactions
DonJayamannecommented, Dec 6, 2022

This will get fixed when #5206 is resolved. Hence closing this as a duplicate of #5206

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to free up disk space, when deleting files from Jupyter ...
To restore those files, try to access them in your Trash folder, which is located in the .local folder in your home directory...
Read more >
random files have been put in my trash, please help
this is scary. stuff has exploded out of folders and been put in trash. there are no folders in trash, just the files...
Read more >
Config file and command line options - The Jupyter Notebook
The random bytes used to secure cookies. By default this is a new random number every time you start the Notebook. Set it...
Read more >
My recycle bin is suddenly full of thousands of random files
The files which are displayed in recycle bin may be temp files, I suggest you to run Disk cleanup and check if it...
Read more >
Jupyter Notebook Documentation - Read the Docs
py Python source code files into the notebook list area. When starting a notebook server from the command line, you can also open...
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