[Bug 186919] Review Request: eric: Python IDE

bugzilla at redhat.com bugzilla at redhat.com
Thu May 11 19:32:26 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: eric: Python IDE


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=186919





------- Additional Comments From yehjj at pchome.com.tw  2006-05-11 15:32 EST -------
In Fedora Core 5, install package "eric-3.9.0-1.fc4.i386.rpm":

$ eric3
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/eric3/eric3.py", line 32, in ?
    from UI.E3SingleApplication import E3SingleApplicationClient
  File "/usr/lib/python2.4/site-packages/eric3/UI/E3SingleApplication.py", 
line 15, in ?
    from Utilities.SingleApplication import SingleApplicationClient, 
SingleApplicationServer
  File "/usr/lib/python2.4/site-packages/eric3/Utilities/__init__.py", line 
22, in ?
    import Preferences
  File "/usr/lib/python2.4/site-packages/eric3/Preferences/__init__.py", line 
29, in ?
    class Prefs:
  File "/usr/lib/python2.4/site-packages/eric3/Preferences/__init__.py", line 
197, in Prefs
    editorAPIDefaults = {
NameError: name 'pyApiList' is not defined

In order to work around this, patch it with:

--- /usr/lib/python2.4/site-packages/eric3/Preferences/__init__.py.00   
2006-05-02 01:38:16.000000000 +0800
+++ /usr/lib/python2.4/site-packages/eric3/Preferences/__init__.py      
2006-05-12 03:32:04.000000000 +0800
@@ -194,6 +194,8 @@ class Prefs:
         "MonospacedFont" : "monospace,12,-1,5,50,0,0,0,0,0"
     }

+    # Fix eric3 initial problem "NameError: name 'pyApiList' is not defined"
+    pyApiList = QStringList()
     editorAPIDefaults = {
         "Python" : pyApiList,
         "C++" : QStringList(),
@@ -203,7 +205,6 @@ class Prefs:
         "JavaScript" : QStringList()
     }

-    pyApiList = QStringList()
     #for file in ["python"]:
     for file in ["python", "qt", "qttext", "qtcanvas", "qtgl", "qtnetwork", 
"qtsql", "qttable", "qtui", "qtxml"]:
         pyApiList.append(QString("/usr/share/eric@/%s.api" % file))

Then it works in FC5.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the Fedora-package-review mailing list