[Eric] ANN: new eric4 snapshot

Fabian Steiner lists at fabis-site.net
Mon Oct 9 19:30:43 BST 2006


Detlev Offenbach wrote:
> Hi,
> 
> I have just uploaded a new snapshot of eric4 that contains changes to make it 
> work with the latest QScintilla2 snapshots (20061006 or newer). Please note, 
> that this eric4 snapshot does not work with older QScintilla2 snapshots. 
> 
> It might also work with Qt 4.2.0 but that hasn't been tested yet. Feedback is 
> highly appreciated.

Your changes seem to work for me as far as I can see. However, when I
tried to open a source file I got the following attribute error:

Traceback (most recent call last):
  File
"/home/fabi/python2.5/lib/python2.5/site-packages/eric4/ViewManager/ViewManager.py",
line 2315, in openFiles
    self.openSourceFile(prog)
  File
"/home/fabi/python2.5/lib/python2.5/site-packages/eric4/ViewManager/ViewManager.py",
line 2479, in openSourceFile
    self._modificationStatusChanged(editor.isModified(), editor)
  File
"/home/fabi/python2.5/lib/python2.5/site-packages/eric4/ViewManager/Tabview.py",
line 507, in _modificationStatusChanged
    self._checkActions(editor)
  File
"/home/fabi/python2.5/lib/python2.5/site-packages/eric4/ViewManager/ViewManager.py",
line 3791, in _checkActions
    if editor.canAutoCompleteFromAPIs():
  File
"/home/fabi/python2.5/lib/python2.5/site-packages/eric4/QScintilla/Editor.py",
line 2394, in canAutoCompleteFromAPIs
    return self.acAPI
AttributeError: acAPI


The attachted small fix seems to solve the problem for me - I hope it is
alright and doesn't break anything else since I am not really familiar
with eric development.

Fabian Steiner


-------------- next part --------------
A non-text attachment was scrubbed...
Name: editor-api.diff
Type: text/x-patch
Size: 458 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/eric/attachments/20061009/e3f6a773/editor-api.bin


More information about the Eric mailing list