Ticket #717 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Empty PIPA widget crashes

Reported by: blaz Owned by: marko
Milestone: 2.6 Component: canvas
Severity: minor Keywords:
Cc: Blocking:
Blocked By:

Description

When PIPA Eidget is empty (did not connect to the data base) pressing of Commit crashes the widget. Commit should be disabled if nothing is selected.

Unhandled exception of type AttributeError occured at 18:18:05:
Traceback:
  File: OWPIPA.py, line 669 in Commit
  Code: table = self.dbc.get_data(ids=ids, callback=pb.advance, exclude_constant_labels=self.excludeconstant, bufver=self.wantbufver, transform=transfn, allowed_labels=allowed_labels, ctype=self.ctype())
    AttributeError: 'NoneType' object has no attribute 'get_data' 

https://img.skitch.com/20110401-txb22enif2rh9gbrdw48r9a174.jpg

Change History

comment:1 Changed 3 years ago by blaz

  • Status changed from new to assigned
  • Owner set to marko
  • Milestone changed from future to current

comment:2 Changed 3 years ago by marko

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.