ParthJadhav / Tkinter-Designer

An easy and fast way to create a Python GUI 🐍
BSD 3-Clause "New" or "Revised" License
8.62k stars 793 forks source link

"Invalid URL!" Error #411

Closed AngeleAkane closed 1 month ago

AngeleAkane commented 1 month ago

I have been using Tkinter Designer very quietly but recently this tool started giving the error "Invalid URL! - Please, enter a valid file URL", but obviously I have already done this procedure several times and now doesn't work. In none of the windows I have developed.

I thought it was the URL, it is not (I do the same procedure as before and changed the access type through the URL). I thought it was the Token, it is not (I've created another).

I assume Figma has changed something, probably in the URL format. No idea.

By the way, thanks for creating this tool!

Edit: I also thought it was something of my own, but it seems I'm not the only one.

anuragverma77 commented 1 month ago

I've mentioned a solution here. https://github.com/ParthJadhav/Tkinter-Designer/issues/412

AngeleAkane commented 1 month ago

I've mentioned a solution here. #412

Yeah, thanks. Anyway I will CopyPaste here:

go to gui/gui.py and replace at line https://github.com/ParthJadhav/Tkinter-Designer/issues/48 r'https://www.figma.com/file/([0-9A-Za-z]+)', URL.strip()) with r'https://www.figma.com/design/([0-9A-Za-z]+)', URL.strip())

RiumiToki commented 1 month ago

I've mentioned a solution here. #412

Yeah, thanks. Anyway I will CopyPaste here:

go to gui/gui.py and replace at line #48 r'https://www.figma.com/file/([0-9A-Za-z]+)', URL.strip()) with r'https://www.figma.com/design/([0-9A-Za-z]+)', URL.strip())

Did it show any error in your TkinterDesigner. When i replace it it still show an error