[Zope3-Users] Re: Announcing zopeproject 0.4

2007-09-17 Thread Michael Haubenwallner

Philipp von Weitershausen schrieb:

zopeproject makes it easy to get started with a web application based on
Zope eggs, zc.buildout and WSGI/Paste. If you're not familiar with this
world yet, zopeproject is your easy entry to it. If you are, zopeproject
will save you lots of typing up the boilerplate.


Thank you for developing zopeproject, this is very useful.


With zopeproject's approach, *your code* is the application. The web
application, to be precise. And it *happens* to use Zope. As a library::

  ++   +-+  +-+
  |WSGI gateway|  serves   |  your code  |   uses   |  Zope   |
  |  (server)  |  --  |(application)|     |libraries|
  ++   +-+  +-+



Now for that part - one of my use cases would be to allow XML-RPC access 
only throughout the app. How would you setup the application with and 
without security support, disabling all other protocols defined in the 
publisher and the ZMI altogether ?


Michael

--
http://www.zope.org/Members/d2m
http:/planetzope.org

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: Where do people put Zope 3 components that they wish to share?

2007-03-19 Thread Michael Haubenwallner

Mark, Jonathan (Integic) schrieb:

Zope.org has a link for Products but not for Components.

Is there someplace where people can see what third-party Zope3 components are 
available?



Here is a (growing) collection of a zope3 repository links

http://del.icio.us/d2m/repository+zope3

Hth,
Michael

--
http://www.zope.org/Members/d2m
http:/planetzope.org

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] configure access from zcml

2007-02-21 Thread Michael Haubenwallner

The publication requestfactories are available by default.
Is there a way to configure protocol access to the whole site, local 
sites, containers or objects through ZCML ?


How would a sysadmin e.g. enable xmlrpc access to the site or a folder 
only or disable xmlrpc access to a certain object or interface ?


Michael

--
http://zope.org/Members/d2m
http://planetzope.org

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] traceback on startup from a wsgi server

2007-01-08 Thread Michael Haubenwallner

Stephan Richter wrote:

On Saturday 11 November 2006 07:11, Michael Haubenwallner wrote:

Do you see a way to solve the problem except from commenting the directive
?


Does the problem still occur? I have never seen this issue.



Yes, still reproducable (it has always been the Import error): new 
checkout from trunk, distinct python2.4.4 install from source.


Traceback looks like so:
-
/home/user/Zope3/src/zope/configuration/config.py:690: 
DeprecationWarning: Change the site.zcml Replace: include 
package=zope.app / with: include package=zope.app.zcmlfiles / 
This will go away in Zope 3.6.

  actions = self.handler(context, **args)
Test-module import failures:

Module: zope.testbrowser.tests

Traceback (most recent call last):
  File /home/user/Zope3/src/zope/testbrowser/tests.py, line 27, in ?
from zope.testbrowser import browser
ImportError: cannot import name browser


Running unit tests:
...
-

Hth, do you need the wsgi startup files and setup ?

Michael

--
http://zope.org/Members/d2m
http://planetzope.org
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: SVN

2006-11-25 Thread Michael Haubenwallner

Dennis Schulz wrote:

How to get access to the svn

http://svn.zope.org/zc.datetimewidget/trunk/src

I can't access it neighter with eclipse nor with tortoise svn. (PROBFIND 
REQUEST FAILED)

Where can I get a login?



http://www.zope.org/DevHome/Subversion/FrontPage
and
http://www.zope.org/DevHome/Subversion/ReadOnlyAccess
has detailed info on how to access the repos.

Michael

--
http://zope.org/Members/d2m
http://planetzope.org

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] traceback on startup from a wsgi server

2006-11-11 Thread Michael Haubenwallner

I run a zope3 checkout from a wsgi server setup.
On a new checkout i recently experienced a problem on startup,
here is a - not very usefull - traceback, but thats all i got ...

console---

[EMAIL PROTECTED]:~/Zope3$ python2.4 start_wsgi.py

Test-module import failures:

Module: zope.testbrowser.tests

Traceback (most recent call last):
  File /home/d2m/Zope3/src/zope/testbrowser/tests.py, line 27, in ?
from zope.testbrowser import browser
ImportError: cannot import name browser

Running unit tests:
...


Basically whats happening is that, while reading
  src/zope/app/apidoc/bookmodule/book.zcml
the Exception is thrown in
  configure package=zope.testbrowser
  ...
  /configure
and for some reason unittests are executed...

Uncommenting the configure directive solves the problem.

This behavior is not observed when starting from bin/runzope though.

For completeness my startup script is detailed here:
http://blog.d2m.at/2006/09/23/zope3-and-wsgi-integration/
and here:
http://trac.d2m.at/d2m/browser/Zope3/zope3wsgi/


Do you see a way to solve the problem except from commenting the directive ?

Michael

--
http://zope.org/Members/d2m
http://planetzope.org

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] zope3, site-packages and easy_install

2006-10-27 Thread Michael Haubenwallner

a short question on using eggs and zope3 dev/checkout together

had a case yesterday: easy_installed zope.schema (and automatically its 
dependencies)


easy_install adds its paths in front of all other paths to sys.path
-- this broke my zope3 svn checkout; first sign:  bin/zopectl debug 
didn't work anymore


what should one suggest for development ?
- using zope3 checkout with its own python interpreter
- or remove site-packages from zope3 sys.path

