SynBioDex / SBOLCanvas

Apache License 2.0
12 stars 6 forks source link

Can't export image #267

Closed mti1313 closed 7 months ago

mti1313 commented 11 months ago

Export image fails with "This Page isn't Working" Error 500.

PhysicsTeacher13 commented 11 months ago

problem still persists

failed_img_3

cjmyers commented 11 months ago

Could you provide a screenshot of SBOLCanvas when you try to do this? It is working for me, so I'm not sure if there is something unique about your circuit design.

mmcdonald1575 commented 11 months ago

I am also having this problem. It is difficult to take a screenshot because the error message opens in a new window and SBOLCanvas returns to the design screen with no other messages or indicators.

mmcdonald1575 commented 11 months ago

I have taken a screen recording of this happening, but the file is too big to attach in GitHub. I would be happy to email it to the MSEE support account if necessary. I have also alerted the TA, Isha about the issue.

cjmyers commented 11 months ago

Sorry for the trouble. Could you perhaps post a link to a Google Drive or similar where we can find the recording.

mmcdonald1575 commented 11 months ago

I can definitely do that. Is a link to google drive preferred over emailing the .mp4?

On Wed, Nov 22, 2023 at 6:25 PM cjmyers @.***> wrote:

Sorry for the trouble. Could you perhaps post a link to a Google Drive or similar where we can find the recording.

— Reply to this email directly, view it on GitHub https://github.com/SynBioDex/SBOLCanvas/issues/267#issuecomment-1823622009, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBCEBEL3SMN7YTKYV2364M3YF2CWDAVCNFSM6AAAAAA7LJCUS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRTGYZDEMBQHE . You are receiving this because you commented.Message ID: @.***>

cjmyers commented 11 months ago

Yes, thanks

mmcdonald1575 commented 11 months ago

Here is the link. The file is held in my UC Boulder Drive (mimc6837). Just throwing that out there to deter confusion when it isn't this email address.

https://drive.google.com/file/d/1a9FoiaVDLXcl4gf60-XKSeRNIavz27GR/view?usp=drive_link

Thanks, Mitch

On Wed, Nov 22, 2023 at 6:40 PM cjmyers @.***> wrote:

Yes, thanks

— Reply to this email directly, view it on GitHub https://github.com/SynBioDex/SBOLCanvas/issues/267#issuecomment-1823632481, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBCEBEIENPPQN6RUU7CQGIDYF2EPXAVCNFSM6AAAAAA7LJCUS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRTGYZTENBYGE . You are receiving this because you commented.Message ID: @.***>

cjmyers commented 10 months ago

The best workaround right now is to take a screenshot of your circuit and turn that it. It is essentially the same thing as if the export image was working. Sorry for your trouble. We are trying to work out the bug, but it will still take a bit.

mmcdonald1575 commented 10 months ago

Ok, no problem. Thanks for letting me know.

On Tue, Nov 28, 2023 at 5:06 PM cjmyers @.***> wrote:

The best workaround right now is to take a screenshot of your circuit and turn that it. It is essentially the same thing as if the export image was working. Sorry for your trouble. We are trying to work out the bug, but it will still take a bit.

— Reply to this email directly, view it on GitHub https://github.com/SynBioDex/SBOLCanvas/issues/267#issuecomment-1830834937, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBCEBEPZIT7ZB4JHYCUNJ5LYGZN45AVCNFSM6AAAAAA7LJCUS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZQHAZTIOJTG4 . You are receiving this because you commented.Message ID: @.***>

cjmyers commented 10 months ago

I think we finally have been able to upgrade SBOLCanvas. If any of you get a chance to try again, please report on whether the errors you have seen are fixed or not. Thanks. Sorry for the inconvenience.

rcmb commented 9 months ago

Image export still failing. Attempted on Edge and Chrome.

image

cjmyers commented 8 months ago

We are not able to reproduce this error. Does Export->File work? If so, can you send your file? Could you also provide a screenshot of your SBOLCanvas page? Can you reproduce this? If so, can you explain the steps that you took?

rcmb commented 8 months ago

File Export works for me.

image

Workflow

  1. File > Export Image
  2. Type "A1Image" as the filename
  3. Select format as "PNG"
  4. Click "Export"
  5. Page navigates to "https://[canvas-api.greensky-6cc75ee4.westus.azurecontainerapps.io](https://canvas-api.greensky-6cc75ee4.westus.azurecontainerapps.io/api/export)/api/export" and throws below error:

This page isn’t working right nowcanvas-api.greensky-6cc75ee4.westus.azurecontainerapps.io can't currently handle this request.

cjmyers commented 8 months ago

Thanks. I can reproduce your error. I will look into it.

If you are doing this for the Coursera course, you can submit your screenshot for the assignment.

rcmb commented 8 months ago

Thank you. I removed the file from my comment above.

cjmyers commented 8 months ago

Further debugging found that if I remove the two terminators, the image is generated. It looks like image generation has a problem with hierarchical parts.

cjmyers commented 7 months ago

This is fixed now