Andreas Pakulat | 4 Jan 2007 03:04
Picon
Picon
Gravatar

eric4 doesn't run after installation

Hi,

I installed the 1230 snapshot for eric4 today and it seems that the line
for the Shell import in DebugViewer.py is commented out. This leads to a
failure to start because the embedded Shell is to be created while
starting eric4.

Andreas

--

-- 
Your life would be very empty if you had nothing to regret.
jul | 4 Jan 2007 07:58
Picon

Re: eric4 doesn't run after installation


> I installed the 1230 snapshot for eric4 today and it seems that the line
> for the Shell import in DebugViewer.py is commented out. This leads to a
> failure to start because the embedded Shell is to be created while
> starting eric4.
>   

Hi,
Don't have the problem there with the same snapshot.
++
Jul
Detlev Offenbach | 7 Jan 2007 14:10
Picon
Favicon

Re: eric4 doesn't run after installation

On Thursday 04 January 2007 03:04, Andreas Pakulat wrote:
> Hi,
>
> I installed the 1230 snapshot for eric4 today and it seems that the line
> for the Shell import in DebugViewer.py is commented out. This leads to a
> failure to start because the embedded Shell is to be created while
> starting eric4.
>
> Andreas

Hi,

I can confirm this problem. It occurs, if you configure eric4, that the shell 
is embedded in the debug viewer. Meanwhile use eric4-configure to change this 
to use the separate shell window. I'll fix it in the next snapshot. That will 
take a couple of days because it will include support for the new QScintilla2 
APIs API.

Regards,
Detlev
--

-- 
Detlev Offenbach
detlev@...
Baptiste GRENIER | 9 Jan 2007 17:38

Beginner's problem with PyQt4 and eric3

Hello and Happy new year !

I'm new to PyQt4 and I want to use Eric3 for coding.

In order to setup Eric to work with PyQt4, I did follow 
http://ericide.python-hosting.com/wiki/Doc/Tutorials/PyQt1 .
Everything seems good, in the "Programs Preferences Dialog" everything is 
there (except PyLint, the CORBA IDLE compiler and cx_freeze).

My project is a QT4 project, I did create the User Interface with 
QT-Designer-4.
After the importation of the UI files in my project, I did a "Compil forms" 
and the .py are there.
But in the forms view of the Project Browser, the "Generate Subclass" shown on 
the context menu of ui files is greyed out and I can't use it...

I'm using Eric 3.9.2 on Archlinux, but with the 3.9.4 on Gentoo, it was the 
same.

Am I missing something, or is it a feature/a bug ?

Thanks for any help. :)

Baptiste

--

-- 
There are only two kinds of tequila.  Good and better.
Detlev Offenbach | 9 Jan 2007 18:39
Picon
Favicon

Re: Beginner's problem with PyQt4 and eric3

On Tuesday 09 January 2007 17:38, Baptiste GRENIER wrote:
> Hello and Happy new year !
>
> I'm new to PyQt4 and I want to use Eric3 for coding.
>
> In order to setup Eric to work with PyQt4, I did follow
> http://ericide.python-hosting.com/wiki/Doc/Tutorials/PyQt1 .
> Everything seems good, in the "Programs Preferences Dialog" everything is
> there (except PyLint, the CORBA IDLE compiler and cx_freeze).
>
> My project is a QT4 project, I did create the User Interface with
> QT-Designer-4.
> After the importation of the UI files in my project, I did a "Compil forms"
> and the .py are there.
> But in the forms view of the Project Browser, the "Generate Subclass" shown
> on the context menu of ui files is greyed out and I can't use it...
>
> I'm using Eric 3.9.2 on Archlinux, but with the 3.9.4 on Gentoo, it was the
> same.
>
> Am I missing something, or is it a feature/a bug ?
>
> Thanks for any help. :)
>
> Baptiste

Hi Baptiste,

this is a feature. "Generate Subclass" is only available for Qt3 or KDE 
projects because Qt4 (and PyQt4) work a little bit different than Qt3.
(Continue reading)

Baptiste GRENIER | 9 Jan 2007 19:00

Re: Beginner's problem with PyQt4 and eric3