what to do in deployment environment ?
- using zope3 deploment with its very own python interpreter
- you never now when anyone will add another piece to site-packages

i think this will affect buildouts too as they rely on a common python 
install.


Michael

--
http://zope.org/Members/d2m
http://planetzope.org

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: zalchemy integration

2006-08-14 Thread Michael Haubenwallner

Stephan Richter wrote:
Lovely Systems, Roger and I have all been in agreement to publish generic 
components as we go; if you are subscribed to all check-in messages, you 
probably saw already a bunch of packages landing in the z3c and lovely 
namespace. We have tasks setup for this week to open/publish even more 
packages and extensions.


While we are at it, 'lovely' packages do not show up in 
http://mail.zope.org/pipermail/checkins until now.


Michael

--
http://zope.org/Members/d2m
http://planetzope.org

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: Search on Z3 collector broken

2006-04-11 Thread Michael Haubenwallner

Andreas Elvers wrote:

Hi,

trying to search the Zope3 collector gives me a 404. This is fixable by 
changing the URL from 
http://www.zope.org/Zope3-dev/collector_contents?searching=yepSearchableText= 
...

to http://collector.zope.org ...
Re-getting the URL gives me the wanted search results.

- Andreas


Hi Andreas,
the issue is already reported and should be fixed soon.

For now please browse to:
http://www.zope.org/Collectors/Zope3-dev/

Searching and links should work from there.

Hth, Michael

--
http://zope.org/Members/d2m
http://planetzope.org

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: Email application form causing despair!

2006-03-14 Thread Michael Haubenwallner

Peter Bengtsson wrote:


Good code Laurence. Thanks.
I wish we had a Cookbook to put all of these into.
Zopelabs.com sucks unfortunately.



Hmm, i have used zopelabs.com for many years now, its a great resource 
of information.


Zope3 recipes could well be collected there (a 'Zope3' category has been 
added recently).


I never found it sucking - maybe you want to tell us your troubles ?

Michael

--
http://zope.org/Members/d2m
http://planetzope.org

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: list archives for zope3-users

2005-11-30 Thread Michael Haubenwallner

Brad Allen wrote:

I'm looking for a better way to search and read the list archives for 
this list.  Here are the list archives that I know about.


Text file archives:
http://mail.zope.org/pipermail/zope3-users

Searchable mail archive:
http://www.mail-archive.com/zope3-users@zope.org/

Gmane provides a variety of ways to view the list, but the search 
options are still pretty limited.

http://dir.gmane.org/gmane.comp.web.zope.zope3.user



Gmane recently added a new search interface, start here:
http://search.gmane.org/?group=gmane.comp.web.zope.zope3.user

Michael

--
http://zope.org/Members/d2m
http://planetzope.org

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: list archives for zope3-users

2005-11-30 Thread Michael Haubenwallner

Brad Allen wrote:

I'm looking for a better way to search and read the list archives for 
this list.  Here are the list archives that I know about.


Text file archives:
http://mail.zope.org/pipermail/zope3-users

Searchable mail archive:
http://www.mail-archive.com/zope3-users@zope.org/

Gmane provides a variety of ways to view the list, but the search 
options are still pretty limited.

http://dir.gmane.org/gmane.comp.web.zope.zope3.user

I wish there was some way to access mailing list archives via a POP3 
interface, so that I could use my mail app of choice. In my case, Eudora 
is my favorite app for searching and viewing mailing lists. 
Unfortunately, I've only got a couple of months of Zope3-users in 
Eudora.  I haven't found that the text file archives to be easily 
importable.


Does anyone else on this list use Eudora? If so, I'd very much 
appreciate a copy of your Eudora mailbox file for the Zope3 users list.


If anyone else has thoughts on the best way to search the mailing list 
archives, I'd appreciate hearing about it. I'd prefer to avoid asking 
questions that others have already asked.


You can use
http://www.google.com/search?sitesearch=mail.zope.orgq=zope3-users
for a start and refine the query with your searchterm

Michael

--
http://zope.org/Members/d2m
http://planetzope.org

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] How is sending a HTTP POST in Zope3 supposed to work ?

2005-10-27 Thread Michael Haubenwallner
While i had no problems performing GET, PUT, DELETE and OPTIONS requests 
from httplib, i found no way to change an objects content through a POST.


Posting to the object itself equals a GET request.
Posting to the @@edit.html view of the object results in a
  UserError: The character set specified in the content type 
($charset) does not match file content.

error, even with charset set in the request headers.

Are there any functional tests existing for the HTTP POST method ?

Aside: how would i create a default view for a POST request for a 
certain object ?


Any help appreciated.

Michael

--
http://zope.org/Members/d2m
http://planetzope.org

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: login required on download zope3 page?

2005-06-20 Thread Michael Haubenwallner

Stephan Richter wrote:


On Monday 20 June 2005 19:26, Tim Peters wrote:


http://zope.org/Products/Zope3/

I get prompted for a login


Me too, and not a clue as to why.  However, if I try it without the
final slash(!), then it works fine:



Geez, it was exactely the opposite for me this weekend. It seems to have 
something to do with the site's cache. d2m helped me out on Saturday and said 
he simply clicked it a couple of times. One figures. Sigh.




It is actually the portal_catalog (QueuedCatalog) not being updated 
sometimes by the cron script.
You see your objects already published in the folder_contents view, but 
the catalog data says the contrary.

Processing the queue by hand solves the problem.

Michael

--
http://zope.org/Members/d2m
http://planetzope.org

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users