Preferered encoding is set to utf-8 and after I first got this I also
inserted the following at the top and saved, closed and reopened the file.
# -*- coding: utf-8 -*-#
When I click on "Report Error" Internet Explorer opens. IE is not my
default browser, I use Firefox and my Email client is Thunderbird.
Werner
#---- Notes ----#
Please provide additional information about the crash here
#---- System Information ----#
Editra Version: 0.6.77
Operating System: Windows 7 (build 7601, Service Pack 1)
Python Version: 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32
bit (Intel)]
wxPython Version: 2.9.2.4 msw (classic)
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 ----#
*** Fri Oct 14 10:58:10 2011 ***
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 525, in __bootstrap
self.__bootstrap_inner()
File "C:\Python27\lib\threading.py", line 565, in __bootstrap_inner
(self.name, _format_exc()))
IOError: [Errno 9] Bad file descriptor
*** Fri Oct 14 10:59:04 2011 ***
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 525, in __bootstrap
self.__bootstrap_inner()
File "C:\Python27\lib\threading.py", line 565, in __bootstrap_inner
(self.name, _format_exc()))
IOError: [Errno 9] Bad file descriptor
*** Fri Oct 14 14:50:18 2011 ***
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 525, in __bootstrap
self.__bootstrap_inner()
File "C:\Python27\lib\threading.py", line 565, in __bootstrap_inner
(self.name, _format_exc()))
IOError: [Errno 9] Bad file descriptor
#---- End Traceback Info ----#
On Fri, Oct 14, 2011 at 7:56 AM, werner <wbr...@free.fr> wrote:
> I once in a while get the following error when working on
> wx.lib.agw.persist.anyofthem.py in a SVN check out done yesterday.
>
> Preferered encoding is set to utf-8 and after I first got this I also
> inserted the following at the top and saved, closed and reopened the file.
>
> # -*- coding: utf-8 -*-#
>
>
> When I click on "Report Error" Internet Explorer opens. IE is not my
> default browser, I use Firefox and my Email client is Thunderbird.
>
IE must be registered as your system default handler for "mail:"
links. Editra just calls webrowser.open which uses the system default
(or is supposed to anyway).
>
> #---- Traceback Info ----#
> *** Fri Oct 14 10:58:10 2011 ***
> Traceback (most recent call last):
> File "C:\Python27\lib\threading.py", line 525, in __bootstrap
> self.__bootstrap_inner()
> File "C:\Python27\lib\threading.py", line 565, in __bootstrap_inner
> (self.name, _format_exc()))
> IOError: [Errno 9] Bad file descriptor
>
What were you doing when this occurred. There isn't any Editra code in
the stack trace so hard to tell what is at fault.
If it is reproducable to narrow it down I would start by disabling
plugins one by one. Off the top of my head all of the following start
background threads during normal use:
* PyStudio (during file save / debugging / lint analysis)
* Launch (while running a script)
* CodeBrowser (after file save / page change)
Cody
Maybe provide a "send via SMTP" option on that dialog?
>> #---- Traceback Info ----#
>> *** Fri Oct 14 10:58:10 2011 ***
>> Traceback (most recent call last):
>> File "C:\Python27\lib\threading.py", line 525, in __bootstrap
>> self.__bootstrap_inner()
>> File "C:\Python27\lib\threading.py", line 565, in __bootstrap_inner
>> (self.name, _format_exc()))
>> IOError: [Errno 9] Bad file descriptor
>>
> What were you doing when this occurred. There isn't any Editra code in
> the stack trace so hard to tell what is at fault.
It happens when I press "ctrl-s" to save the file in the editor and it
only seems to happen with the files in wx.lib.agw.persist folder from a
recent SVN check out.
> If it is reproducable to narrow it down I would start by disabling
> plugins one by one. Off the top of my head all of the following start
> background threads during normal use:
>
> * PyStudio (during file save / debugging / lint analysis)
> * Launch (while running a script)
> * CodeBrowser (after file save / page change)
Happened a few times over the last couple of days, but I can't reproduce
it at will - at least not yet.
Will provide more details when I can reproduce it at will.
Werner
...
>> #---- Traceback Info ----#
>> *** Fri Oct 14 10:58:10 2011 ***
>> Traceback (most recent call last):
>> File "C:\Python27\lib\threading.py", line 525, in __bootstrap
>> self.__bootstrap_inner()
>> File "C:\Python27\lib\threading.py", line 565, in __bootstrap_inner
>> (self.name, _format_exc()))
>> IOError: [Errno 9] Bad file descriptor
>>
> What were you doing when this occurred. There isn't any Editra code in
> the stack trace so hard to tell what is at fault.
>
> If it is reproducable to narrow it down I would start by disabling
> plugins one by one. Off the top of my head all of the following start
> background threads during normal use:
>
> * PyStudio (during file save / debugging / lint analysis)
> * Launch (while running a script)
> * CodeBrowser (after file save / page change)
>
It is happening only on the files of wx.lib.agw.persist which I are from
a SVN checkout.
I don't get it on each save but quit often. Does the following by any
chance help to pin point what the issue is?
Werner
#---- Notes ----#
Please provide additional information about the crash here
#---- System Information ----#
Editra Version: 0.6.77
Operating System: Windows 7 (build 7601, Service Pack 1)
Python Version: 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32
bit (Intel)]
wxPython Version: 2.9.2.4 msw (classic)
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 ----#
*** Thu Oct 20 11:14:30 2011 ***
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 525, in __bootstrap
self.__bootstrap_inner()
File "C:\Python27\lib\threading.py", line 565, in __bootstrap_inner
(self.name, _format_exc()))
IOError: [Errno 9] Bad file descriptor
*** Thu Oct 20 11:23:26 2011 ***
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 525, in __bootstrap
self.__bootstrap_inner()
File "C:\Python27\lib\threading.py", line 565, in __bootstrap_inner
(self.name, _format_exc()))
IOError: [Errno 9] Bad file descriptor
*** Thu Oct 20 11:28:20 2011 ***
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 525, in __bootstrap
self.__bootstrap_inner()
File "C:\Python27\lib\threading.py", line 565, in __bootstrap_inner
(self.name, _format_exc()))
IOError: [Errno 9] Bad file descriptor
*** Thu Oct 20 11:36:46 2011 ***
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 525, in __bootstrap
self.__bootstrap_inner()
File "C:\Python27\lib\threading.py", line 565, in __bootstrap_inner
(self.name, _format_exc()))
IOError: [Errno 9] Bad file descriptor
*** Thu Oct 20 11:40:30 2011 ***
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 525, in __bootstrap
self.__bootstrap_inner()
File "C:\Python27\lib\threading.py", line 565, in __bootstrap_inner
(self.name, _format_exc()))
IOError: [Errno 9] Bad file descriptor
*** Thu Oct 20 11:43:46 2011 ***
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 525, in __bootstrap
self.__bootstrap_inner()
File "C:\Python27\lib\threading.py", line 565, in __bootstrap_inner
(self.name, _format_exc()))
IOError: [Errno 9] Bad file descriptor
#---- End Traceback Info ----#
Last few entries in the Editra log are:
[11:43:30][codebrowser][info] Syncing tree for position 185
[11:43:45][ed_stc][info] Writing file
C:\Python27\Lib\site-packages\wx-2.9.2-msw\wx\lib\agw\persist\persist_handlers.py,
with encoding utf-8
[11:43:45][ed_txt][info] Resetting buffer
[11:43:45][ed_txt][info] CheckMagicComment: [u'# -*- coding: utf-8
-*-#\r\n', u'#!/usr/bin/env python\r\n']
[11:43:45][ed_txt][info] MagicComment is utf-8
[11:43:45][ed_txt][info] Write: found magic comment: utf-8
[11:43:45][ed_txt][info] Opened
C:\Python27\Lib\site-packages\wx-2.9.2-msw\wx\lib\agw\persist\persist_handlers.py,
writing as utf-8
[11:43:45][ed_txt][info] Resetting buffer
[11:43:45][ed_txt][info]
C:\Python27\Lib\site-packages\wx-2.9.2-msw\wx\lib\agw\persist\persist_handlers.py
was written successfully
[11:43:45][CompileCheck][info] Using Python: c:\python27\python.exe
[11:43:45][CompileCheck][info] Using CWD:
C:\Python27\Lib\site-packages\wx-2.9.2-msw\wx\lib\agw\persist
[11:43:45][CompileCheck][info] Starting command:
['c:\\python27\\python.exe', '-m', 'py_compile', 'persist_handlers.py']
[11:43:46][projects][info]C:\Python27\Lib\site-packages\wx-2.9.2-msw\wx\lib\agw\persist
svn status -v --non-interactive -N persist_handlers.py
[11:43:46][codebrowser][info] Syncing tree for position 185
[11:43:46][app][info] Going to sleep
[11:43:46][app][info] I'm Awake!!
[11:43:46][codebrowser][info] Syncing tree for position 185
[11:43:47][codebrowser][info] Syncing tree for position 185
[11:44:15][app][info] Going to sleep
[11:44:15][app][info] I'm Awake!!
> Cody
>
BTW, when I click on the "Configure" icon on the Projects pane I only
see a small window (see attached) on Windows 7 with Editra from SVN.
Werner
Werner