Le mardi 09 janvier 2007 18:39, Detlev Offenbach a écrit :
> Hi Baptiste,
>
> this is a feature. "Generate Subclass" is only available for Qt3 or KDE
> projects because Qt4 (and PyQt4) work a little bit different than Qt3.
>
> Regards,
> Detlev

Hi Detlev,
Thanks for your quick answer :)

I will search mode doc on PyQt4, but there isn't a lot, excpet a thousand of 
hello worlds...

Perhaps do you have in your bookmarks a good doc on PyQt4 using the MVC 
pattern ?

Anyway, thanks again and congratulations for this amazing piece of software.

Baptiste.

--

-- 
Don't smoke the next cigarette.  Repeat.
Detlev Offenbach | 9 Jan 2007 19:21
Picon
Favicon

Re: Beginner's problem with PyQt4 and eric3

On Tuesday 09 January 2007 19:00, Baptiste GRENIER wrote:
> Le mardi 09 janvier 2007 18:39, Detlev Offenbach a écrit :
> > Hi Baptiste,
> >
> > this is a feature. "Generate Subclass" is only available for Qt3 or KDE
> > projects because Qt4 (and PyQt4) work a little bit different than Qt3.
> >
> > Regards,
> > Detlev
>
> Hi Detlev,
> Thanks for your quick answer :)
>
> I will search mode doc on PyQt4, but there isn't a lot, excpet a thousand
> of hello worlds...
>
> Perhaps do you have in your bookmarks a good doc on PyQt4 using the MVC
> pattern ?
>
> Anyway, thanks again and congratulations for this amazing piece of
> software.
>
> Baptiste.

You could use the Qt4 book and transfer the C++ examples to Python. PyQt4 
comes with a bunch of examples (these are mostly Python ports of the Qt4 
examples). Sometime this year there is supposed to be available a book on 
PyQt4 programming.

I nearly forgot the biggest example of PyQt4 programming. It is called eric4, 
(Continue reading)

Christian Heimes | 12 Jan 2007 18:11
Picon

Eric4 bug in documentation browser (Windows)

Hello!

I'm testing the latest Eric4 snapshot on Windows. The documentation 
browser has issues with the Windows path. I'm getting the error message 
"File /C:/Program 
Files/Python25/lib/site-packages/eric4/Documentation/Source/index-eric4.html 
not found". Notice the / in front of C:/!

After some debugging I changed Utilities.normjoinpath(a, *p) from

     return os.path.normpath(os.path.join(a, *p))

to

     return '/'.join((a,)+p)

the help browser displayed the first page but all links were broken. The 
help browser itself has issues with file:///C:/Program Files/

I wasn't able to figure out the second issue.

HTH

Christian
Detlev Offenbach | 13 Jan 2007 12:14
Picon
Favicon

Re: Eric4 bug in documentation browser (Windows)

Hi,

I was able to reproduce your problem. It will be fixed in the next snapshot.

Regards,
Detlev

On Friday 12 January 2007 18:11, Christian Heimes wrote:
> Hello!
>
> I'm testing the latest Eric4 snapshot on Windows. The documentation
> browser has issues with the Windows path. I'm getting the error message
> "File /C:/Program
> Files/Python25/lib/site-packages/eric4/Documentation/Source/index-eric4.htm
>l not found". Notice the / in front of C:/!
>
> After some debugging I changed Utilities.normjoinpath(a, *p) from
>
>      return os.path.normpath(os.path.join(a, *p))
>
> to
>
>      return '/'.join((a,)+p)
>
> the help browser displayed the first page but all links were broken. The
> help browser itself has issues with file:///C:/Program Files/
>
> I wasn't able to figure out the second issue.
>
> HTH
(Continue reading)

Detlev Offenbach | 14 Jan 2007 13:27
Picon
Favicon

ANN: new eric4 snapshot available

Hi,

this is to inform you about the availability of a new eric4 snapshot. Please 
not, that this snapshot requires a recent QScintilla2 snapshot due to the 
changes APIs interface. This snapshot contains bugfixes and the followings 
new functionality.

- a configuration option to enable/disable the usage of
  autocompletion fill-up characters
- support for the new QScintilla2 APIs interface 
  (see the Editor->APIs configuration page)

As usual it is available via http://www.die-offenbachs.de/detlev/snapshots4.

Regards,
Detlev
--

-- 
Detlev Offenbach
detlev@...

Gmane