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

new SQL editor #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
   1. double-click a datasource in the navigator

What is the expected output? 
   open of a new SQL editor

What do you see instead?
   nothing showed 

What version of the product are you using? 
   crunchyfrog-0.3.4

On what operating system? 
   ubuntu gutsy

Python version?
   python 2.5.1

Please provide any additional information below.

Traceback (most recent call last):
  File "/tmp/kde-axa/crunchyfrog-0.3.4/cf/ui/browser.py", line 258, in 
on_button_press_event
    self._run_dblclick_action(treeview, event)
  File "/tmp/kde-axa/crunchyfrog-0.3.4/cf/ui/browser.py", line 252, in 
_run_dblclick_action
    editor = self.instance.editor_create()
  File "/tmp/kde-axa/crunchyfrog-0.3.4/cf/ui/mainwindow.py", line 709, in 
editor_create
    editor = Editor(self)
  File "/tmp/kde-axa/crunchyfrog-0.3.4/cf/ui/editor.py", line 99, in 
__init__
    GladeWidget.__init__(self, self.win, "editor", "box_editor")
  File "/tmp/kde-axa/crunchyfrog-0.3.4/cf/ui/__init__.py", line 109, in 
__init__
    self._setup_widget()
  File "/tmp/kde-axa/crunchyfrog-0.3.4/cf/ui/editor.py", line 114, in 
_setup_widget
    self._setup_textview()
  File "/tmp/kde-axa/crunchyfrog-0.3.4/cf/ui/editor.py", line 118, in 
_setup_textview
    self.textview = SQLView(self.win, self)

File "/tmp/kde-axa/crunchyfrog-0.3.4/cf/ui/widgets/sqlview/__init__.py", 
line 69, in __init__
    self.set_show_line_marks(True)
AttributeError: 'SQLView' object has no attribute 'set_show_line_marks'

Original issue reported on code.google.com by riccardo...@gmail.com on 18 Mar 2009 at 1:56

GoogleCodeExporter commented 9 years ago
The line marks feature was introduced in gtksourceview2 v2.1.0. The packaged 
version
of gtksourceview2 in Ubuntu releases prior to hardy don't have this feature (and
therefore the AttributeError).

Original comment by albrecht.andi on 18 Mar 2009 at 2:21

GoogleCodeExporter commented 9 years ago
After having a look at the sources I have to close this as a WontFix. The editor
relies on some features only available in newer versions of gtksourceview2.

Anyway, thanks for reporting!

Original comment by albrecht.andi on 21 Mar 2009 at 9:26