Detection of pyscintilla not working correctly

Bug #76036 reported by dev-zero
2
Affects Status Importance Assigned to Milestone
PIDA
Fix Released
Critical
Tiago Cogumbreiro

Bug Description

When I start up pida the first time, I have to choice from available editors.
Psyntilla shows up with status "Okay" even though it isn't installed at all and it is selected as default. When I don't change the editor to "Culebra", pida crashes afterwards.

part of the logfile:
[...]
2006-12-16 20:17:10,957 WARNING services.service_manager:86 failed to import editors.pscyntilla = pida.editors.pscyntilla:Service
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/pida/core/services.py", line 72, in __load_entrypoint
    cls = entrypoint.load()
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1830, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.4/site-packages/pida/editors/pscyntilla.py", line 81, in ?
    from pida.utils.pscyntilla import Pscyntilla, THEMES
  File "/usr/lib/python2.4/site-packages/pida/utils/pscyntilla.py", line 1, in ?
    import pyscintilla as scintilla
ImportError: No module named pyscintilla

2006-12-16 20:17:10,993 WARNING services.service_manager:86 failed to import editors.mooedit = pida.editors.mooedit:Service
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/pida/core/services.py", line 72, in __load_entrypoint
    cls = entrypoint.load()
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1830, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.4/site-packages/pida/editors/mooedit.py", line 27, in ?
    import moo
ImportError: No module named moo

2006-12-16 20:17:11,385 WARNING services.service_manager:96 service not found editors pscyntilla

Tags: scintilla
Revision history for this message
Ali Afshar (aafshar) wrote :

Thanks for the bug report.

Tiago: Remind me why you removed this please.

Revision history for this message
Tiago Cogumbreiro (cogumbreiro) wrote :

I don't remember. I promise I'll look into that issue today (and bug #47510).

Changed in pida:
assignee: nobody → cogumbreiro
importance: Undecided → Critical
status: Unconfirmed → Confirmed
Revision history for this message
Tiago Cogumbreiro (cogumbreiro) wrote :

'pyscintilla' is the extension module.

Changed in pida:
status: Confirmed → Fix Committed
Revision history for this message
Ali Afshar (aafshar) wrote :

0.4.2

Changed in pida:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.