[Eric] Re: [Eric4.2.1] Django configuration button does not active

oso che bol ndlgroup1 at gmail.com
Mon Oct 6 00:18:48 BST 2008


Hi,

I want to translate this to Vietnamese, so could you please tell me where i
should translate /change

Regards,
-LN

On Sun, Oct 5, 2008 at 6:56 PM, oso che bol <ndlgroup1 at gmail.com> wrote:

> Hi,
>
> I have uninstall all by:
>
>    rm -rf /home/ngovu/.eric4/
>
>    sudo rm -rf /usr/lib/python2.5/site-packages/eric4/
>
>    sudo rm -rf /usr/lib/python2.5/site-packages/eric4plugin/
>
>    sudo rm -rf /usr/local/bin/eric4*
>
>    sudo rm -rf /usr/lib/python2.5/site-packages/eric4config.py
>
>    sudo rm -rf /usr/lib/python2.5/site-packages/eric4config.pyc
>
> And, after that, i reboot Hardy 8.04.
>
> I install version 4.2.1 and download the version of django plugin 2.0.1.It run OK.
>
> I do the same with version 4.3.0 snapshot but still meet the error.
>
> Thx,
> -Ln
>
>
> On Sun, Oct 5, 2008 at 6:21 PM, oso che bol <ndlgroup1 at gmail.com> wrote:
>
>> Hi,
>>
>> I have tried to install eric4.3.0 and appeared these error
>>
>> ngovu at NgoVu-lippy:~/Documents/Temp/Download/eric4-4.3-snapshot-20081005$
>> eric4
>> Warning: translation file 'qt_en_US'could not be loaded.
>> Using default.
>> Warning: translation file 'eric4_en_US'could not be loaded.
>> Using default.
>> Warning: translation file 'qscintilla_en_US'could not be loaded.
>> Using default.
>> 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/ngovu/.eric4/eric4_error.log".
>>
>> Error information:
>>
>> --------------------------------------------------------------------------------
>> 2008-10-05, 18:20:14
>>
>> --------------------------------------------------------------------------------
>> <type 'exceptions.TypeError'>:
>> argument 1 of QTextCodec.codecForName() has an invalid type
>>
>> --------------------------------------------------------------------------------
>>   File "/usr/lib/python2.5/site-packages/eric4/eric4.py", line 235, in
>> <module>
>>     main()
>>   File "/usr/lib/python2.5/site-packages/eric4/eric4.py", line 220, in
>> main
>>     mainWindow = UserInterface(loc, splash, pluginFile, noopen,
>> restartArgs)
>>   File "/usr/lib/python2.5/site-packages/eric4/UI/UserInterface.py", line
>> 581, in __init__
>>     debugServer.startClient(False)
>>   File "/usr/lib/python2.5/site-packages/eric4/Debugger/DebugServer.py",
>> line 285, in startClient
>>     self.__createDebuggerInterface()
>>   File "/usr/lib/python2.5/site-packages/eric4/Debugger/DebugServer.py",
>> line 234, in __createDebuggerInterface
>>     self.debuggerInterface = DebuggerInterfacePython(self, self.passive)
>>   File
>> "/usr/lib/python2.5/site-packages/eric4/Debugger/DebuggerInterfacePython.py",
>> line 67, in __init__
>>     self.codec =
>> QTextCodec.codecForName(Preferences.getSystem("StringEncoding"))
>>
>>
>> --------------------------------------------------------------------------------
>> 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-snapshot-20081005 (r2541)
>>
>> 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
>>   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
>>
>>
>> On Sun, Oct 5, 2008 at 5:55 PM, oso che bol <ndlgroup1 at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I have installed a new version 4.2.2 and it appear new bugs:
>>>
>>> Thx,
>>> -LN
>>>
>>> --------------------------------------------------------------------------------
>>> 2008-10-05, 17:50:52
>>>
>>> --------------------------------------------------------------------------------
>>> <type 'exceptions.TypeError'>:
>>> argument 1 of QTextCodec.codecForName() has an invalid type
>>>
>>> --------------------------------------------------------------------------------
>>>   File "/usr/lib/python2.5/site-packages/eric4/eric4.py", line 238, in
>>> <module>
>>>     main()
>>>   File "/usr/lib/python2.5/site-packages/eric4/eric4.py", line 235, in
>>> main
>>>     raise err
>>>
>>>
>>> --------------------------------------------------------------------------------
>>> Version Numbers:
>>>   Python 2.5.2
>>>   Qt 4.3.4
>>>   PyQt4 4.3.3
>>>   sip 4.7.3
>>>   QScintilla 2-snapshot-20070923
>>>   eric4 4.2.2 (r2537)
>>>
>>> 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.2.0
>>>   PluginEricapi 4.2.0
>>>   PluginEricdoc 4.2.0
>>>   PluginSyntaxChecker 4.2.0
>>>   PluginTabnanny 4.2.0
>>>   PluginVcsPySvn 4.2.0
>>>   PluginVcsSubversion 4.2.0
>>>   PluginVmListspace 4.2.0
>>>   PluginVmMdiArea 1.0.0
>>>   PluginVmTabview 4.2.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
>>>
>>>
>>>
>>> On Sun, Oct 5, 2008 at 1:25 PM, Detlev Offenbach <
>>> detlev at die-offenbachs.de> wrote:
>>>
>>>> Hi,
>>>>
>>>> seems like I screwed up a bit. It's fixed and a new version is
>>>> available.
>>>>
>>>> Regards,
>>>> Detlev
>>>>
>>>> On Sonntag, 5. Oktober 2008, eric_fan wrote:
>>>> > New to the list, hoping this works...
>>>> >
>>>> > Got the same problem with the Django configuration page not showing
>>>> up.
>>>> >
>>>> > The requested info:
>>>> > print type(self.__defaults[key]) returns:
>>>> > <type 'tuple'>
>>>> > print self.__defaults[key] returns:
>>>> > ('cmd.exe /c',)
>>>> >
>>>> > Running latest snapshot on Ubuntu Hardy.
>>>> >
>>>> >
>>>> > Hope this helps...
>>>> >
>>>> > ================
>>>> >
>>>> > Hi,
>>>> >
>>>> > can you please try to determine the type of the QVariant argument
>>>> (i.e.
>>>> > insert print type(self.__defaults[key]) before the failing line (299).
>>>> >
>>>> > Detlev
>>>> >
>>>> > On Samstag, 4. Oktober 2008, oso che bol wrote:
>>>> > > / On Sat, Oct 4, 2008 at 5:46 AM, Detlev Offenbach
>>>> >
>>>> > />/
>>>> > />/ <detlev at die-offenbachs.de
>>>> > <http://www.riverbankcomputing.com/mailman/listinfo/eric>>wrote:
>>>> > />/ > On Freitag, 3. Oktober 2008, oso che bol wrote:
>>>> > />/ > > On Fri, Oct 3, 2008 at 10:49 AM, Detlev Offenbach
>>>> > />/ > >
>>>> > />/ > > <detlev at die-offenbachs.de
>>>> > <http://www.riverbankcomputing.com/mailman/listinfo/eric>>wrote:
>>>> > />/ > > > On Freitag, 3. Oktober 2008, oso che bol wrote:
>>>> > />/ > > > > Helo Detlev,
>>>> > />/ > > > >
>>>> > />/ > > > > I just install django 2.0.0 plugin, i have try many for
>>>> > install and
>>>> > />/ > > > > uninstall but i do not work.
>>>> > />/ > > > >
>>>> > />/ > > > > ah, one note for you, i have manually install Eric4.2.1.
>>>> And
>>>> > when i
>>>> > />/ > > >
>>>> > />/ > > > install
>>>> > />/ > > >
>>>> > />/ > > > > with script, "sudo python install.py", there is a prompt
>>>> that
>>>> > />/ >
>>>> > />/ > required
>>>> > />/ >
>>>> > />/ > > > > me "enter the directory of qt data which include the
>>>> directory
>>>> > />/ > > > > qsci", but i just press enter to bypass this. And it
>>>> > announced that
>>>> > />/ > > > > installation is complete.
>>>> > />/ > > >
>>>> > />/ > > > That has nothing to do with your problem. It just means,
>>>> that
>>>> > eric
>>>> > />/ >
>>>> > />/ > didn't
>>>> > />/ >
>>>> > />/ > > > install it's API files in the default path, because that
>>>> > couldn't be
>>>> > />/ > > > detected. Did you install the plugin via the Plugin
>>>> Installation
>>>> > />/ >
>>>> > />/ > dialog?
>>>> > />/ >
>>>> > />/ > > Yes, i do install via Plugin Installation dialog.
>>>> > />/ > >
>>>> > />/ > > > Could it be possible, that you have two eric4 installations
>>>> on
>>>> > your
>>>> > />/ > > > computer?
>>>> > />/ > > > The config page is only available on eric4 4.2.0 and newer.
>>>> > />/ > >
>>>> > />/ > > Now, my computer just have 1 eric 4.2.1. Before install eric
>>>> > 4.2.1 by
>>>> > />/ > > manually, i did installation via Synaptic of Ubuntu 8.04, it
>>>> > installs
>>>> > />/ > > the version 4.1.1 and do not support Django Plugin. So, i do
>>>> > UNinstall
>>>> > />/ > > eric4.1.1 and try to install eric4.2.1.
>>>> > />/ >
>>>> > />/ > Cab you try to debug the problem on your side because over here
>>>> it
>>>> > works
>>>> > />/ > ok.
>>>> > />/ > Please check the version numbers first (Help->Show Versions...).
>>>> > If that
>>>> > />/ > doesn't show something strange, please try to determine, why the
>>>> > Django
>>>> > />/ > config page isn't loaded (exception raised?).
>>>> > />/
>>>> > />/ The version and exception are:
>>>> > />/ An unhandled exception occurred. Please report the problem using
>>>> the
>>>> > error
>>>> > />/ reporting dialog or via email to <eric4-bugs at die-offenbachs.de
>>>> > <http://www.riverbankcomputing.com/mailman/listinfo/eric>>. A log has
>>>> > />/ been written to "/home/ngovu/.eric4/eric4_error.log".
>>>> > />/ Error information:
>>>> > />/
>>>> >
>>>> ---------------------------------------------------------------------------
>>>> > />/----- 2008-10-02, 13:49:40
>>>> > />/
>>>> >
>>>> ---------------------------------------------------------------------------
>>>> > />/----- <type 'exceptions.TypeError'>:
>>>> > />/ argument 1 of QVariant() has an invalid type
>>>> > />/
>>>> >
>>>> ---------------------------------------------------------------------------
>>>> > />/----- File
>>>> > />/
>>>> >
>>>> "/usr/lib/python2.5/site-packages/eric4/Preferences/ConfigurationDialog.py"
>>>> > />/, line 377, in __showConfigurationPage
>>>> > />/ self.showConfigurationPageByName(pageName)
>>>> > />/ File
>>>> > />/
>>>> >
>>>> "/usr/lib/python2.5/site-packages/eric4/Preferences/ConfigurationDialog.py"
>>>> > />/, line 411, in showConfigurationPageByName
>>>> > />/ page = self.__initPage(pageData)
>>>> > />/ File
>>>> > />/
>>>> >
>>>> "/usr/lib/python2.5/site-packages/eric4/Preferences/ConfigurationDialog.py"
>>>> > />/, line 388, in __initPage
>>>> > />/ page = pageData[2](self)
>>>> > />/ File "/home/ngovu/.eric4/eric4plugins/PluginProjectDjango.py",
>>>> line
>>>> > 65, in
>>>> > />/ createDjangoPage
>>>> > />/ page = DjangoPage(djangoPluginObject)
>>>> > />/ File
>>>> > />/
>>>> >
>>>> "/home/ngovu/.eric4/eric4plugins/ProjectDjango/ConfigurationPage/DjangoPage
>>>> > />/.py", line 53, in __init__
>>>> > />/ self.__plugin.getPreferences("ConsoleCommand"))
>>>> > />/ File "/home/ngovu/.eric4/eric4plugins/PluginProjectDjango.py",
>>>> line
>>>> > 299, in
>>>> > />/ getPreferences
>>>> > />/ QVariant(self.__defaults[key])).toString()
>>>> > />/
>>>> >
>>>> ---------------------------------------------------------------------------
>>>> > />/----- Version Numbers:
>>>> > />/ Python 2.5.2
>>>> > />/ Qt 4.3.4
>>>> > />/ PyQt4 4.3.3
>>>> > />/ sip 4.7.3
>>>> > />/ QScintilla 2-snapshot-20070923
>>>> > />/ eric4 4.2.1 (r2426)
>>>> > />/ Platform: linux2
>>>> > />/ 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
>>>> > />/ [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
>>>> > />/
>>>> > />/ Thanks, i will try!
>>>> > />/
>>>> > />/ Best Regards,
>>>> > />/ -LN
>>>> > />/
>>>> > />/ > Regards,
>>>> > />/ > Detlev
>>>> > />/ > --
>>>> > />/ > Detlev Offenbach
>>>> > />/ > detlev at die-offenbachs.de
>>>> > <http://www.riverbankcomputing.com/mailman/listinfo/eric>
>>>> > /
>>>>
>>>>
>>>>
>>>> --
>>>> Detlev Offenbach
>>>> detlev at die-offenbachs.de
>>>> _______________________________________________
>>>> Eric mailing list
>>>> Eric at riverbankcomputing.com
>>>> http://www.riverbankcomputing.com/mailman/listinfo/eric
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/eric/attachments/20081006/500d412e/attachment-0001.html


More information about the Eric mailing list