104H / Open-Source-Python-POS-and-Accounting-Software

Open source software for POS and Automated Accounting.
75 stars 59 forks source link

none type error #2

Open arun10797 opened 5 years ago

arun10797 commented 5 years ago

Traceback (most recent call last): File "/home/arush/Desktop/pos/Open-Source-Python-POS-and-Accounting-Software-master/mainInterface.py", line 103, in main() File "/home/arush/Desktop/pos/Open-Source-Python-POS-and-Accounting-Software-master/mainInterface.py", line 101, in main mainInterface(None).Show() File "/home/arush/Desktop/pos/Open-Source-Python-POS-and-Accounting-Software-master/mainInterface.py", line 74, in init self.m_incomeStatementPanel = incomeStatementPanel(self.m_notebook1) File "/home/arush/Desktop/pos/Open-Source-Python-POS-and-Accounting-Software-master/incomeStatementPanel.py", line 85, in init self.populateTable() File "/home/arush/Desktop/pos/Open-Source-Python-POS-and-Accounting-Software-master/incomeStatementPanel.py", line 139, in populateTable openInv = curs.fetchone()['inventory'] TypeError: 'NoneType' object is not subscriptable

codiumtech commented 3 years ago

Did you find the solution?