Re: [Zope3-Users] Modified IntId utility

2007-09-25 Thread Stefan H. Holek
On 24. Sep 2007, at 18:53, Maken Seteva wrote: Fellow Zopers. I have made a slight modification to my intid util by inheriting from IntId and overriding _generateId(). I do this to be sure that all new created objects will have an incrementing number where the first object created gets id

Re: [Zope3-Users] Modified IntId utility

2007-09-25 Thread Frank Burkhardt
Hi, On Mon, Sep 24, 2007 at 06:53:58PM +0200, Maken Seteva wrote: Fellow Zopers. I have made a slight modification to my intid util by inheriting from IntId and overriding _generateId(). I do this to be sure that all new created objects will have an incrementing number where the first

[Zope3-Users] zopeproject (debugging an app)

2007-09-25 Thread roymathew
In the doc. for zopeproject, it says: Note: Even exceptions such as Unauthorized (which normally leads to a login screen) or NotFound (which normally leads to an HTTP 404 response) will trigger the debugger. Is there a workaround, so that I can run bin/paster server debug.ini on an

Re: [Zope3-Users] Modified IntId utility

2007-09-25 Thread Gary Poster
On Sep 25, 2007, at 3:27 AM, Frank Burkhardt wrote: I'm using a modified IntId utility which starts IDs at 1 and counts upwards, too. I needed some permanent link for each object which was easy to implement via IntId. The modification was made to safe keystrokes when typing the permalink.

[Zope3-Users] zope.app.session and eggs?

2007-09-25 Thread Mats Nordgren
I finally got the courage to try the eggs install on Windows after reading the documentation on zopeproject. It worked great and I have my brand new project working. Now here is the problem. I'm assuming a python setup.py install will download all the parts and install it into my python

[Zope3-Users] Re: zope.app.session and eggs?

2007-09-25 Thread Philipp von Weitershausen
Mats Nordgren wrote: I finally got the courage to try the eggs install on Windows after reading the documentation on zopeproject. It worked great and I have my brand new project working. Great to hear. Now here is the problem. I'm assuming a python setup.py install will download all the

Re: [Zope3-Users] zope.app.session and eggs?

2007-09-25 Thread Mats Nordgren
I suggest creating individual, quarantined sandboxes using zopeproject: http://cheeseshop.python.org/pypi/zopeproject Can you tell me how I can get the eggs in the sandbox into the python path so my auto-completion will work while developing for Zope? When I do a python setup.py install the

Re: [Zope3-Users] zope.app.session and eggs?

2007-09-25 Thread Santiago Videla
I think that he's saying that it's better to have a virtual python enviroment instead of use the global python. In other thread in the list you will find something like this: $ python virtualenv.py env ... $ cd env $ bin/easy_install zopeproject ... $ bin/zopeproject HelloWorld checkout:

Re: [Zope3-Users] zope.app.session and eggs?

2007-09-25 Thread Mats Nordgren
I suggest creating individual, quarantined sandboxes using zopeproject: http://cheeseshop.python.org/pypi/zopeproject Can you tell me how I can get the eggs in the sandbox into the python path so my auto-completion will work while developing for Zope? When I do a python setup.py install the

Re: [Zope3-Users] zope.app.session and eggs?

2007-09-25 Thread Mats Nordgren
I think that he's saying that it's better to have a virtual python enviroment instead of use the global python. In other thread in the list you will find something like this: $ python virtualenv.py env ... $ cd env $ bin/easy_install zopeproject ... $ bin/zopeproject HelloWorld That

Re: [Zope3-Users] zope.app.session and eggs?

2007-09-25 Thread Mats Nordgren
PS, this only happens in the virtual instance, it compiles with MinGW just fine on a pure zopeproject with global python. Mats Nordgren wrote: I think that he's saying that it's better to have a virtual python enviroment instead of use the global python. In other thread in the list you

Re: [Zope3-Users] zope.app.session and eggs?

2007-09-25 Thread Mats Nordgren
Yes. Somebody created a new zope.app.session egg that doesn't contain a CHANGES.txt. We'll try and upload a new one. Thanks for catching this. Looks like zope.app.session is fixed, thanks. Now I get an error with zope.event. Installed h:\python24\lib\site-packages\zope.event-3.4.0-py2.4.egg

[Zope3-Users] ftesting.zcml in zopeproject

2007-09-25 Thread roymathew
Couple of questions: When I use zopeproject to create a project, the project name and the package name are the same... ie: $HOME/py24/MYPROJ/src/MYPROJ/... Can I override this to get a package name that is different than the project name? Also, when I run bin/test, I get: bin/test

[Zope3-Users] Re: ftesting.zcml in zopeproject

2007-09-25 Thread Philipp von Weitershausen
[EMAIL PROTECTED] wrote: When I use zopeproject to create a project, the project name and the package name are the same... ie: $HOME/py24/MYPROJ/src/MYPROJ/... Not quite. By default, the project name will be used as the directory name for the sandbox and as the name of the egg (in setup.py).