This sketch is no longer here

Hi

I'm using the web editor in chrome Version 81.0.4044.129 (Official Build) (64-bit),
It was the first time i'd looked at my computer today, and forgot to refresh the browser,

I clicked the duplicate sketch button, in an attempt to work on some new tweaks without breaking a sketch that works,
The duplicate seemed to happen but now all the skteches in that folder are 'lost',

I just get the below message in a pop up window

"This sketch is no longer here, it looks like this sketch is not available anymore, it was probably moved/removed in another sesion"

Any help would be greatly appreciated

Thanks

(mod edit)

This Sketch is no longer here.JPG

This Sketch is no longer here.JPG

I am having the same problem. The source .ino file is still displayed, but when I click on it to open it gives me the same error and won't open.

Further insight on what I was doing previously is that I was doing cleanup by removing older copies of my code and renaming the latest file. That session ended fine, but when I came back later, I could not open the file.

Create also has a "debug" option.

To use it select the "open debug console" from the taskbar icon.
That will pope open a web page that you should leave alone for the moment (dont close it)

Now start CREATE as you would normally and use until you see an error.
Now copy and paste the information from the debug console and paste back here as code using the code tags ( </> )

There is also the lower console in CREATE that may also provide additional information.

Sticky posts at the top of the editor section may also have some extra help.

Bob.

Hi
below is whats showing in the debug window, the {"ports":[],"Network": false/true} bit is just reapeating every second or so.

{"Version" : "1.1.101"}
{"Commands" : ["list", "open [portName] [baud] [bufferAlgorithm (optional)]", "send [portName] [cmd]", "sendnobuf [portName] [cmd]", "close [portName]", "bufferalgorithms", "baudrates", "restart", "exit", "program [portName] [board:name] [$path/to/filename/without/extension]", "programfromurl [portName] [board:name] [urlToHexFile]"]}
{"Hostname" : "MSIPC"}
{"OS" : "windows"}
list
{ "Ports": [], "Network": false }
{ "Ports": [], "Network": true }
list
{ "Ports": [], "Network": false }
{ "Ports": [], "Network": true }
list
{ "Ports": [], "Network": false }
{ "Ports": [], "Network": true }
list
{ "Ports": [], "Network": false }
{ "Ports": [], "Network": true }
list
{ "Ports": [], "Network": false }
{ "Ports": [], "Network": true }
list
{ "Ports": [], "Network": false }
{ "Ports": [], "Network": true }
list
{ "Ports": [], "Network": false }
{ "Ports": [], "Network": true }
list
{ "Ports": [], "Network": false }
{ "Ports": [], "Network": true }
list

@emacjake

Here is "similar to what you should be seeing

{"Version" : "1.1.251"}
{"Commands" : ["list", "open [portName] [baud] [bufferAlgorithm (optional)]", "send [portName] [cmd]", "sendnobuf [portName] [cmd]", "close [portName]", "bufferalgorithms", "baudrates", "restart", "exit", "program [portName] [board:name] [$path/to/filename/without/extension]", "programfromurl [portName] [board:name] [urlToHexFile]"]}
{"Hostname" : "Bob-PC"}
{"OS" : "windows"}
list
{ "Ports": [], "Network": true }
{ "Ports": [ { "Name": "COM9", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "Baud": 0, "BufferAlgorithm": "", "Ver": "1.1.251", "NetworkPort": false, "VendorID": "0x2341", "ProductID": "0x804E" }, { "Name": "COM3", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "Baud": 0, "BufferAlgorithm": "", "Ver": "1.1.251", "NetworkPort": false, "VendorID": "0x1A86", "ProductID": "0x7523" }, { "Name": "COM8", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "Baud": 0, "BufferAlgorithm": "", "Ver": "1.1.251", "NetworkPort": false, "VendorID": "0x1A86", "ProductID": "0x7523" } ], "Network": false }

Make sure that you are not blocking the plugin either in the firewall or via any additional security such as antivirus.

I presume you said YES to any pop ups during the install ?

You may also need to update your plugin too looking at the version numbers.

Plugin updated, restarted everything, I can't recall original install it was about 2 years ago.
debug, now looks like the below,

The sketches mentioned in the original post are still visible in the sketchbook, but when clicked on i still get the same 'no longer here' message.
All other sketches are still working and editable.

{"Version" : "1.1.251"}
{"Commands" : ["list", "open [portName] [baud] [bufferAlgorithm (optional)]", "send [portName] [cmd]", "sendnobuf [portName] [cmd]", "close [portName]", "bufferalgorithms", "baudrates", "restart", "exit", "program [portName] [board:name] [$path/to/filename/without/extension]", "programfromurl [portName] [board:name] [urlToHexFile]"]}
{"Hostname" : "MSIPC"}
{"OS" : "windows"}
downloadtool windows-drivers latest arduino keep
downloadtool bossac 1.7.0 arduino keep
downloadtool fwupdater latest arduino keep
list
{ "Ports": [], "Network": true }
{ "Ports": [ { "Name": "COM1", "SerialNumber": "85730313736351808162", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "Baud": 0, "BufferAlgorithm": "", "Ver": "1.1.251", "NetworkPort": false, "VendorID": "0x2341", "ProductID": "0x0043" } ], "Network": false }
close COM1
{"Error" : "We could not find the serial port COM1 that you were trying to close."}
{"DownloadStatus":"Pending","Msg":"The tool is already present on the system"}
{"DownloadStatus":"Pending","Msg":"The tool is already present on the system"}
{"DownloadStatus":"Success","Msg":"Map Updated"}
{"DownloadStatus":"Pending","Msg":"The tool is already present on the system"}
{"DownloadStatus":"Success","Msg":"Map Updated"}
{"DownloadStatus":"Success","Msg":"Map Updated"}
list
{ "Ports": [], "Network": true }
{ "Ports": [ { "Name": "COM1", "SerialNumber": "85730313736351808162", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "Baud": 0, "BufferAlgorithm": "", "Ver": "1.1.251", "NetworkPort": false, "VendorID": "0x2341", "ProductID": "0x0043" } ], "Network": false }

From what I can see there you may not have the correct COM port selected for your board.
COM 1 is the default port windows assigned to an onboard port and is not usually used by Arduino.

The open debug console didn't show anything unusual and my issue was that I could no longer see my source code.

But, I found a workaround:
I could see the name of the file only, but it wouldn't open and gave the sketch is no longer here error. If you click on the down arrow just to the right of the sketch name, it gives an option to "Download file" and save it to your computer. Once it was copied to my desktop and I could see my source code again (sigh of relief)! I opened a new sketch and pasted (Ctrl-V) the code from my desktop back into a new sketch and all is well again.

Thats is really odd ?!
But at least you are up and running again.
Thanks for posting your solution.

From what I can see there you may not have the correct COM port selected for your board.
COM 1 is the default port windows assigned to an onboard port and is not usually used by Arduino.

I've had no troubles connecting to the arduino, and uploading other sketches, so i'd assume the port is functioning correctly.
just the few missing sketches

But, I found a workaround:
I could see the name of the file only, but it wouldn't open and gave the sketch is no longer here error. If you click on the down arrow just to the right of the sketch name, it gives an option to "Download file" and save it to your computer. Once it was copied to my desktop and I could see my source code again (sigh of relief)! I opened a new sketch and pasted (Ctrl-V) the code from my desktop back into a new sketch and all is well again.

I tried this a few times but when clicking dowload nothing happens.

I think they may be gone for good.

@emacjake

I am going to pass this post to somebody who may be able to recover the sketches
NO guarantees !