[Zope] windows 7 and zope2,X

2010-06-22 Thread martin.gfeller
Dear Dennis

Just installed Zope 2.12 with 32-bit Python 2.6.5 on Windows 7 (64 bit). Did 
not encounter any problem, 
except that I had to remove the logging to Windows events in zope.conf; 
otherwise it would do nothing unless
run with admin privileges. 

However, we do not use the full power of Zope - just some basic functionality, 
but I wouldn't expect problems,
Because Python runs just smoothly.

Later this year we plan to tackle 64 bit. 

Best regards,
Martin
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Trying to install Zope2-2.12.0b2 on Windows - Progess Report

2009-07-16 Thread martin.gfeller
Dear all

I've managed to install it, largely thanks to the hint from Andreas Jung.

 I haven't got a C compiler installed - I assumed the purpose of the Zope 
 Windows egg was that 
 I wouldn't need to compile? 

I found all the required packages on PyPI - but in two cases, the latest 
version didn't have a Windows egg.
I changed requires.txt for the two packages to require a specific version, 
which have a Windows egg.

This installed zope.security == 3.6.0 and zope.hookable == 3.4.0 without 
problems.

My Questions:

- Will the final Zope 2.12 egg have specific versions for its dependencies 
(otherwise, how do you
  get consistent installations)?

- Is there an option in SetupTools that ignores versions of packages which 
would need to compile? This 
  could be very useful for Windows users, who are afraid to compile.

Otherwise, most things seem to run smoothly with Zope 2.12.0.b3 / Py 2.6 under 
Windows, apart
from a few changed imports in (legacy) Products such as GroupUserFolder. 

Thanks again, and best regards,
Martin


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Trying to install Zope2-2.12.0b2 on Windows

2009-07-15 Thread martin.gfeller
Dear all

I'm trying to install Zope2-2.12.0b2-py2.6-win32.egg on Windows. It's the first 
time I try
to install an egg, so I may have made a trivial mistake.

The installation installs some packages, then tries to install zope.security, 
and fails
with a missing vcvarsall.bat.

I haven't got a C compiler installed - I assumed the purpose of the Zope 
Windows egg was that 
I wouldn't need to compile? 

Processing dependencies for Zope2==2.12.0b2
Searching for zope.security
Reading http://pypi.python.org/simple/zope.security/
Reading http://svn.zope.org/zope.security
Best match: zope.security 3.7.0
Downloading 
http://pypi.python.org/packages/source/z/zope.security/zope.security-3.7.0.tar.gz#md5=76171a6c9a0ab8e428b32c5a6ba71e93
Processing zope.security-3.7.0.tar.gz
Running zope.security-3.7.0\setup.py -q bdist_egg --dist-dir 
c:\docume~1\tzhgfma1\locals~1\temp\easy_install-emjoun\zope.security-3.7.0\egg-dist-tmp-szjerv
error: Setup script exited with error: Unable to find vcvarsall.bat

Hints appreciated. Thank you and best regards,
Martin 



COMIT AG - A Swisscom Company
Martin Gfeller, Senior Manager
Solutions - Quantax

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope 2.x for Py 2.6 as 64 bit Windows application?

2008-10-09 Thread martin.gfeller
Dear all

We're contemplating the move of our Zope 2.x application to 64-bit Windows.
We rely on a few add-on packages, notably PyWin, which has 64-bit support for
Py 2.6 only.

I'd be grateful for a rough idea on when there could be a Zope 2.x release
working with Python 2.6 as a 64-bit Windows application.

Jim Fulton wrote on 19 Sep 2008 top ZODB-Dev:

 We (ZC) are moving to 64-bit OSs.  I've resisted this for a while
 due to the extra memory overhead of 64-bit pointers in Python
 programs, but I've finally (too late) come around to realizing that
 the benefit far outweighs the cost.

However, Jim told me that he neither using Zope 2.x nor Windows and
directed me to this list for my question.

Thank you and best regards,
Martin



COMIT AG - A Swisscom Company
Martin Gfeller, Senior Manager
Risk Management - Quantax

http://www.comit.ch/
http://www.quantax.com/ - Market Risk  Return

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] RE: Managing Zope objects in Subversion

2008-03-31 Thread martin.gfeller
Dear all

I would like to thank all those who have responded to my query about
management 
of Zope objects in Subversion. After I sent out my message on 2 March, I
got completely 
side-tracked by other business. Please accept my apologies for this late
response.

I've experimented with FSDump and FileSystemSite, but that's a one-way
solution; i.e.,
I cannot restore the file system back into ZODB.

For me, the most promising respone was:

 From: Sam Rangaswamy [EMAIL PROTECTED] 
 Sent: Sunday, March 02, 2008 5:46 PM
 Subject: Re: [Zope] Managing Zope objects in Subversion

 Hello Martin
 We use subversion extensively to manage our entire product development
life cycle.
 We have built tools to move source code back and forth between file
system and zodb.
 I will have it documented and share it with you and publish it. I
think it may be useful.

 Best
 sam

I will gladly wait until Sam publishes their tools, and I think this
will be useful to
the community indeed. Thank you in advance, Sam!

Best regards,
Martin Gfeller
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Managing Zope objects in Subversion

2008-03-02 Thread martin.gfeller
Dear all

We use Zope for the  user interface part of our software product. 
We currently export the whole folder hierarchy into a .zexp file and
maintain this file in Subversion. 

I'm looking for a way to manage a folder structure as individual 
Zope objects in Subversion. 

In fact, maintaining the Zope objects in the file system would suffice,
there is no need to edit them with external editors or to be able
to use Subversion from within Zope (we use TurtoiseSVN).

We're using:
- Zope 2.10
- Windows
- DTML (yes) Documents and Methods; lots of external methods; some
images; 
  and a low number of various other Zope objects. 
- Zope Objects and particularly Folders have security settings using
custom roles

I've browsed/googled and looked into books, and found a few products 
and hints, but most of them seem to be very outdated or not applicable 
to a Windows environment.

Hence I would be very grateful for hints about the state-of-the-art 
way to achieve this.

Thank you and best regards
Martin



COMIT AG - A Swisscom Company
Martin Gfeller, Senior Manager
Risk Management - Quantax
Pflanzschulstrasse 7 
CH-8004 Zurich
Switzerland 

mailto:[EMAIL PROTECTED]
http://www.comit.ch/ 
http://www.quantax.com/ - Market Risk  Return

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Giving access to error_log.showEntry to non-Manager users

2007-01-18 Thread martin.gfeller

Stuff that starts with 'manage_' always requires the Manager role.

It seems that this is declared in App.Management.Navigation as:
security.declareProtected(view_management_screens,
'manage_page_header')

However, I found a way around: Using the call error_log/getLogEntryById
instead of the error_log/showEntry that is returned by error_log_url, I
get
the same information outside of the management screens (it only needs 
'Log Site Errors' permission.

Best regards,
Martin Gfeller

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Giving access to error_log.showEntry to non-Manager users

2007-01-15 Thread martin.gfeller
Dear all,

I'm trying to give all authenticated users access to the error log of an

error that they just encountered. I'm using the error_log_url available
in
the standard_error_message to direct the user to the appropriate error
log.

This works fine for users with Manager role, but I cannot make it work
for other authenticated users. I modified the error_log access to 
include 'View', 'View management screens'  and 'Log Site Errors', 
but it doesn't help, unless I give 'View management screens' 
to Authenticated in the Zope root, which opens up too much. 

The actual access error is on 'manage_page_header' - I append the error 
traceback. 

I've also tried to access the error_log through a DTML with
proxy set to Manager, to no avail. 

Any tips? 
Thank you and best regards,
Martin Gfeller, COMIT AG, mailto:[EMAIL PROTECTED]



Error Traceback, Zope 2.10.1 on Windows. 

SERVER_SOFTWARE 'Zope/(unreleased version, python 2.4.4, win32)
ZServer/1.1'

Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.PageTemplates.PageTemplateFile, line 121, in _exec
  Module Products.PageTemplates.PageTemplate, line 89, in pt_render
  Module zope.pagetemplate.pagetemplate, line 117, in pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 534, in do_optTag_tal
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal
  Module zope.tales.tales, line 696, in evaluate
   - URL: showEntry
   - Line 1, Column 0
   - Expression: PathExpr standard:'here/manage_page_header'
   - Names:
  {'container': SiteErrorLog at /Quantax/error_log,
   'context': SiteErrorLog at /Quantax/error_log,
   'default': object object at 0x00A3B528,
   'here': SiteErrorLog at /Quantax/error_log,
   'loop': {},
   'nothing': None,
   'options': {'args': ()},
   'repeat': Products.PageTemplates.Expressions.SafeMapping object
at
0x05079DA0,
   'request': HTTPRequest,
URL=http://127.0.0.1:8080/Quantax/error_log/showEntry,
   'root': Application at ,
   'template': PageTemplateFile at /Quantax/error_log/showEntry,
   'user': GRUFUser 'dealer'}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 122, in _eval
  Module zope.tales.expressions, line 124, in _eval
  Module Products.PageTemplates.Expressions, line 71, in
boboAwareZopeTraverse
  Module OFS.Traversable, line 301, in restrictedTraverse
  Module OFS.Traversable, line 274, in unrestrictedTraverse
   - __traceback_info__: ([], 'manage_page_header')
Unauthorized: You are not allowed to access 'manage_page_header' in this
context


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )