You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I tried to create an interface on figma and when I went to convert the design with Tkinter-Designer I got this error: Error: Invalid URL. Please enter a valid file URL.
This error is due to the fact that figma decided to change the url from https://www.figma.com/file/{file_id} to https://www.figma.com/design/{file_id}.
To fix this error I had to change the code of the gui.py file from: match = re.search( r'https://www.figma.com/file/([0-9A-Za-z]+)', URL.strip()) to match = re.search( r'https://www.figma.com/design/([0-9A-Za-z]+)', URL.strip())
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Today I tried to create an interface on figma and when I went to convert the design with Tkinter-Designer I got this error:
Error: Invalid URL. Please enter a valid file URL.
This error is due to the fact that figma decided to change the url from
https://www.figma.com/file/{file_id}
tohttps://www.figma.com/design/{file_id}
.To fix this error I had to change the code of the gui.py file from:
match = re.search( r'https://www.figma.com/file/([0-9A-Za-z]+)', URL.strip())
tomatch = re.search( r'https://www.figma.com/design/([0-9A-Za-z]+)', URL.strip())
I hope this was helpful :)
Beta Was this translation helpful? Give feedback.
All reactions