Message Boards Message Boards

Recover .nb file

Posted 3 years ago

Is there any way recover an .nb file? I tried to export to .pdf and all the content was lost.

Here's the error: $ Failed. 6 line of corrupt data deleted.

I executed these two instructions in a new notebook:

Needs["AuthorTools`"] NotebookRestore[]

but I got the error above.

POSTED BY: Ion Ganea
3 Replies

Ion,

If you post the file, maybe we can determine the problem.

Regards,

Neil

POSTED BY: Neil Singer
Posted 3 years ago

Result is the same: $Failed

POSTED BY: Ion Ganea
Posted 3 years ago
CellPrint @ Cell[
  BoxData[
    StringReplace["$CellContext`" -> ""] @ ToString[ 
      ToExpression @ Get[pathToYourCDF][[1, 1, 1, 1]]
    , InputForm
    ] 
  ]
, "Input"
]
POSTED BY: Yasmin Hussain
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract