Re: [peppy-dev] Digest for peppy-dev@googlegroups.com - 3 Messages in 1 Topic

5 views
Skip to first unread message

Søren Renner

unread,
Jan 29, 2010, 12:10:13 PM1/29/10
to pepp...@googlegroups.com
Problem with Enchant version 1.5.3.  Turning off spell checking.

On Fri, Jan 29, 2010 at 6:24 AM, <peppy-de...@googlegroups.com> wrote:

Group: http://groups.google.com/group/peppy-dev/topics

    harrison partch <soren....@gmail.com> Jan 28 01:18PM -0800 ^
     
    #---- Notes ----#
    Please provide additional information about the crash here
     
    TRIGGER: Opening a new text file and typing several characters.
     
     
    #---- System Information ----#
    Peppy Version: svn-devel
    Operating System: Linux 2.6.32-4.slh.2-sidux-amd64 x86_64
    Python Version: 2.5.4 (r254:67916, Nov 19 2009, 22:14:20)
    [GCC 4.3.4]
    wxPython Version: 2.8.10.1 (gtk2-unicode)
    wxPython Info: (__WXGTK__, wxGTK, unicode, gtk2, wx-assertions-off,
    SWIG-1.3.29)
    Python Encoding: Default=ascii File=UTF-8
    wxPython Encoding: latin1
    System Architecture: 64bit x86_64
    Byte order: little
    Frozen: False
    #---- End System Information ----#
     
    #---- Traceback Info ----#
    *** Thu Jan 28 15:15:49 2010 ***
    Traceback (most recent call last):
    File "/home/sr/dev/peppy/peppy/main.py", line 506, in OnIdle
    top.processPriorityIdleEvent()
    File "/home/sr/dev/peppy/peppy/frame.py", line 395, in
    processPriorityIdleEvent
    mode.idleHandler()
    File "/home/sr/dev/peppy/peppy/major.py", line 1241, in idleHandler
    self.idlePostHook()
    File "/home/sr/dev/peppy/peppy/fundamental.py", line 827, in
    idlePostHook
    self.spell.processIdleBlock()
    File "/home/sr/dev/peppy/peppy/lib/stcspellcheck.py", line 438, in
    processIdleBlock
    self.processDirtyRanges()
    File "/home/sr/dev/peppy/peppy/lib/stcspellcheck.py", line 588, in
    processDirtyRanges
    range_start, range_end = self.processDirtyRange
    (self.current_dirty_start, self.current_dirty_end)
    File "/home/sr/dev/peppy/peppy/lib/stcspellcheck.py", line 620, in
    processDirtyRange
    self.checkRange(range_start, range_end)
    File "/home/sr/dev/peppy/peppy/lib/stcspellcheck.py", line 329, in
    checkRange
    if not spell.check(text[start_index:end_index]):
    File "/usr/lib/pymodules/python2.5/enchant/__init__.py", line 550,
    in check
    self._raise_error()
    File "/usr/lib/pymodules/python2.5/enchant/__init__.py", line 524,
    in _raise_error
    raise eclass(default)
    Error: Unspecified Error
     
    #---- End Traceback Info ----#

     

    Rob McMullen <rob.mc...@gmail.com> Jan 28 02:08PM -0800 ^
     
    > in _raise_error
    >    raise eclass(default)
    > Error: Unspecified Error
     
    Looks like something is wrong with the attempt to call enchant for
    spell checking. I'll have to add a try/except block around that.
     
    Have you been able to use enchant successfully with other python programs?
     
    Rob

     

    Rob McMullen <rob.mc...@gmail.com> Jan 28 06:38PM -0800 ^
     
    > Looks like something is wrong with the attempt to call enchant for
    > spell checking.  I'll have to add a try/except block around that.
     
    > Have you been able to use enchant successfully with other python programs?
     
    Added a workaround for this exception in the latest svn that will shut
    off the attempts at spell checking if the error occurs.
     
    Can you try this and let me know what version of enchant the debug
    output reports?
     
    Thanks,
     
    Rob

     

--
You received this message because you are subscribed to the Google Groups "peppy-dev" group.
To post to this group, send email to pepp...@googlegroups.com.
To unsubscribe from this group, send email to peppy-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/peppy-dev?hl=en.

Søren Renner

unread,
Jan 29, 2010, 3:18:13 PM1/29/10
to pepp...@googlegroups.com
I would like to add a coloring mode for ML and then adapt that for Manticore.  http://manticore.cs.uchicago.edu/


2010/1/29 Søren Renner <soren....@gmail.com>

Rob McMullen

unread,
Jan 29, 2010, 3:41:50 PM1/29/10
to pepp...@googlegroups.com
2010/1/29 Søren Renner <soren....@gmail.com>:

> I would like to add a coloring mode for ML and then adapt that for
> Manticore.  http://manticore.cs.uchicago.edu/

Excellent, I'd be happy to include it with peppy. Probably the best
thing to do would be to see if there's already a similar major mode
and work from there. I don't know anything about ML; is it similar to
one of the existing modes in peppy/major_modes?

Rob

Reply all
Reply to author
Forward
0 new messages