Re: [PyKDE] Eric questions

2004-04-18 Thread Detlev Offenbach
Hi,

Am Sonntag, 18. April 2004 22:24 schrieb jul:
> Hi,
> Thanks for help concerning cvs handling.
> I nearly succeed in creating my new cvs base threw eric interface!
> I have created the cvs repository successfuly and correctly imported
> my sources files as root user.
>
> Now, I've just a little problem of permissions when trying to import
> this project from the repository, for a non-root user.
> I have done as follow:
> Project -> Version Control...-> New from repository
> and I gave the correct path for cvs repository and archive name
> ('clim_project' in my case)
>
> Then I obtain the following error in a two part window :
> 
> cvs -f -d /usr/local/cvsroot/ checkout -r clim_project clim_project
> ***
> cvs checkout: failed to create lock directory for
> `/usr/local/cvsroot/clim_project'
> (/usr/local/cvsroot/clim_project/#cvs.lock): Permission denied
> cvs checkout: failed to obtain dir lock in repository
> `/usr/local/cvsroot/clim_project'
> cvs [checkout aborted]: read lock failed - giving up
> 
>
> I believe this is mostly a cvs question, but what must I do to obtain
> permissions for a non root user?

Indeed, this is a cvs question. You should make sure, that the repository 
is owned by the group of the developers and that it has write permission 
for the group.

>
> Regards.
> ++
> Jul.
>

Detlev
-- 
Detlev Offenbach
[EMAIL PROTECTED]

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] Eric questions

2004-04-18 Thread jul
Hi,
Thanks for help concerning cvs handling.
I nearly succeed in creating my new cvs base threw eric interface!
I have created the cvs repository successfuly and correctly imported my 
sources files as root user.

Now, I've just a little problem of permissions when trying to import 
this project from the repository, for a non-root user.
I have done as follow:
Project -> Version Control...-> New from repository
and I gave the correct path for cvs repository and archive name 
('clim_project' in my case)

Then I obtain the following error in a two part window :

cvs -f -d /usr/local/cvsroot/ checkout -r clim_project clim_project
***
cvs checkout: failed to create lock directory for 
`/usr/local/cvsroot/clim_project' 
(/usr/local/cvsroot/clim_project/#cvs.lock): Permission denied
cvs checkout: failed to obtain dir lock in repository 
`/usr/local/cvsroot/clim_project'
cvs [checkout aborted]: read lock failed - giving up


I believe this is mostly a cvs question, but what must I do to obtain 
permissions for a non root user?

Regards.
++
Jul.
Detlev Offenbach wrote:

hi,

Am Samstag, 10. April 2004 18:23 schrieb jul:
 

3) Is anyone have used the CVS functionnalities of eric (Project Menu
-> Version Control) ? I'm very interessed by this function, but I have
no idea make it work with eric3. Is there any doc somewhere ?
   

Unfortunately user documentation is eric's weak point. Any help in this 
area is welcome.

To create a new project select Project->Version Control->New from 
repository... and enter the relevant info into the dialog. Use the 
What's this help for further infos. ...->Add to repository adds a local 
project to the repository. If you create a new local project, you have 
the option to place it into the repository as well (see checkboy in the 
new project dialog). 

The other menu entries should be fairly self explanatory.

To add a project file to the repository just bring up the context menu 
for this file in the project sources browser (or one of the others) and 
select 'Add to repository'.

Regards
Detlev
 

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] Eric questions

2004-04-14 Thread Detlev Offenbach
hi,

Am Samstag, 10. April 2004 18:23 schrieb jul:
>  3) Is anyone have used the CVS functionnalities of eric (Project Menu
> -> Version Control) ? I'm very interessed by this function, but I have
> no idea make it work with eric3. Is there any doc somewhere ?

Unfortunately user documentation is eric's weak point. Any help in this 
area is welcome.

To create a new project select Project->Version Control->New from 
repository... and enter the relevant info into the dialog. Use the 
What's this help for further infos. ...->Add to repository adds a local 
project to the repository. If you create a new local project, you have 
the option to place it into the repository as well (see checkboy in the 
new project dialog). 

The other menu entries should be fairly self explanatory.

To add a project file to the repository just bring up the context menu 
for this file in the project sources browser (or one of the others) and 
select 'Add to repository'.

Regards
Detlev
-- 
Detlev Offenbach
[EMAIL PROTECTED]

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] Eric questions

2004-04-13 Thread jul
Ok. I've just found the solution. I'll answer myself for all :)
You can easily profile your program by a right click on your source 
code, and select "Profile data..." in the "Show" menu.
Eric hasn't finished to surprise me.
Thanks.
++
Jul.

jul wrote:

Hi,
Thanks for your precisions.
I've re-installed qt, and because of dependencies, kde too!!
But It works now :)
Any ideas about how works the profiler ?
Thanks.
++
Jul.
Detlev Offenbach wrote:

Am Sonntag, 11. April 2004 12:32 schrieb Phil Thompson:
 

On Sunday 11 April 2004 12:59 pm, jul wrote:
  

Hi again,
Well, concerning my v3.4 install problem, I've looked a bit
further...
I've found that the "PixmapCache.py" module calls the
"QPixmap.fromMimeSource" function from the 'qt' module.
The QPixmap class exists in my qt.py module, but doesn't have the
'fromMimeSource' attribute
The qt.py header indicates that the module was generated by SIP 3.10
which seems to be recent enough...
I don't understand why the file wasn't generated correctly.
Hope it helps.
Regards,
++
Jul.
jul wrote:


Hi all,

I have few questions about Eric3:

1) I've installed  the last eric3 version (3.4.1)  but the
following error is  raised on launch :

$ eric3
Traceback (most recent call last):
 File
"/usr/local/CDAT/lib/python2.3/site-packages/eric3/eric3.py", line
147, in ?
   main()
 File
"/usr/local/CDAT/lib/python2.3/site-packages/eric3/eric3.py", line
132, in main
   mw = UserInterface(loc, splash)
 File
"/usr/local/CDAT/lib/python2.3/site-packages/UI/UserInterface.py",
line 138, in __init__
 File
"/usr/local/CDAT/lib/python2.3/site-packages/UI/PixmapCache.py",
line 44, in getPixmap
 File
"/usr/local/CDAT/lib/python2.3/site-packages/UI/PixmapCache.py",
line 32, in getPixmap
AttributeError: fromMimeSource
Mutex destroy failure: Device or resource busy

Actually, I use the following versions :
   - Python 2.3.3
   - QT 3.0.5
   - PyQT 3.11
   - QScintilla 1.2
   - SIP 3.10.1
  

It looks like Detlev has (accidentally?) added a dependency on Qt
v3.1.
  


The introduction of QPixmap.fromMimeSource was done intentionally. 
Unfortunately I wasn't aware, that it was added in Qt 3.1. The Qt API 
documantation doesn't say, when a specific method/function was 
introduced. I think I have to update the dependancy checks and the 
eric web site.

Detlev
 

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] Eric questions

2004-04-13 Thread jul
Hi,
Thanks for your precisions.
I've re-installed qt, and because of dependencies, kde too!!
But It works now :)
Any ideas about how works the profiler ?
Thanks.
++
Jul.
Detlev Offenbach wrote:

Am Sonntag, 11. April 2004 12:32 schrieb Phil Thompson:
 

On Sunday 11 April 2004 12:59 pm, jul wrote:
   

Hi again,
Well, concerning my v3.4 install problem, I've looked a bit
further...
I've found that the "PixmapCache.py" module calls the
"QPixmap.fromMimeSource" function from the 'qt' module.
The QPixmap class exists in my qt.py module, but doesn't have the
'fromMimeSource' attribute
The qt.py header indicates that the module was generated by SIP 3.10
which seems to be recent enough...
I don't understand why the file wasn't generated correctly.
Hope it helps.
Regards,
++
Jul.
jul wrote:
 

