Penpot v 2.10 crash on SVG export or copy/paste

Hi,

Basically the issue is in the title, whenever I try to either export shapes or boards I get the ‘ internal error ‘ screen

I have even tested this on a single freshly drawn rectangle with the default fill with the same results, below is the crash report



Hint:    Cannot read properties of undefined (reading 'writeText')
Prof ID: 7c5ffa74-6f4d-80ed-8006-f8511190f2f1
Team ID: 7c5ffa74-6f4d-80ed-8006-f85111980d18

Data:
{:hint "Cannot read properties of undefined (reading 'writeText')"}

Trace:
TypeError: Cannot read properties of undefined (reading 'writeText')
  at PENPOT.AK (http://INSTANCEADDRESS:9001/js/main.b3ae54775-1760437703.js:50:159)
  at Qld.N3.Caa (/js/main-workspace.b3ae54775-1760437703.js:395:491)
  at bWa (http://INSTANCEADDRESS:9001/js/shared.b3ae54775-1760437703.js:1271:49)
  at Object.next (http://INSTANCEADDRESS:9001/js/shared.b3ae54775-1760437703.js:4345:461)
  at ste.next (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:787:2263)
  at e._next (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:787:1647)
  at e.next (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:787:1371)
  at _g.next (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:787:7168)
  at Object.next (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:787:24020)
  at ste.next (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:787:2263)
  at e._next (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:787:1647)
  at e.next (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:787:1371)
  at e.next [as _nextOverride] (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:787:25768)
  at e.qsr [as _next] (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:787:1877)
  at e.next (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:787:1371)
  at _g.next (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:787:7168)
  at z.next (http://INSTANCEADDRESS:9001/js/shared.b3ae54775-1760437703.js:4346:38)
  at wJ.a_ (http://INSTANCEADDRESS:9001/js/shared.b3ae54775-1760437703.js:3939:305)
  at PENPOT.$J.b_ (http://INSTANCEADDRESS:9001/js/shared.b3ae54775-1760437703.js:4348:401)
  at eval (/js/main-workspace.b3ae54775-1760437703.js:847:428)
  at eval (/js/main-workspace.b3ae54775-1760437703.js:843:14)
  at Bxe (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:30:117926)
  at http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:30:122978
  at GCe (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:30:9069)
  at PK (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:30:119168)
  at SJ (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:31:26788)
  at U4t (http://INSTANCEADDRESS:9001/js/libs.js?ts=1760437889869:31:26601)

Last events:
[":app.main.data.workspace.selection/select-shapes-by-current-selrect"
 ":app.main.data.workspace.viewport/finish-panning"
 ":app.main.data.workspace.zoom/finish-zooming"
 ":app.main.data.workspace.selection/update-selrect"
 ":app.main.data.workspace.viewport/start-panning"
 ":app.main.data.workspace.viewport/update-viewport-position"
 ":app.main.data.workspace.viewport/finish-panning"
 ":app.main.data.workspace.zoom/finish-zooming"
 ":app.main.data.workspace.viewport/update-viewport-position"
 ":app.main.data.workspace.highlight/highlight-shape"
 ":app.main.data.workspace.highlight/dehighlight-shape"
 ":app.main.data.workspace/workspace-focus-lost"
 ":app.main.data.workspace.highlight/highlight-shape"
 ":app.main.data.workspace.highlight/dehighlight-shape"
 ":app.main.data.workspace.guides/set-hover-guide"
 ":dropdown/open"
 ":app.main.data.event/event"
 ":app.main.data.modal/show-modal"
 ":app.main.data.workspace/workspace-focus-lost"
 ":app.main.data.modal/hide-modal"
 ":app.main.data.profile/mark-onboarding-as-viewed"
 ":app.main.data.profile/fetch-profile"
 ":app.main.data.profile/refresh-profile"
 ":app.main.data.profile/fetch-profile"
 ":app.main.data.profile/refresh-profile"
 ":app.main.data.profile/profile-fetched"
 ":app.main.data.profile/set-profile"
 ":app.main.data.profile/profile-fetched"
 ":app.main.data.workspace.edition/clear-edition-mode"
 ":app.main.router/navigate"
 ":app.main.data.workspace.selection/deselect-all"
 ":app.main.data.workspace.selection/handle-area-selection"
 ":app.main.router/navigated"
 ":app.main.data.workspace.selection/select-shapes-by-current-selrect"
 ":app.main.data.workspace.viewport/finish-panning"
 ":app.main.data.workspace.zoom/finish-zooming"
 ":app.main.data.workspace.selection/update-selrect"
 ":app.main.data.workspace.collapse/expand-all-parents"
 ":app.main.router/navigate"
 ":app.main.data.workspace.selection/select-shape"
 ":app.main.data.workspace.transforms/start-move-selected"
 ":app.main.router/navigated"
 ":app.main.data.workspace.viewport/finish-panning"
 ":app.main.data.workspace.zoom/finish-zooming"
 ":app.main.data.workspace.viewport/finish-panning"
 ":app.main.data.workspace.zoom/finish-zooming"
 ":app.main.data.workspace/show-context-menu"
 ":app.main.data.workspace/show-shape-context-menu"
 ":app.main.data.workspace/hide-context-menu"
 ":app.main.data.workspace.clipboard/copy-selected-svg"
 ":app.main.data.workspace/hide-context-menu"]



```

Hello! is this the same issue? There is a solution here: bug: Cannot read properties of undefined (reading 'writeText') · Issue #4478 · penpot/penpot · GitHub

Hi Carolina,

possibly, I am running penpot on a laptop connected to my local network where I am the only user and there might be some issue with not having https setup, but there is no clear guide about to set that up in a way that won’t potentially expose the penpot instance to the internet.

If you know how I could do that in a simple way, it would be an amazing help.

thanks so much