Giter Site home page Giter Site logo

proxlight-designer-v2's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

proxlight-designer-v2's Issues

It would be nice to add `ttk.Combobox`

How hard would it be to implement the conversion of ttk.ComboBox? It works like a dropdown and it's a subclass of Entry, which is already implemented. Are there any plans to add more elements? I could work on this!

Invalid URL 'None': No schema supplied

๐Ÿ‘‹ Proxlight Team, nice to meet you.

First of all love your content ๐Ÿ’ฏ have been a YouTube sub for a long time :)
Was following your latest Proxlight Designer 2021 youtube video

Issue:

  • Followed all installation steps and have latest v2 designer running on mac by running python3 Proxlight Designer.py.
  • Followed documentation and fed the right Figma document link (which is https://www.figma.com/file/kji5xUqZwCfjoVYmQDk7FV/Auto-Attender?node-id=0%3A1 also tried input as https://www.figma.com/file/kji5xUqZwCfjoVYmQDk7FV/Auto-Attender but same error), new Figma token and a path to export code.
  • After clicking create I'm facing this error:
udhavpawar@udhav:~/Downloads/Proxlight-Designer-v2-main/Proxlight Designer Source File$ python3 Proxlight\ Designer.py 
Exception in Tkinter callback
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/tkinter/__init__.py", line 1892, in __call__
    return self.func(*args)
  File "/Users/udhavpawar/Downloads/Proxlight-Designer-v2-main/Proxlight Designer Source File/Proxlight Designer.py", line 336, in btn_clicked
    generate_code(token,URL, output_path)
  File "/Users/udhavpawar/Downloads/Proxlight-Designer-v2-main/Proxlight Designer Source File/Proxlight Designer.py", line 178, in generate_code
    image_link = requests.get(response.json()["images"][item_id])
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/requests/api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/requests/sessions.py", line 528, in request
    prep = self.prepare_request(req)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/requests/sessions.py", line 456, in prepare_request
    p.prepare(
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/requests/models.py", line 316, in prepare
    self.prepare_url(url, params)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/requests/models.py", line 390, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?
  • Any insights on tackling it is appreciated.

Let me know if any additional info is required :)

Error Message : Invalid input. Please check your input and try again

I'm trying the Proxlight + Figma solution, but I'm getting the error message as I try to "Create" the code.
As I click the "Create" Button, I'm getting the following error.
image

No further detail.
I noticed that the Token created on Figma as a slight different format than the one on tutorials...

Display error

image

the figma preview
image

the code

`from tkinter import *

def btn_clicked():
print("Button Clicked")

window = Tk()

window.geometry("927x605")
window.configure(bg = "#FFFFFF")
canvas = Canvas(
window,
bg = "#FFFFFF",
height = 605,
width = 927,
bd = 0,
highlightthickness = 0,
relief = "ridge")
canvas.place(x = 0, y = 0)

background_img = PhotoImage(file = f"background.png")
background = canvas.create_image(
-445.5, -139.5,
image=background_img)

canvas.create_text(
-445.5, -277.5,
text = "Emotify",
fill = "#ffffff",
font = ("Montserrat-Black", int(55.0)))

entry0_img = PhotoImage(file = f"img_textBox0.png")
entry0_bg = canvas.create_image(
-446.0, -192.5,
image = entry0_img)

entry0 = Entry(
bd = 0,
bg = "#ffffff",
highlightthickness = 0)

entry0.place(
x = -863, y = -217,
width = 834,
height = 47)

img0 = PhotoImage(file = f"img0.png")
b0 = Button(
image = img0,
borderwidth = 0,
highlightthickness = 0,
command = btn_clicked,
relief = "flat")

b0.place(
x = -863, y = -141,
width = 834,
height = 40)

img1 = PhotoImage(file = f"img1.png")
b1 = Button(
image = img1,
borderwidth = 0,
highlightthickness = 0,
command = btn_clicked,
relief = "flat")

b1.place(
x = -544, y = -64,
width = 34,
height = 20)

img2 = PhotoImage(file = f"img2.png")
b2 = Button(
image = img2,
borderwidth = 0,
highlightthickness = 0,
command = btn_clicked,
relief = "flat")

b2.place(
x = -476, y = -64,
width = 60,
height = 20)

img3 = PhotoImage(file = f"img3.png")
b3 = Button(
image = img3,
borderwidth = 0,
highlightthickness = 0,
command = btn_clicked,
relief = "flat")

b3.place(
x = -397, y = -64,
width = 67,
height = 20)

img4 = PhotoImage(file = f"img4.png")
b4 = Button(
image = img4,
borderwidth = 0,
highlightthickness = 0,
command = btn_clicked,
relief = "flat")

b4.place(
x = -863, y = -7,
width = 834,
height = 40)

window.resizable(False, False)
window.mainloop()
`

bitmap "logo.ico" not defined

I got this error while python Proxlight\ Designer.py in linux

error:

 window.iconbitmap("logo.ico")
  File "/usr/lib/python3.11/tkinter/__init__.py", line 2136, in wm_iconbitmap
    return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tkinter.TclError: bitmap "logo.ico" not define

I can't get python code via Proxlight

Hi, thanks for making great tools Proxlight-Designer-v2!
I am research engineer and main language is python. so I'm new to such tool for designer. I am making a lickert scale from figma.com shown as below.
editor

After editing the above design, python script was generated named window.py by Proxlight Designer desktop app.
But only white page is shown since window.py only includes the code which generates white background. Bellow is the full code.

from tkinter import *


def btn_clicked():
    print("Button Clicked")


window = Tk()

window.geometry("928x1159")
window.configure(bg = "#ffffff")
canvas = Canvas(
    window,
    bg = "#ffffff",
    height = 1159,
    width = 928,
    bd = 0,
    highlightthickness = 0,
    relief = "ridge")
canvas.place(x = 0, y = 0)

window.resizable(False, False)
window.mainloop()

Is there something like naming rule of each component such like "Background", "Textbox" in editor?
It would be very helpful if you could provide any advises or video instructions. I also watched your Youtube channel. good

Export didn't complete : Exception in Tkinter callback

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\moham\anaconda3\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "C:\Users\moham\Proxlight-Designer-v2\Proxlight Designer Source File\ProxlightDesigner.py", line 336, in btn_clicked
generate_code(token,URL, output_path)
File "C:\Users\moham\Proxlight-Designer-v2\Proxlight Designer Source File\ProxlightDesigner.py", line 303, in generate_code
py_file.writelines(final_code)
File "C:\Users\moham\anaconda3\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u2028' in position 29: character maps to

Wierd Bug..? I don't really know what is happening

So, I was using Proxlight designer, and I come to this:
image
But this is what I expected the window to look like:
Home Input Tool

Please correct me if this is not a bug(and a possible way to actually fix this issue(youtube video, doc or something like that))

Thanks,
Tinman

UI Bad design

image

Who designed this UI?
I can't see a single word here, what the heck is that?

Avast detected its a virus?!

Please help me! When run a Proxlite designer, Avast moves Proxiite designer to quarantine beacuse is infected with Win64:MalwareGen. If this sure?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.