Hi all,

I have few questions about Eric3:

1) I've installed  the last eric3 version (3.4.1)  but the
following error is  raised on launch :

$ eric3
Traceback (most recent call last):
 File
"/usr/local/CDAT/lib/python2.3/site-packages/eric3/eric3.py", line
147, in ?
   main()
 File
"/usr/local/CDAT/lib/python2.3/site-packages/eric3/eric3.py", line
132, in main
   mw = UserInterface(loc, splash)
 File
"/usr/local/CDAT/lib/python2.3/site-packages/UI/UserInterface.py",
line 138, in __init__
 File
"/usr/local/CDAT/lib/python2.3/site-packages/UI/PixmapCache.py",
line 44, in getPixmap
 File
"/usr/local/CDAT/lib/python2.3/site-packages/UI/PixmapCache.py",
line 32, in getPixmap
AttributeError: fromMimeSource
Mutex destroy failure: Device or resource busy

Actually, I use the following versions :
   - Python 2.3.3
   - QT 3.0.5
   - PyQT 3.11
   - QScintilla 1.2
   - SIP 3.10.1
   

It looks like Detlev has (accidentally?) added a dependency on Qt
v3.1.
   

The introduction of QPixmap.fromMimeSource was done intentionally. 
Unfortunately I wasn't aware, that it was added in Qt 3.1. The Qt API 
documantation doesn't say, when a specific method/function was 
introduced. I think I have to update the dependancy checks and the eric 
web site.

Detlev
 

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] Eric questions

2004-04-13 Thread Detlev Offenbach
Am Sonntag, 11. April 2004 12:32 schrieb Phil Thompson:
> On Sunday 11 April 2004 12:59 pm, jul wrote:
> > Hi again,
> > Well, concerning my v3.4 install problem, I've looked a bit
> > further...
> >
> > I've found that the "PixmapCache.py" module calls the
> > "QPixmap.fromMimeSource" function from the 'qt' module.
> > The QPixmap class exists in my qt.py module, but doesn't have the
> > 'fromMimeSource' attribute
> >
> > The qt.py header indicates that the module was generated by SIP 3.10
> > which seems to be recent enough...
> > I don't understand why the file wasn't generated correctly.
> > Hope it helps.
> >
> > Regards,
> > ++
> > Jul.
> >
> > jul wrote:
> > > Hi all,
> > >
> > > I have few questions about Eric3:
> > >
> > > 1) I've installed  the last eric3 version (3.4.1)  but the
> > > following error is  raised on launch :
> > > 
> > > $ eric3
> > > Traceback (most recent call last):
> > >   File
> > > "/usr/local/CDAT/lib/python2.3/site-packages/eric3/eric3.py", line
> > > 147, in ?
> > > main()
> > >   File
> > > "/usr/local/CDAT/lib/python2.3/site-packages/eric3/eric3.py", line
> > > 132, in main
> > > mw = UserInterface(loc, splash)
> > >   File
> > > "/usr/local/CDAT/lib/python2.3/site-packages/UI/UserInterface.py",
> > > line 138, in __init__
> > >   File
> > > "/usr/local/CDAT/lib/python2.3/site-packages/UI/PixmapCache.py",
> > > line 44, in getPixmap
> > >   File
> > > "/usr/local/CDAT/lib/python2.3/site-packages/UI/PixmapCache.py",
> > > line 32, in getPixmap
> > > AttributeError: fromMimeSource
> > > Mutex destroy failure: Device or resource busy
> > > 
> > > Actually, I use the following versions :
> > > - Python 2.3.3
> > > - QT 3.0.5
> > > - PyQT 3.11
> > > - QScintilla 1.2
> > > - SIP 3.10.1
>
> It looks like Detlev has (accidentally?) added a dependency on Qt
> v3.1.

The introduction of QPixmap.fromMimeSource was done intentionally. 
Unfortunately I wasn't aware, that it was added in Qt 3.1. The Qt API 
documantation doesn't say, when a specific method/function was 
introduced. I think I have to update the dependancy checks and the eric 
web site.

