[Eric] Eric 4.3.0: new help tab produces exception

Detlev Offenbach detlev at die-offenbachs.de
Sun Feb 15 14:35:46 GMT 2009


Hi,

thanks for this bug report. It will be fixed in the next release. The line 
raising the exception should actually be preceeded by:

if self.printPreviewAct:

because that action is only defined, if Qt version 4.4.0 or newer had been 
detected.

Regards
Detlev

On Sonntag, 15. Februar 2009, Robert Withrow wrote:
> I just uninstalled an older version of Eric4, installed the new version,
> then started the tray applet like this:
>
> $ eric4-tray &
>
> I then start the ide with the right context click on the tray icon.  I
> then click on the help button which starts the help view (but doesn't
> display anything... is that correct?).
>
> When I click on the "open new tab" button I get (with redactions for
> personal info):
>
> Warning:
> An unhandled exception occurred. Please report the problem
> using the error reporting dialog or via email to
> <eric4-bugs at die-offenbachs.de>.
> A log has been written to "<place>eric4_error.log".
> Error information:
> ---------------------------------------------------------------------------
>----- 2009-02-15, 09:08:25
> ---------------------------------------------------------------------------
>----- <type 'exceptions.AttributeError'>:
> 'NoneType' object has no attribute 'setEnabled'
> ---------------------------------------------------------------------------
>----- File
> "/usr/lib/python2.5/site-packages/eric4/Helpviewer/HelpWindow.py", line
> 1291, in __currentChanged
> self.printPreviewAct.setEnabled(hasattr(cb, 'print_'))
> ---------------------------------------------------------------------------
>----- Version Numbers:
> Python 2.5.2
> Qt 4.3.4
> PyQt4 4.3.3
> sip 4.7.3
> QScintilla 2-snapshot-20070923
> eric4 4.3.0 (r2852)
> Platform: linux2
> 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
> [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
> ---------------------------------------------------------------------------
>----- Plugins Version Numbers:
> PluginAbout 4.3.0
> PluginEricapi 4.3.0
> PluginEricdoc 4.3.0
> PluginProjectDjango 2.0.1
> PluginSyntaxChecker 4.2.0
> PluginTabnanny 4.2.0
> PluginVcsPySvn 4.3.0
> PluginVcsSubversion 4.3.0
> PluginVmListspace 4.2.0
> PluginVmMdiArea 1.0.0
> PluginVmTabview 4.3.0
> PluginVmWorkspace 4.2.0
> PluginWizardPyRegExp 4.2.0
> PluginWizardQColorDialog 4.2.0
> PluginWizardQFileDialog 4.2.0
> PluginWizardQFontDialog 4.2.0
> PluginWizardQInputDialog 4.2.0
> PluginWizardQMessageBox 4.2.0
> PluginWizardQRegExp 4.2.0
> ---------------------------------------------------------------------------
>----- Distribution Info:
> /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=8.04
> DISTRIB_CODENAME=hardy
> DISTRIB_DESCRIPTION="Ubuntu 8.04.1"



-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list