Analyses tab: error previewing analysis

Using the new beta Analyses tab, I created an RStudio notebook and ran some code in an RStudio environment. I later returned to the "Analyses" tab and clicked on the notebook name, but I got an "Error previewing analysis" with details "Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."

Comments

7 comments

  • Comment author
    Pamela Bretscher

    Hi Stephanie,

    Thank you for writing in about this issue. Can you share the workspace where you are seeing this issue with Terra Support by clicking the Share button in your workspace? The Share option is in the three-dots menu at the top-right.

    1. Toggle the "Share with support" button to "Yes"
    2. Click Save

    Can you also send a screenshot of the error you're receiving? I'll be happy to take a closer look as soon as I can!

    Kind regards,

    Pamela

    0
  • Comment author
    Stephanie Gogarten

    Hi,

    I shared with support. Here's a screenshot of the error after clicking "details":

    thanks,

    Stephanie

    0
  • Comment author
    Pamela Bretscher

    Hi Stephanie,

    Thank you for this information and the screenshot. I am able to reproduce the error on my end. Are you still able to open and edit the notebook after restarting your RStudio environment?

    Kind regards,

    Pamela

    0
  • Comment author
    Stephanie Gogarten

    Yes, it works fine in RStudio.

    0
  • Comment author
    Pamela Bretscher

    Hi Stephanie,

    Thank you for letting me know. It looks like this is actually a bug with previewing Rmd files that our engineers are working on resolving. I'm glad that for now, you are still able to view and edit your notebook. I can let you know when I have any updates on the fix.

    Kind regards,

    Pamela

    0
  • Comment author
    Stephanie Gogarten

    I'm curious why they don't just use the standard R notebook header and then display the ".nb.html" file automatically generated by RStudio? That would be a lot more intuitive for experienced RStudio users.

    ---
    title: "R Notebook"
    output: html_notebook
    ---
    0
  • Comment author
    Pamela Bretscher

    Hi Stephanie,

    From investigating the .Rmd file of the previous user who is also seeing the preview error, it looks like there was a specific line in the file that was interfering with the preview. We aren't sure why the line is causing the error so our engineers are looking into it to resolve the preview issue. Thank you for your suggestion and I can pass this information along to our engineers. Please let me know if you have any further questions in the meantime.

    Kind regards,

    Pamela

    0

Please sign in to leave a comment.