Detlev
-- 
Detlev Offenbach
[EMAIL PROTECTED]

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] Eric questions

2004-04-11 Thread Phil Thompson
On Sunday 11 April 2004 12:59 pm, jul wrote:
> Hi again,
> Well, concerning my v3.4 install problem, I've looked a bit further...
>
> I've found that the "PixmapCache.py" module calls the
> "QPixmap.fromMimeSource" function from the 'qt' module.
> The QPixmap class exists in my qt.py module, but doesn't have the
> 'fromMimeSource' attribute
>
> The qt.py header indicates that the module was generated by SIP 3.10
> which seems to be recent enough...
> I don't understand why the file wasn't generated correctly.
> Hope it helps.
>
> Regards,
> ++
> Jul.
>
> jul wrote:
> > Hi all,
> >
> > I have few questions about Eric3:
> >
> > 1) I've installed  the last eric3 version (3.4.1)  but the following
> > error is  raised on launch :
> > 
> > $ eric3
> > Traceback (most recent call last):
> >   File "/usr/local/CDAT/lib/python2.3/site-packages/eric3/eric3.py",
> > line 147, in ?
> > main()
> >   File "/usr/local/CDAT/lib/python2.3/site-packages/eric3/eric3.py",
> > line 132, in main
> > mw = UserInterface(loc, splash)
> >   File
> > "/usr/local/CDAT/lib/python2.3/site-packages/UI/UserInterface.py",
> > line 138, in __init__
> >   File
> > "/usr/local/CDAT/lib/python2.3/site-packages/UI/PixmapCache.py", line
> > 44, in getPixmap
> >   File
> > "/usr/local/CDAT/lib/python2.3/site-packages/UI/PixmapCache.py", line
> > 32, in getPixmap
> > AttributeError: fromMimeSource
> > Mutex destroy failure: Device or resource busy
> > 
> > Actually, I use the following versions :
> > - Python 2.3.3
> > - QT 3.0.5
> > - PyQT 3.11
> > - QScintilla 1.2
> > - SIP 3.10.1

It looks like Detlev has (accidentally?) added a dependency on Qt v3.1.

Upgrade Qt and re-build SIP and PyQt.

Phil

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] Eric questions

2004-04-11 Thread jul
Hi again,
Well, concerning my v3.4 install problem, I've looked a bit further...
I've found that the "PixmapCache.py" module calls the  
"QPixmap.fromMimeSource" function from the 'qt' module.
The QPixmap class exists in my qt.py module, but doesn't have the 
'fromMimeSource' attribute

The qt.py header indicates that the module was generated by SIP 3.10 
which seems to be recent enough...
I don't understand why the file wasn't generated correctly.
Hope it helps.

Regards,
++
Jul.
jul wrote:

Hi all,

I have few questions about Eric3:

1) I've installed  the last eric3 version (3.4.1)  but the following 
error is  raised on launch :

$ eric3
Traceback (most recent call last):
  File "/usr/local/CDAT/lib/python2.3/site-packages/eric3/eric3.py", 
line 147, in ?
main()
  File "/usr/local/CDAT/lib/python2.3/site-packages/eric3/eric3.py", 
line 132, in main
mw = UserInterface(loc, splash)
  File 
"/usr/local/CDAT/lib/python2.3/site-packages/UI/UserInterface.py", 
line 138, in __init__
  File 
"/usr/local/CDAT/lib/python2.3/site-packages/UI/PixmapCache.py", line 
44, in getPixmap
  File 
"/usr/local/CDAT/lib/python2.3/site-packages/UI/PixmapCache.py", line 
32, in getPixmap
AttributeError: fromMimeSource
Mutex destroy failure: Device or resource busy

Actually, I use the following versions :
- Python 2.3.3
- QT 3.0.5
- PyQT 3.11
- QScintilla 1.2
- SIP 3.10.1


___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde