Тёмный

Python/Kivy POS System Part 4:Admin Dashboard(Part 21) 

Samuel Courses
Подписаться 4 тыс.
Просмотров 2,3 тыс.
50% 1

The accompanying code is right here:
q.gs/EvNFo
Checkout my Udemy Course here(free for the first 40pple):
www.udemy.com/desktop-guis-wi...
Support The Channel:
www.paypal.me/qodzero
Website:
www.samuelworks.org
Social Media:
Twitter: @silverhash
Instagram: @silverh4sh
Email: samuel@samuelworks.org

Опубликовано:

 

15 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@smartintelgx
@smartintelgx 4 года назад
thank you so much for this amazing courses just want to mention , if you add same user it adds up without notifying that this username already been used
@kaitaviolin
@kaitaviolin 3 года назад
Hey Samuel, you did not add the link to the .CSV file you used in this example
@malcolmnooning2505
@malcolmnooning2505 3 года назад
It is in silverpos-master.zip\silverpos-master\admin_21 on his github
@tarandalinux8323
@tarandalinux8323 4 года назад
Great work Samuel. Thank you very much for all your hard work. I've gotten this far in your tutorial and I'm getting the following error: [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked Traceback (most recent call last): File "admin.py", line 369, in AdminApp().run() File "/usr/local/lib/python3.7/site-packages/kivy/app.py", line 829, in run root = self.build() File "admin.py", line 366, in build return AdminWindow() File "admin.py", line 31, in __init__ for product in self.products.find(): AttributeError: 'AdminWindow' object has no attribute 'products' I've been following all your instructions/steps and have probably gotten some wrong. I'm trying to work with mysql and when the program was working I wasn't able to click on any of the options in the Manage Products Menu. You can find the Python Code here: pastebin.com/F8dm9rpA and the kv file here: pastebin.com/JyKZjAAA
@samuelcourses7225
@samuelcourses7225 4 года назад
Hey there, you missed a line, above your product_code = [], add this: self.products = self.get_producrs()
@tarandalinux8323
@tarandalinux8323 4 года назад
@@samuelcourses7225 Thanks. I've make the changes. Now I get the following error: [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked Traceback (most recent call last): File "admin.py", line 370, in AdminApp().run() File "/usr/local/lib/python3.7/site-packages/kivy/app.py", line 829, in run root = self.build() File "admin.py", line 367, in build return AdminWindow() File "admin.py", line 27, in __init__ self.products = self.get_products() File "admin.py", line 287, in get_products self.products = self.get_products() File "admin.py", line 287, in get_products self.products = self.get_products() File "admin.py", line 287, in get_products self.products = self.get_products() [Previous line repeated 148 more times] File "admin.py", line 275, in get_products database='pos' File "/usr/local/lib/python3.7/site-packages/mysql/connector/__init__.py", line 179, in connect return MySQLConnection(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/mysql/connector/connection.py", line 95, in __init__ self.connect(**kwargs) File "/usr/local/lib/python3.7/site-packages/mysql/connector/abstracts.py", line 716, in connect self._open_connection() File "/usr/local/lib/python3.7/site-packages/mysql/connector/connection.py", line 207, in _open_connection self._do_handshake() File "/usr/local/lib/python3.7/site-packages/mysql/connector/connection.py", line 101, in _do_handshake raise errors.get_exception(packet) mysql.connector.errors.DatabaseError: 1040: Too many connections This line [Previous line repeated 148 more times] tells me I gather that its been requesting 148 connections to the database and I read somewhere that you can only have 100 requests or increase the number of connections somewhere in a conf file. But I only need one conection or one conection at a time depending on what I'm doing to the database. Can you help me again please.
@samuelcourses7225
@samuelcourses7225 4 года назад
@@tarandalinux8323 I see, the problem is that you are supposed to be connecting only once. My guess is you have a problem in your code somewhere, can you pastebin the new code so I can take a look?
@kunwarsinghthakur5115
@kunwarsinghthakur5115 4 года назад
Brother, your link to code seems to be faulty, please look into it
@samuelcourses7225
@samuelcourses7225 4 года назад
checkout github.com/qodzero/silverpos
@aXerhaez
@aXerhaez 3 года назад
i get this error: ImportError: cannot import name '_png' from 'matplotlib' can you help me?
@WappyFallace
@WappyFallace 3 года назад
Did you find a fix for this? I am also stuck at this part
@malcolmnooning2505
@malcolmnooning2505 3 года назад
Me, too. I tried in both a 3.6.8 venv and a 3.8 venv. Same error.
@malcolmnooning2505
@malcolmnooning2505 3 года назад
The problem is .kivy\garden\garden.matplotlib. The three test files under directory " .kivy\garden\garden.matplotlib\examples" all have the same error! I'll try to file a bug report, if there is not already one.
@WappyFallace
@WappyFallace 3 года назад
@@malcolmnooning2505 @Rhaez Mustapha Try this: pip install matplotlib==3.1.3 Found it here and it fixed the problem for me: github.com/facebook/prophet/issues/1691
@malcolmnooning2505
@malcolmnooning2505 3 года назад
@@WappyFallace This video course seems to not need _png, so my solution for now is to simply comment out the line trying to import it. In my case it is line 256 of garden.matplotlib\backend_kivy.py like so: #from matplotlib import _png
Далее
Python/Kivy POS System Part 4:Admin Dashboard(Part 22)
9:03
Python/Kivy POS System Part 4:Admin Dashboard(Part 23)
12:01
Спецэффекты в Симс 4
00:36
Просмотров 207 тыс.
Редакция. News: 125-я неделя
48:25
Просмотров 1,8 млн
Python/Kivy POS System Part 4:Admin Dashboard(Part 24)
8:31
Solving one of PostgreSQL's biggest weaknesses.
17:12
Просмотров 178 тыс.
This Is Why Python Data Classes Are Awesome
22:19
Просмотров 795 тыс.
Python/Kivy POS System Part 3:POS Screen(Part 10)
6:48
Google Data Center 360° Tour
8:29
Просмотров 5 млн
Python/Kivy POS System Part 3:POS Screen(Part 11)
4:51
A Simpler Way to See Results
19:17
Просмотров 100 тыс.
Спецэффекты в Симс 4
00:36
Просмотров 207 тыс.