Re: [PyKDE] Trying to get eric3 working

2005-11-26 Thread Konstantin Ryabitsev
On Sat, 2005-26-11 at 19:46 -0500, Jack Orenstein wrote:
>  [EMAIL PROTECTED] software]# rpm -Uvh 
> PyQt-qscintilla-3.14.1-0.1.i386.rpm eric-3.7.1-0.1.i386.rpm 
> PyQt-3.14.1-1.i386.rpm sip-4.3.1-1.i386.rpm
>  error: Failed dependencies:
>  libc.so.6(GLIBC_2.4) is needed by sip-4.3.1-1.i386

Where did you get that sip library? Sip is shipped by core, so you
should be able to "yum install sip".

[EMAIL PROTECTED]:[~]$ yum provides sip
Searching Packages:
Setting up repositories
Reading repository metadata in from local files
sip.i386 4.2.1-1base


> P.S. I see you are at McGill. I was there 74-83. Regards to Tim
> Merrett, if you know him, and others in the School of Computer
> Science.

I just started a few weeks ago, so I don't know that many people. I
worked at Duke before this.

Regards,
-- 
Konstantin Ryabitsev
McGill University WSG
Montréal, Québec

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] Trying to get eric3 working

2005-11-26 Thread Jack Orenstein

Konstantin Ryabitsev wrote:


My packages aren't yet in extras, but they should get you up and
running, if you want to test them out. To install, make sure fedora
extras repository is enabled, then:

yum install qscintilla

download:
http://linux.duke.edu/~icon/RPMS/i386/PyQt-qscintilla-3.14.1-0.1.i386.rpm
http://linux.duke.edu/~icon/RPMS/i386/eric-3.7.1-0.1.i386.rpm

rpm -Uvh PyQt-qscintilla*rpm eric*rpm


I installed qscintilla:

[EMAIL PROTECTED] software]# yum install qscintilla
...
Installed: qscintilla.i386 0:1.6-3.fc4
Complete!

Then I tried installing the RPMs you linked to:

[EMAIL PROTECTED] software]# rpm -Uvh 
PyQt-qscintilla-3.14.1-0.1.i386.rpm eric-3.7.1-0.1.i386.rpm

error: Failed dependencies:
PyQt = 3.14.1 is needed by PyQt-qscintilla-3.14.1-0.1.i386
PyQt is needed by eric-3.7.1-0.1.i386

Added PyQt:

[EMAIL PROTECTED] software]# rpm -Uvh 
PyQt-qscintilla-3.14.1-0.1.i386.rpm eric-3.7.1-0.1.i386.rpm 
PyQt-3.14.1-1.i386.rpm

error: Failed dependencies:
sip is needed by PyQt-3.14.1-1.i386

Added sip, and ran into the glibc problem again:

[EMAIL PROTECTED] software]# rpm -Uvh 
PyQt-qscintilla-3.14.1-0.1.i386.rpm eric-3.7.1-0.1.i386.rpm 
PyQt-3.14.1-1.i386.rpm sip-4.3.1-1.i386.rpm

error: Failed dependencies:
libc.so.6(GLIBC_2.4) is needed by sip-4.3.1-1.i386

Jack

P.S. I see you are at McGill. I was there 74-83. Regards to Tim
Merrett, if you know him, and others in the School of Computer
Science.

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] eric3: using the keyboard to move between windows

2005-11-26 Thread Ramon Diaz-Uriarte
Great news!!! Thanks, I'll be looking forward to it!

R.

On 11/26/05, Detlev Offenbach <[EMAIL PROTECTED]> wrote:
> Am Samstag 19 November 2005 11:48 schrieb Ramon Diaz-Uriarte:
> > Dear All,
> >
> > In eric3, is there a way to use only the keyboard (i.e., no mouse) to
> > move between windows (e.g., shell, project-browser, editing window)
> > and between the splits of the editing window? I've been looking
> > around, but cannot find it.
> >
> > If there is no predifined way, is there a way to assign keyboard
> > shortcuts to these actions? Again, I've not been able to locate these
> > actions among the keyboard shortcuts under Settings.
> >
> > Thanks,
> >
> > R.
> > --
> > Ramon Diaz-Uriarte
> > Bioinformatics Unit
> > Spanish National Cancer Centre (CNIO)
> > http://ligarto.org/rdiaz
> >
>
> This functionality will be part of the first snapshot of the 3.9 development
> of eric3.
>
> Detlev
> --
> Detlev Offenbach
> [EMAIL PROTECTED]
>


--
Ramon Diaz-Uriarte
Bioinformatics Unit
Spanish National Cancer Centre (CNIO)
http://ligarto.org/rdiaz

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] Trying to get eric3 working

2005-11-26 Thread Konstantin Ryabitsev
On Sat, 2005-26-11 at 16:36 -0500, Jack Orenstein wrote:
> My FC4 system appears to have glibc 2.3.5. Does that also have
> to be upgraded? Is this chasing of dependencies (eric -> pyqt ->
> sip -> glibc) really the standard installation path?

My packages aren't yet in extras, but they should get you up and
running, if you want to test them out. To install, make sure fedora
extras repository is enabled, then:

yum install qscintilla

download:
http://linux.duke.edu/~icon/RPMS/i386/PyQt-qscintilla-3.14.1-0.1.i386.rpm
http://linux.duke.edu/~icon/RPMS/i386/eric-3.7.1-0.1.i386.rpm

rpm -Uvh PyQt-qscintilla*rpm eric*rpm

Let me know if you have any troubles with these.

Cheers,
-- 
Konstantin Ryabitsev
McGill University WSG
Montréal, Québec

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] Trying to get eric3 working

2005-11-26 Thread Jack Orenstein

Michael Andrews wrote:

On Sun, 2005-11-06 at 16:09 -0500, Jack Orenstein wrote:



> Downloaded the sip and PyQt source RPMS.
> Rebuild and installed sip from the FC4 .src.rpm w/ rpmbuild --rebuild

OK. I got sip-4.3.1.



Didn't you also get sip-devel-4.3.1?  Install it and rerun the PyQt
rebuild.


[Getting back to my eric3 installation attempt ...]

rpm -ivh sip-4.3.1-1.i386.rpm sip-devel-4.3.1-1.i386.rpm
error: Failed dependencies:
libc.so.6(GLIBC_2.4) is needed by sip-4.3.1-1.i386
[EMAIL PROTECTED] software]#

My FC4 system appears to have glibc 2.3.5. Does that also have
to be upgraded? Is this chasing of dependencies (eric -> pyqt ->
sip -> glibc) really the standard installation path?

Jack

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[PyKDE] eric3 : cut line - append to clipboard

2005-11-26 Thread Alan Ezust
emacs ctrl-k - cut the current line and append it to the clipboard.
I miss it.

Feature request? Or does it already exist? Is there an API for writing
macros in eric3?

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] eric3: using the keyboard to move between windows

2005-11-26 Thread Detlev Offenbach
Am Samstag 19 November 2005 11:48 schrieb Ramon Diaz-Uriarte:
> Dear All,
>
> In eric3, is there a way to use only the keyboard (i.e., no mouse) to
> move between windows (e.g., shell, project-browser, editing window)
> and between the splits of the editing window? I've been looking
> around, but cannot find it.
>
> If there is no predifined way, is there a way to assign keyboard
> shortcuts to these actions? Again, I've not been able to locate these
> actions among the keyboard shortcuts under Settings.
>
> Thanks,
>
> R.
> --
> Ramon Diaz-Uriarte
> Bioinformatics Unit
> Spanish National Cancer Centre (CNIO)
> http://ligarto.org/rdiaz
>

This functionality will be part of the first snapshot of the 3.9 development 
of eric3.

Detlev
-- 
Detlev Offenbach
[EMAIL PROTECTED]

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] Using PIL in PyQT

2005-11-26 Thread Diez B. Roggisch

Rajeev Joseph Sebastian wrote:

Hello all,

Is it possible to load images using PIL and draw them on screen using PyQt ? 
Does anyone have any code snippet that could make this possible ?


Certainly. Qt supports some powerful formats, e.g. PNG. So open a image 
with PIL, and serialize it to memory using cStringIO as a PNG. The load 
it as QImage from there, providing the data as binary string by the 
means of a QByteArray. Module struct or ctypes might come in handy here.


Other data formats may be even better - try whatever suits you best.

However I don't have code - but I guess you get the gist.

Diez

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] Sudden segfault on FC3

2005-11-26 Thread Detlev Offenbach
Did it work previously? If so, what did you change?

Am Freitag 25 November 2005 12:28 schrieb Willi Richert:
> For unknown reasons I get today a segfault when starting eric3:
>
>  [EMAIL PROTECTED]:~> LANG=en eric3
> Speicherzugriffsfehler
>
> GDB shows me the following error:
> Starting program: /usr/bin/python
> /usr/lib/python2.3/site-packages/eric3/eric3.py Reading symbols from shared
> object read from target memory...done. Loaded system supplied DSO at
> 0xb7fb1000
> [Thread debugging using libthread_db enabled]
> [New Thread -1208412480 (LWP 24643)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1208412480 (LWP 24643)]
> 0x006f in PyType_IsSubtype (a=0xb5d38cdf, b=0xb7fb0500) at
> Objects/typeobject.c:825 825
> assert(PyTuple_Check(mro));
> (gdb) list
> 820 mro = a->tp_mro;
> 821 if (mro != NULL) {
> 822 /* Deal with multiple inheritance without recursion
> 823by walking the MRO tuple */
> 824 int i, n;
> 825 assert(PyTuple_Check(mro));
> 826 n = PyTuple_GET_SIZE(mro);
> 827 for (i = 0; i < n; i++) {
> 828 if (PyTuple_GET_ITEM(mro, i) == (PyObject
> *)b) 829 return 1;
>
> My current installed versionson my Fedora Core 3 machine:
>
> PyQt-devel-3.15-0.1.fc3.kde
> python-devel-2.3.4-13.1
> PyQt-3.15-0.1.fc3.kde
> PyQt-qscintilla-3.15-0.1.fc3.kde
> python-2.3.4-13.1
> qt-3.3.4-17.4.fc3.kde
> qt-devel-3.3.4-17.4.fc3.kde
> PyQt-examples-3.15-0.1.fc3.kde
> sip-4.3.1-0.1.fc3.kde
> sip-devel-4.3.1-0.1.fc3.kde
>
>
> Any hint is appreciated,
> wr
>

Detlev
-- 
Detlev Offenbach
[EMAIL PROTECTED]

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde