Werner
some time ago I posted a message about Defis:
http://sourceforge.net/projects/defis/
on the wxpython-users list. Unfortunately, I haven't managed to get the
plugin to work with Editra, but this seems to be required for
development.
When I try to run the Editra installation provided in the Defis archive
(0.5.72), and open the Plugin Manager, I get an error dialog box with
this:
Editra Version: 0.5.72
Operating System: Windows XP (build 2600, Service Pack 3)
Python Version: 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500
32 bit (Intel)] wxPython Version: 2.8.9.1 (msw-unicode)
wxPython Info: (__WXMSW__, wxMSW, unicode, wx-assertions-on,
SWIG-1.3.29) Python Encoding: Default=ascii File=mbcs
wxPython Encoding: cp1252
System Architecture: 32bit x86
Byte order: little
Frozen: False
#---- End System Information ----#
#---- Traceback Info ----#
*** Tue Sep 20 18:00:34 2011 ***
Traceback (most recent call last):
File "F:\Anwendungen\defis_0.5.3-py25\EditraIde\src\extern
\events.py", line 108, in HandleEvent return handler(event)
File "F:\Anwendungen\defis_0.5.3-py25\EditraIde\src\ed_main.py", line
1070, in OnPluginMgr size=wx.Size(550, 450))
File "F:\Anwendungen\defis_0.5.3-py25\EditraIde\src\plugdlg.py", line
128, in __init__ mode=MODE_ERROR),
File "F:\Anwendungen\defis_0.5.3-py25\EditraIde\src\plugdlg.py", line
269, in __init__ self.PopulateErrors()
File "F:\Anwendungen\defis_0.5.3-py25\EditraIde\src\plugdlg.py", line
426, in PopulateErrors pbi = PluginErrorItem(self._list, pin, bmp, item)
File "F:\Anwendungen\defis_0.5.3-py25\EditraIde\src\plugdlg.py", line
1126, in __init__ self._title = wx.StaticText(self, label=title)
File "F:\Anwendungen\PortablePython_1.1_py2.6.1\App\lib\site-packages
\wx-2.8-msw-unicode\wx\_controls.py", line 1136, in __init__
_controls_.StaticText_swiginit(self,_controls_.new_StaticText(*args,
**kwargs)) TypeError: String or Unicode type required
When I try to use the plugin with version 0.6.77 of Editra, the
Editra Log shows me:
[12:50:53][pluginmgr][info] Found plugin: defiscfg
[12:50:53][pluginmgr][err] Couldn't Load Defis: 'module' object has no
attribute 'dlg'
And the Plugin Manager simply doesn't show the plugin.
TIA,
Sincerely,
Wolfgang
Please note that this was cross-posted to both the Editra and the
wxPython-Users list. Please post replies only to the lists that you
read yourself, thanks.
--
Führungskräfte leisten keine Arbeit (D'Alembert)
Where in the dialog box that is opened by choosing Edit->Preferences
is this option? I've searched the pages back and forth, but I couldn't
fins any option like that.
BTW: The way these pages in that dialog are nested on two sub-levels
using two different types of widgets is ultra-unintuitive.
> or start Editra with the -dd
> option you can see more of the error traceback.
Unfortunately, even started with this option, the Editra Log does not
show anything else than this single line.
However, starting Editra.py from Pyscripter, shows this in the output
of Python:
*snip*
import H:\Anwendungen\defis_0.5.3-py25\ic\kernel\icContext.pyc
IMPORT ERROR: pcyso
*snip*
import H:\Anwendungen\defis_0.5.3-py25\ic\utils\ic_util.pyc
ImportError: Recompiled DevId module
Now what's that module "pcyso"? Happens to be a typo in icContext.pyc:
try:
import psyco
psyco.bind(Context.update_context)
#init = psyco.proxy(init)
except:
print 'IMPORT ERROR: pcyso'
So this only reveals that the plugin tries to load psyco. But
apparently it should be supposed to work without.
Sincerely,
Wolfgang
On Thu, Oct 6, 2011 at 6:32 AM, Wolfgang Keller <feli...@gmx.net> wrote:
>> This indicates that there is an error in the plugin. If you turn on
>> VERBOSE_DEBUG in the preferences dialog
>
> Where in the dialog box that is opened by choosing Edit->Preferences
> is this option? I've searched the pages back and forth, but I couldn't
> fins any option like that.
>
Its the very first option at the top of the dialog when you open it.
> BTW: The way these pages in that dialog are nested on two sub-levels
> using two different types of widgets is ultra-unintuitive.
In over 6 years your the only one to say anything remotely negative
about the configuration dialog. Would be interested in hearing some
rational to support your statements.
>
> *snip*
> import H:\Anwendungen\defis_0.5.3-py25\ic\kernel\icContext.pyc
> IMPORT ERROR: pcyso
> *snip*
> import H:\Anwendungen\defis_0.5.3-py25\ic\utils\ic_util.pyc
> ImportError: Recompiled DevId module
>
<snip>
>
> So this only reveals that the plugin tries to load psyco. But
> apparently it should be supposed to work without.
>
Yes, but what about the second import error shown above after the
psyco one? That one doesn't appear to be getting trapped.
It really seems like there a lot of fundamental issues in that plugins
code that would lead me to venture that it probably doesn't work or
was never developed to a point of actually being functional.
Unfortunately I don't really have the time to dig into issues on a non
supported plugin when the issues don't have anything to do with Editra
itself. You will need to either find the author of it or try to fix
the errors in it on your own. However if you have or run into any
Editra specific questions feel free to ask.
Regards,
Cody
To me it does like this is indeed used for some actual productivity
applications (see screenshots, the quite extensive manual), but that the
Defis&Editra version(s) available on sourceforge are simply not the ones
that the author uses/has used himself for application development.
And there seem to be two people involved with the project: One who
reads and writes english (I got a reply from him stating that thy're
looking for project financing to refactor and translate the whole
project), but he doesn't seem to be the actual developer. And the
actual developer whose address I found in the (russian) pdf manual
doesn't seem to read and write english, so...
Grmpf. :-(
Sincerely,
Wolfgang
--
HOMO HOMINI HOSTIS.