Eric terminates when started

Hi there !
on open suse 10.3 and open suse 11.0 the python ide eric terminates when started. The operating system and the whole software was installed from DVD and the pc does not have internet connection.
Is a internet connection obligate for running eric ???
kindly stephan

I doubt you need an internet connection to run eric. I have to admin though, that the QT4 version of eric did not appear very stable, last time I’ve tried.

If you are looking for a python IDE under linux you could consider using PyDev, which is an ecplise plugin.

I would recommend the following:
EasyEclipse | Distributions | EasyEclipse for Python

Cheers

I like to use Komodo Edit…it’s very nice and simple! Although, Eric has some good features, its interface is very messy for me…

ActiveState - Free the dragon! - Dynamic Tools for Dynamic Languages

I am trying to get Eric4 working under 11.1 and KDE 4.2.2. Just installed with Yast -> SW Management, and the following is installed:
Python 2.6 (default)
PyQt 4.4.4
QScintilla 2.2
Eric 4.3.4

Eric is installed under KDE Start/Development and start ok. But I don’t know what to do in Preference?

The Help don’t show anything and when I try following the tutorial - LogParser from the Eric-webside, I had to stop after creating the project, because I can’t create a Qt-form in the form-tab of the ProjectViewer.

I can’t adjust the border of the left side of the edit-window. I presume the project viewer is located left of the edit-window.

So how do I get Helpviewer configured?
And what are the most important Preferences to be set?

Jan

Not sure if I have Qt4 installed?

rpm -qa |grep qt4
libqt4-sql-sqlite-4.4.3-4.8.2
libqt4-sql-4.4.3-4.8.2
libqt4-qt3support-4.4.3-4.8.2
libqt4-x11-4.4.3-4.8.2
libqt4-4.4.3-4.8.2
libpoppler-qt4-3-0.10.1-1.4
python-qt4-4.4.4-2.1
libqt4-sql-mysql-4.4.3-11.8.1

Eric4 needs Qt4 installed before installing any of the other packages
Jan

Might want to include a bit more detail like you’re following Eric4 tutorial - Chapter 2 I get to right click the forms tab.

I then get an error
http://img263.imageshack.us/img263/9130/suselinux20090720112902.png

I’m really not sure what your problem is I have no problem adjusting the projectviewer window, but I’m also not sure of the why? Forms is the second tab button in.

As for preferences (Shrug) I guess you’ll come across them, for example in trying the helpviewer it seems the defaults don’t quite add up and there is an extra folder to add in the url. For example for python you need the additional folder, python-docs-html iirc

When you encounter the next problem(As pic) type designer at the cli it will tell you what you need to install.

This is Eric4 just after started:

/home/jhj/Documents/snapshot1.png

Jan

Not sure I can post a snapshot this way! How do you post a picture in a reply of this thread?

You need to link to an external host iirc its only screenshots that allow pics. i.e I hosted it on imageshack, then used the image button. But I’m guessing it is just showing the preference dialog, I only saw it once.

Okay - I tried Imageshack.dk and hope you can see this picture:
http://imageshack.dk//viewimage.php?file=/imagesfree/sxv90229.png

I have created a new project and OpenRecentProjects, but the editing frame/window is not white and ready for typing. And I can’t move the left border of the edit-window to get a bigger ProjectManager window.

When you told me, that second tab was the Formtab, I could click it, but nothing happens so fare.

Jan

Dont think the picture showed up!

Here is the url:
Imageshack.dk

Jan

I got a little further:

Project-viewer reopened by first closing it at X, and then: Menu Window - > Vertical Toolbox.

Now I can move the left border of the edit-window. but it is still not white for editing. I will try to continue with the tutorial.

Jan

Sorry for all this newbie posting :frowning:

Nothing looks like it happening are you following the tut?
Context click as opened
http://img107.imageshack.us/img107/6646/snap2.png

Context click after choosing the tab notice the highlight on the tab button and the changes in the context click.

http://img107.imageshack.us/img107/7733/snap3i.png

How can you edit a non file? First you have to create one but this is nothing like how the tut I referenced showed it being done. You should be using qt designer before even getting to edit in eric.

file => new

Now I have the same error as you. Type designerfrom the cli says unknown command, and I cant find any eric4-designer in the directory, where I think eric4 is installed.

I have posted a new snapshot of my directory:

http://imageshack.dk//viewimage.php?file=/imagesfree/9HK93242.png

Jan

I did tell you type designer as the bold writing no additions on the cli.

Then it will tell you designer can be found on these repos …
Try installing with … it is libqt4-devel any way.

Edit
This is what I get
http://img36.imageshack.us/img36/617/suselinux20090720135149.png

zypper in libqt4-devel or use yast.

Sorry - again here is the url of the picture of my directory

Imageshack.dk

Jan

Here is just ls of the same dir - :wink:
linux-dt4k:/usr/lib/python2.6/site-packages/eric4 # l
total 544
drwxr-xr-x 38 root root 4096 2009-07-16 21:12 ./
drwxr-xr-x 13 root root 4096 2009-07-20 12:52 …/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 CodeTemplates/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 CSSs/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 DataViews/
drwxr-xr-x 4 root root 4096 2009-07-16 21:12 DebugClients/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 Debugger/
-rw-r–r-- 1 root root 58404 2009-07-09 00:30 default.e4k
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 DesignerTemplates/
drwxr-xr-x 3 root root 4096 2009-07-16 21:12 Documentation/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 DocumentationTools/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 DTDs/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 E4Graphics/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 E4Gui/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 E4XML/
-rw-r–r-- 1 root root 9857 2009-02-26 18:31 eric4-api.py
-rw-r–r-- 1 root root 8259 2009-07-09 00:30 eric4-api.pyc
-rw-r–r-- 1 root root 1763 2009-02-08 15:26 eric4-compare.py
-rw-r–r-- 1 root root 1853 2009-07-09 00:30 eric4-compare.pyc
-rw-r–r-- 1 root root 1706 2009-02-28 11:41 eric4-configure.py
-rw-r–r-- 1 root root 1933 2009-07-09 00:30 eric4-configure.pyc
-rw-r–r-- 1 root root 1480 2009-02-08 15:26 eric4-diff.py
-rw-r–r-- 1 root root 1652 2009-07-09 00:30 eric4-diff.pyc
-rw-r–r-- 1 root root 11080 2009-02-26 18:31 eric4-doc.py
-rw-r–r-- 1 root root 9762 2009-07-09 00:30 eric4-doc.pyc
-rw-r–r-- 1 root root 1961 2009-02-28 11:41 eric4-editor.py
-rw-r–r-- 1 root root 2139 2009-07-09 00:30 eric4-editor.pyc
-rw-r–r-- 1 root root 2146 2009-02-28 11:41 eric4-helpviewer.py
-rw-r–r-- 1 root root 2336 2009-07-09 00:30 eric4-helpviewer.pyc
-rw-r–r-- 1 root root 1664 2009-02-08 15:26 eric4-plugininstall.py
-rw-r–r-- 1 root root 1876 2009-07-09 00:30 eric4-plugininstall.pyc
-rw-r–r-- 1 root root 1547 2009-02-08 15:26 eric4-pluginrepository.py
-rw-r–r-- 1 root root 1720 2009-07-09 00:30 eric4-pluginrepository.pyc
-rw-r–r-- 1 root root 1487 2009-02-08 15:26 eric4-pluginuninstall.py
-rw-r–r-- 1 root root 1690 2009-07-09 00:30 eric4-pluginuninstall.pyc
-rw-r–r-- 1 root root 8687 2009-02-20 18:37 eric4.py
-rw-r–r-- 1 root root 8492 2009-07-09 00:30 eric4.pyc
-rw-r–r-- 1 root root 131 2009-02-08 15:26 eric4.pyw
-rw-r–r-- 1 root root 1579 2009-02-08 15:26 eric4-qregexp.py
-rw-r–r-- 1 root root 1741 2009-07-09 00:30 eric4-qregexp.pyc
-rw-r–r-- 1 root root 1577 2009-02-08 15:26 eric4-re.py
-rw-r–r-- 1 root root 1723 2009-07-09 00:30 eric4-re.pyc
-rw-r–r-- 1 root root 1571 2009-02-08 15:26 eric4-tray.py
-rw-r–r-- 1 root root 1714 2009-07-09 00:30 eric4-tray.pyc
-rw-r–r-- 1 root root 2062 2009-02-08 15:26 eric4-trpreviewer.py
-rw-r–r-- 1 root root 2189 2009-07-09 00:30 eric4-trpreviewer.pyc
-rw-r–r-- 1 root root 1680 2009-02-08 15:26 eric4-uipreviewer.py
-rw-r–r-- 1 root root 1842 2009-07-09 00:30 eric4-uipreviewer.pyc
-rw-r–r-- 1 root root 1647 2009-02-08 15:26 eric4-unittest.py
-rw-r–r-- 1 root root 1832 2009-07-09 00:30 eric4-unittest.pyc
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 Examples/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 Globals/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 Graphics/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 Helpviewer/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 i18n/
drwxr-xr-x 3 root root 4096 2009-07-16 21:12 icons/
-rw-r–r-- 1 root root 294 2009-02-08 15:26 init.py
-rw-r–r-- 1 root root 347 2009-07-09 00:30 init.pyc
-rw-r–r-- 1 root root 2832 2009-02-08 15:26 install-i18n.py
-rw-r–r-- 1 root root 3341 2009-07-09 00:30 install-i18n.pyc
-rw-r–r-- 1 root root 22109 2009-05-22 08:10 install.py
-rw-r–r-- 1 root root 18900 2009-07-09 00:30 install.pyc
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 KdeQt/
-rw-r–r-- 1 root root 32856 2009-07-09 00:30 LICENSE.GPL3
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 MultiProject/
-rw-r–r-- 1 root root 4268 2009-02-08 15:26 patch_modpython.py
-rw-r–r-- 1 root root 4242 2009-07-09 00:30 patch_modpython.pyc
-rw-r–r-- 1 root root 5199 2009-05-22 08:09 patch_pyxml.py
-rw-r–r-- 1 root root 4990 2009-07-09 00:30 patch_pyxml.pyc
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 pixmaps/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 PluginManager/
drwxr-xr-x 8 root root 4096 2009-07-16 21:12 Plugins/
drwxr-xr-x 3 root root 4096 2009-07-16 21:12 Preferences/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 Project/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 PyUnit/
drwxr-xr-x 5 root root 4096 2009-07-16 21:12 QScintilla/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 Styles/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 Tasks/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 Templates/
drwxr-xr-x 4 root root 4096 2009-07-16 21:12 ThirdParty/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 Tools/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 UI/
-rw-r–r-- 1 root root 3698 2009-05-02 10:29 uninstall.py
-rw-r–r-- 1 root root 4097 2009-07-09 00:30 uninstall.pyc
drwxr-xr-x 3 root root 4096 2009-07-16 21:12 Utilities/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 VCS/
drwxr-xr-x 2 root root 4096 2009-07-16 21:12 ViewManager/

This is the designer command with and without root permission:

linux-dt4k:/usr/lib/python2.6/site-packages/eric4 # designer
bash: designer: command not found
linux-dt4k:/usr/lib/python2.6/site-packages/eric4 # exit
exit
jhj@linux-dt4k:/usr/lib/python2.6/site-packages/eric4> designer
bash: designer: command not found

I will search for the lib you mention.

Jan

Not sure why you’re getting different behaviour from myself as you can see when I type in a command I get not found and how to find it. My suse is relatively clean the only extra repos I have are kde42 but I wouldn’t of thought this is providing it but not really sure.

zypper in libqt4-devel
Or use yast and search for libqt4-devel.

I have now installed libqt4-develop, and I am able to start the Qt-designer from the form-tab in the project-viewer. So I will continue with the LogParser Tutorial :slight_smile:

Thanks for your help in getting me up and runing :slight_smile:

Jan