Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

none type error #2

Open
arun10797 opened this issue Aug 26, 2018 · 1 comment
Open

none type error #2

arun10797 opened this issue Aug 26, 2018 · 1 comment

Comments

@arun10797
Copy link

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
Copy link

Did you find the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants