scadnano icon indicating copy to clipboard operation
scadnano copied to clipboard

Error when exporting to cadnanov2

Open cmoore94 opened this issue 4 years ago • 4 comments

Screenshot from 2021-09-12 17-11-29

cmoore94 avatar Sep 12 '21 16:09 cmoore94

Sorry about this. In the meantime, if you need to export, the scripting library is the simplest workaround. Download your design (say, as "design.sc"), install the scadnano scripting library, and execute this Python script:

import scadnano as sc

design = sc.Design.from_scadnano_file('design.sc')
design.export_cadnano_v2(filename='design.json')

dave-doty avatar Sep 12 '21 17:09 dave-doty

Service is back up. This was not a CORS error, something much more drastic: the service was down. My server was rebooted 17 days ago and I was not aware. It would mean that the service was down that entire time. I have enabled the service at boot time to avoid this problem happening in the future.

tcosmo avatar Sep 12 '21 21:09 tcosmo

I have found a similar issue with the Import scadnano v2 functionality.

image

cmoore94 avatar Sep 16 '21 20:09 cmoore94

The service is functional and running. I believe this is an issue with your network cache. Please change browser or deactivate the network cache as per screenshot attached Screenshot from 2021-09-16 22-14-32

tcosmo avatar Sep 17 '21 08:09 tcosmo