notebook icon indicating copy to clipboard operation
notebook copied to clipboard

Unable to rename file name "README"

Open macanont opened this issue 1 year ago • 2 comments
trafficstars

Description

I can't rename the txt file to "readme.txt" in the "train_dataset" directory, but if I change the directory name to something else, e.g. "TrainDataset", or whatever, the rename succeeds. I installed Anconda under the windows system, trying to reproduce the error just now, but they don't get any prompt, the version of the two notebooks is the same, except for the system (CentOS7.6, windows10).

Modify the log where the error occurred: image image

Version: image

Reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error '...'

Expected behavior

Context

  • Operating System and version:
  • Browser and version:
  • Jupyter Notebook version:
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter notebook` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here, if applicable.

macanont avatar Nov 28 '23 09:11 macanont

I found a similar issue reported in 2019 about file renaming issues when running Notebook/Lab hosted on CentOS, https://github.com/jupyter/notebook/issues/4359/. Unfortunately, there were no responses. This could be entirely coincidental, I am not familiar with CentOS and from a quick search it seems that none of the names should be causing issues. I will mention this in the Notebook Call and update with any feedback I may receive!

RRosio avatar Nov 28 '23 21:11 RRosio

Per the Notebook Call, this is a tricky issue to debug as it could be originating from any number of places. Standard python is used to parse strings so it is one place to look into in case there may be any issues there.

RRosio avatar Nov 29 '23 17:11 RRosio