andialbrecht / crunchyfrog

Head over to RunSQLRun, the successor of CrunchyFrog
http://runsqlrun.org
GNU General Public License v3.0
4 stars 2 forks source link

Application freezes on export if not export plugin is active #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Disable all export plugins
2. Execute a query
3. Try to export results

What is the expected output? What do you see instead?

Either the export button shouldn't be sensitive or at least a error dialog 
should pop up. Instead the application freezes with the following traceback 
on command line:

Traceback (most recent call last):
  File "/storage/devel/cf/default/cf/ui/editor.py", line 787, in 
export_data
    data, selected, statement, description)
  File "/storage/devel/cf/default/cf/ui/widgets/__init__.py", line 221, in 
__init__
    self._setup_widget()
  File "/storage/devel/cf/default/cf/ui/widgets/__init__.py", line 240, in 
_setup_widget
    self._setup_filter()
  File "/storage/devel/cf/default/cf/ui/widgets/__init__.py", line 260, in 
_setup_filter
    self._filter_changed(self.get_filter())
  File "/storage/devel/cf/default/cf/ui/widgets/__init__.py", line 269, in 
_filter_changed
    plugin = filter.get_data("plugin")
AttributeError: 'NoneType' object has no attribute 'get_data'

Please use labels and text to provide additional information.

Original issue reported on code.google.com by albrecht.andi on 11 Jul 2009 at 6:01

GoogleCodeExporter commented 9 years ago
This issue was closed by 34983b409e.

Original comment by albrecht.andi on 11 Jul 2009 at 6:37