[Eric] i can't configure eric4

Detlev Offenbach detlev at die-offenbachs.de
Wed Apr 22 18:06:19 BST 2009


Hi Luigi,

can you try to compile the prerequisites (sip, PyQt) from source? I have the 
impression, that there is something wrong with them.

Regards,
Detlev

On Mittwoch, 22. April 2009, luigi curzi wrote:
> Il giorno Tue, 21 Apr 2009 20:28:21 +0200
>
> luigi curzi <luigi_curzi at yahoo.it> ha scritto:
> > Il giorno Tue, 21 Apr 2009 20:07:40 +0200
> >
> > Detlev Offenbach <detlev at die-offenbachs.de> ha scritto:
> > > Hi,
> > >
> > > this issue will be fixed in the next release. Meanwhile you may
> > > replace the offending line of code by these lines.
> > >
> > >         try:
> > >             self.foldingStyleComboBox.setCurrentIndex(
> > >                
> > > self.foldStyles.index(Preferences.getEditor("FoldingStyle"))) except
> > > ValueError:
> > >             self.foldingStyleComboBox.setCurrentIndex(0)
> >
> > thanks it works, but always i cant save configuration and i have this
> > error:
> >
> > Warning:
> > QVariant::save: unable to save type 100.
> > Warning:
> > QVariant::load: unable to load type 100.
> >
> > anytime i run eric4 i must configure it.
> > the output in console is:
> >
> > luigi at pozzaibe:~$ eric4 --debug
> > DEBUG:root:Importing Preferences
> > Warning: translation file 'qt_it_IT'could not be loaded.
> > Using default.
> > Warning: translation file 'qscintilla_it_IT'could not be loaded.
> > Using default.
> > DEBUG:root:Importazione packages...
> > DEBUG:root:Generazione Main Window...
> > QVariant::load: unable to load type 100.
> > DEBUG:root:Initializing Plugin Manager...
> > DEBUG:root:Generating Main User Interface...
> > QVariant::save: unable to save type 100.
> > DEBUG:root:Setting up connections...
> > DEBUG:root:Initializing Tools...
> > DEBUG:root:Registering Objects...
> > DEBUG:root:Initializing Actions...
> > DEBUG:root:Initializing Menus...
> > DEBUG:root:Initializing Toolbars...
> > DEBUG:root:Initializing Statusbar...
> > DEBUG:root:Activating Plugins...
> > DEBUG:root:Restoring Toolbarmanager...
> > DEBUG:root:Shutting down, result 0
> >
> > thanks in advice.
> > Luigi
>
> these are last python's packages updated:
> [AGGIORNATO] pychecker 0.8.18-1 -> 0.8.18-2
> [AGGIORNATO] python-cairo 1.4.12-1.2 -> 1.8.4-3
> [AGGIORNATO] python-crypto 2.0.1+dfsg1-2.3 -> 2.0.1+dfsg1-2.3+lenny0
> [AGGIORNATO] python-elementtree 1.2.6-12 -> 1.2.6-14
> [AGGIORNATO] python-glade2 2.12.1-6 -> 2.14.1-1
> [AGGIORNATO] python-gobject 2.14.2-1 -> 2.16.1-1
> [AGGIORNATO] python-gobject-dev 2.14.2-1 -> 2.16.1-1
> [AGGIORNATO] python-gtk2 2.12.1-6 -> 2.14.1-1
> [AGGIORNATO] python-gtk2-dev 2.12.1-6 -> 2.14.1-1
> [AGGIORNATO] python-pyrex 0.9.7.2-0.1 -> 0.9.8.5-1
> [AGGIORNATO] python-scipy 0.6.0-12 -> 0.7.0-1
> [AGGIORNATO] python-sip4 4.7.6-1 -> 4.7.9-2
> [AGGIORNATO] python-sip4-dev 4.7.6-1 -> 4.7.9-2
> [AGGIORNATO] python-uno 1:2.4.1-17+b1 -> 1:3.0.1-9
>
> i hope it is useful.
> Luigi
>
> > > Regards,
> > > Detlev
> > >
> > > On Dienstag, 21. April 2009, luigi curzi wrote:
> > > > Il giorno Tue, 21 Apr 2009 18:47:58 +0200
> > > >
> > > > Detlev Offenbach <detlev at die-offenbachs.de> ha scritto:
> > > > > Hi,
> > > > >
> > > > > can you please check, what is returned by
> > > > > Preferences.getEditor("FoldingStyle")? It should be <= 4.
> > > >
> > > > luigi at pozzaibe:~/Desktop/SDA-python$ eric4 --debug
> > > > DEBUG:root:Importing Preferences
> > > > Warning: translation file 'qt_it_IT'could not be loaded.
> > > > Using default.
> > > > Warning: translation file 'qscintilla_it_IT'could not be loaded.
> > > > Using default.
> > > > DEBUG:root:Importazione packages...
> > > > DEBUG:root:Generazione Main Window...
> > > > DEBUG:root:Initializing Plugin Manager...
> > > > DEBUG:root:Generating Main User Interface...
> > > > DEBUG:root:Setting up connections...
> > > > DEBUG:root:Initializing Tools...
> > > > DEBUG:root:Registering Objects...
> > > > DEBUG:root:Initializing Actions...
> > > > DEBUG:root:Initializing Menus...
> > > > DEBUG:root:Initializing Toolbars...
> > > > DEBUG:root:Initializing Statusbar...
> > > > DEBUG:root:Activating Plugins...
> > > > DEBUG:root:Restoring Toolbarmanager...
> > > > 0
> > > >
> > > > > Regards,
> > > > > Detlev
> > > > >
> > > > > On Dienstag, 21. April 2009, luigi curzi wrote:
> > > > > > i'm trying to configure eric4;
> > > > > > when i click on "style" ("stile" in italian) i receive the
> > > > > > error below and, if i close eric4 and try to re-open it, i
> > > > > > receive this error in console:
> > > > > >
> > > > > > luigi at pozzaibe:~$ eric4
> > > > > > Warning: translation file 'qt_it_IT'could not be loaded.
> > > > > > Using default.
> > > > > > Warning: translation file 'qscintilla_it_IT'could not be
> > > > > > loaded. Using default.
> > > > > > QVariant::load(QDataStream &s): type  unknown to QVariant.
> > > > > > Abortito
> > > > > >
> > > > > > i can re-run it only after deleting "~/.config/Eric4", but
> > > > > > anyhow i can't configure "style". i run a debian testing
> > > > > > updated with last eric4 snapshot.
> > > > > >
> > > > > > 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
> > > > > > "/home/luigi/.eric4/eric4_error.log".
> > > > > > Error information:
> > > > > > -----------------------------------------------------------------
> > > > > >------ ---- ----- 2009-04-21, 17:06:43
> > > > > > -----------------------------------------------------------------
> > > > > >------ ---- ----- <type 'exceptions.ValueError'>:
> > > > > > list.index(x): x not in list
> > > > > > -----------------------------------------------------------------
> > > > > >------ ---- ----- File
> > > > > > "/usr/lib/python2.5/site-packages/eric4/Preferences/Configuration
> > > > > >Dialog .py" , line 429, in __showConfigurationPage
> > > > > > self.showConfigurationPageByName(pageName)
> > > > > > File
> > > > > > "/usr/lib/python2.5/site-packages/eric4/Preferences/Configuration
> > > > > >Dialog .py" , line 463, in showConfigurationPageByName page =
> > > > > >self.__initPage(pageData)
> > > > > > File
> > > > > > "/usr/lib/python2.5/site-packages/eric4/Preferences/Configuration
> > > > > >Dialog .py" , line 444, in __initPage page = mod.create(self)
> > > > > > File
> > > > > > "/usr/lib/python2.5/site-packages/eric4/Preferences/Configuration
> > > > > >Pages/ Edit orStylesPage.py", line 361, in create page =
> > > > > >EditorStylesPage()
> > > > > > File
> > > > > > "/usr/lib/python2.5/site-packages/eric4/Preferences/Configuration
> > > > > >Pages/ Edit orStylesPage.py", line 53, in __init__
> > > > > > self.foldStyles.index(Preferences.getEditor("FoldingStyle")))
> > > > > > -----------------------------------------------------------------
> > > > > >------ ---- ----- Version Numbers:
> > > > > > Python 2.5.4
> > > > > > Qt 4.4.3
> > > > > > PyQt4 4.4.2
> > > > > > sip 4.7.9
> > > > > > QScintilla 2.2
> > > > > > eric4 4.4-snapshot-20090419 (r3045)
> > > > > > Platform: linux2
> > > > > > 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
> > > > > > [GCC 4.3.3]
> > > > > > -----------------------------------------------------------------
> > > > > >------ ---- ----- Plugins Version Numbers:
> > > > > > PluginAbout 4.4.0
> > > > > > PluginEricapi 4.4.0
> > > > > > PluginEricdoc 4.4.0
> > > > > > PluginSyntaxChecker 4.4.0
> > > > > > PluginTabnanny 4.4.0
> > > > > > PluginVcsPySvn 4.4.0
> > > > > > PluginVcsSubversion 4.4.0
> > > > > > PluginVmListspace 4.4.0
> > > > > > PluginVmMdiArea 4.4.0
> > > > > > PluginVmTabview 4.4.0
> > > > > > PluginVmWorkspace 4.4.0
> > > > > > PluginWizardPyRegExp 4.4.0
> > > > > > PluginWizardQColorDialog 4.4.0
> > > > > > PluginWizardQFileDialog 4.4.0
> > > > > > PluginWizardQFontDialog 4.4.0
> > > > > > PluginWizardQInputDialog 4.4.0
> > > > > > PluginWizardQMessageBox 4.4.0
> > > > > > PluginWizardQRegExp 4.4.0



-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list