<br><br><div class="gmail_quote">On Sat, Apr 11, 2009 at 9:40 AM, Detlev Offenbach <span dir="ltr"><<a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Samstag, 11. April 2009, Darren Dale wrote:<br>
> Hello,<br>
><br>
> I have been trying to keep up with the sip/pyqt/qscintilla snapshots<br>
> (installed on up-to-date kubuntu jaunty prerelease). There have been a few<br>
> issues trying to run eric in this environment, but it looks like they have<br>
> been mostly addressed in subsequent snapshots from riverbank.<br>
><br>
> There is one issue I am seeing this morning with the latest snapshots that<br>
> I am not sure how to investigate. If I start eric from the command prompt,<br>
> it launches successfully. If I make an entry in the kde start menu and<br>
> launch eric from there, it crashes. I can choose "Run in terminal" as an<br>
> option for the menu entry, and the output is simply "Warning: Program<br>
> '/usr/local/bin/eric4' crashed." I thought I could get more information<br>
> about the crash if I edited the menu command to be "eric4 --debug", but<br>
> when I do so, eric doesnt crash! I get this debugging output during<br>
> startup:<br>
><br>
> DEBUG:root:Importing packages...<br>
> DEBUG:root:Generating Main Window...<br>
> DEBUG:root:Initializing Plugin Manager...<br>
> DEBUG:root:Config Dir: None; exists: False<br>
> DEBUG:root:Config Dir: None; exists: False<br>
> DEBUG:root:Generating Main User Interface...<br>
> DEBUG:root:Setting up connections...<br>
> DEBUG:root:Initializing Tools...<br>
> DEBUG:root:Registering Objects...<br>
> DEBUG:root:Initializing Actions...<br>
> DEBUG:root:Initializing Menus...<br>
> DEBUG:root:Initializing Toolbars...<br>
> DEBUG:root:Initializing Statusbar...<br>
> DEBUG:root:Activating Plugins...<br>
> DEBUG:root:Restoring Toolbarmanager...<br>
> DEBUG:root:Config Dir: None; exists: False<br>
> DEBUG:root:Config Dir: None; exists: False<br>
> DEBUG:root:Config Dir: None; exists: False<br>
> DEBUG:root:Config Dir: None; exists: False<br>
><br>
> Can anyone suggest a next step?<br>
><br>
> Thanks,<br>
> Darren<br>
<br>
</div></div>You could try compile sip/pyqt/qscintilla with debugging symbols and start<br>
eric4 in a debugger like kdbg. If it crashes, you will see in which file it<br>
fails.<br>
<font color="#888888"><a href="mailto:detlev@die-offenbachs.de"></a></font></blockquote><div><br>I dont think it is possible to start eric4 with kdbg or gdb, because eric4 is not an executable file.<br><br>I just noticed a different error though. I started eric4 with --debug, tried to configure some preferences, and eric4 crashed with:<br>
<br> Original exception was:<br>Traceback (most recent call last):<br> File "/usr/lib/python2.6/dist-packages/eric4/Project/ProjectBrowserModel.py", line 272, in data<br> return BrowserModel.data(self, index, role) <br>
File "/usr/lib/python2.6/dist-packages/eric4/UI/BrowserModel.py", line 77, in data <br> if role == Qt.DisplayRole: <br>RuntimeError: maximum recursion depth exceeded in cmp <br>
Error in sys.excepthook: <br>Traceback (most recent call last): <br> File "/usr/lib/python2.6/dist-packages/eric4/eric4.py", line 111, in excepthook <br>
logFile = os.path.join(unicode(Utilities.getConfigDir()), "eric4_error.log") <br> File "/usr/lib/python2.6/dist-packages/eric4/Utilities/__init__.py", line 978, in getConfigDir <br>
(configDir, (configDir is not None) and os.path.exists(configDir))) <br> File "/usr/lib/python2.6/logging/__init__.py", line 1459, in debug <br> root.debug(*((msg,)+args), **kwargs) <br>
File "/usr/lib/python2.6/logging/__init__.py", line 1017, in debug <br> if self.isEnabledFor(DEBUG): <br>RuntimeError: maximum recursion depth exceeded<br>
</div></div><br>Darren<br>