Skip to content

none type error #2

Open
Open
@arun10797

Description

@arun10797

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions