1
$\begingroup$

I wanted to check if a notebook was open and warn the user before copying the file to a repository. This isn't the exact code, but it demonstrates the issue:

TableForm[(Information[#, "WindowTitle"] &) /@ Notebooks[]]

Most of the notebooks appear correctly. But one notebook is being petulant and doesn't report the file name displayed in the title:

image of oddball notebook

The hash like string appears in place of the filename doesn't match the filename in the Notebook and none of the properties can be accessed using "Information". I suspect it is related to OneDrive, but all the files are stored in folder linked to OneDrive. This is the only Notebook which has a result of this form.

Has anyone seen anything like this?

(Before i submit to the support staff at Wolfram)

"12.3.0 for Microsoft Windows (64-bit) (May 10, 2021)"

$\endgroup$
3
  • $\begingroup$ All of my notebooks are stored in OneDrive. I am using version 12.3, and I get the correct list of notebooks, without any error. $\endgroup$ Jun 28, 2021 at 17:08
  • $\begingroup$ Are there special characters (or some other distinguishing feature) of the notebook that mis-behaves? $\endgroup$
    – bill s
    Jun 28, 2021 at 17:16
  • $\begingroup$ Thanks for the feedback and questions. No special characters: Letters, Numbers, _, -. $\endgroup$
    – xsk8rat
    Jun 28, 2021 at 17:48

1 Answer 1

0
$\begingroup$

This appears to be a possible malformed notebook. I had modified a notebook file by adding a comment at the top of the notebook programmatically. The odd hash like string was the UUID. So it's probably my fault! I will close the question. Thanks for your time folks! Mark

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.