[Zope] jcNTUserFolder and trusted domains

2000-06-02 Thread Erik Myllymaki
I am running Zope on NT without IIS. I installed jcNTUserFolder, but I cannot get users from a trusted domain to log in. I added these users in the *add users from other domains screen*. Any help appreciated. Erik Myllymaki [EMAIL PROTECTED

[Zope] trouble with acquisition

2000-06-06 Thread Erik Myllymaki
y"? I'd like to name the queries what I want and reuse this method anywhere, without the query having to be named "query". Out of frustration, I named all the queries with the same name and then addressed "query" explicitly in the external method, because no matter what I tr

[Zope] logout

2000-06-13 Thread Erik Myllymaki
I saw this little bit posted in the mailinglist archives: dtml-raise Unauthorized /dtml-raise I made a DTML method with just these two lines in it. Of course when I call it I get into a recursive *logout - login and call this method again - logout - login and call this method again ...* loop.

[Zope] problems with odbc

2000-07-16 Thread Erik Myllymaki
--- Any help greatly appreciated. Erik Myllymaki [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo

[Zope] upgrade to 2.2 and zsql methods problems

2000-07-16 Thread Erik Myllymaki
un as expected from the management test screens. Any ideas? Thanks, Erik Myllymaki [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[Zope] jcNTUserFolder troubles

2000-07-24 Thread Erik Myllymaki
running Zope standalone. My root user is mapped to a valid administrator of my local NT Domain. Thanks, Erik Myllymaki ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

[Zope] re:jcNTUserFolder troubles

2000-07-24 Thread Erik Myllymaki
ase anyone follows this thread in the future with the same problem. Erik Myllymaki [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://l

[Zope] redirect to user's folder not working

2000-10-05 Thread Erik Myllymaki
l argument type for built-in operation It works fine like hard-coded like this: dtml-call "RESPONSE.redirect(URL1 + '/' + 'username')" I can use dtml-var AUTHENTICATED_USER on the page and get the appropriate username though?! Any help appreciated. -- Erik Myllym

[Zope] re: redirect to user's folder not working

2000-10-05 Thread Erik Myllymaki
To answer my own question ;-)) dtml-call "RESPONSE.redirect(URL1+'/'+AUTHENTICATED_USER.getUserName())" -- Erik Myllymaki [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No c

[Zope] trouble compiling DCOracle

2000-10-14 Thread Erik Myllymaki
t;, line 1, in ? import Buffer, oci_, sys ImportError: libclntsh.so.8.0: cannot open shared object file: No such file or directory I have tried a number of setup files that were on this list for Oracle 8.1.6 and all have produced errors. Any help appreciated. -- Erik Myllymaki [EMAIL

[Zope] re: trouble compiling DCOracle

2000-10-14 Thread Erik Myllymaki
file: % grep kpumfs /var/tmp/oracle.symbols libclient8.a[kpum.o]: kpumfs T 0140 libclntsh.so: kpumfs T 0018eb10 libclntsh.so.8.0: kpumfs T 0018eb10 libvppdc.so: kpumfs T 000e2a40 I'm at a bit of a loose end here... Thanks again, Erik Myllymaki _

[Zope] strange dtml-sendmail problem

2000-10-17 Thread Erik Myllymaki
equence-key: dtml-var sequence-item /dtml-in ...it works well. Thanks for you help. -- Erik Myllymaki [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encodin

[Zope] M2Crypto problem

2000-10-24 Thread Erik Myllymaki
I'm trying to use M2Crypto to access some https pages through an external method, but I get this error: SSLError: SSLEAY_RAND_BYTES: PRNG not seeded How do I seed the PRNG? I am using the windows binary of M2Crypto-0.05-snap3 Thanks, Erik Myllymaki [EMAIL PROTECTED

[Zope] downgrading from 2.1.x from 2.2.0 to use NTuser authentication

2000-12-20 Thread Erik Myllymaki
? Alternatively, I might take a stab at bring the jc/ntuserfolder up to date with the new security model - any insight from those in the know appreciated(am I underestimating that task?). Thanks, -- Erik Myllymaki ___ Zope maillist - [EMAIL PROTECTED] http

[Zope] zmxodbc error

2000-12-22 Thread Erik Myllymaki
this same question without a response. Also there was mention of some patches to this package that were available by request which I would be interested in checking out. Thanks, -- Erik Myllymaki [EMAIL PROTECTED] ___ Zope maillist - [EMAIL

[Zope] Zope via WebDAV

2005-04-20 Thread Erik Myllymaki
I am trying to use Zope with Dreamweaver via WebDAV. There are lots of good docs and plenty of info in the archives and I have one install setup and working really well. The one that works is Zope 2.7.4 on Win32. An older, production install I want to configure the same way is Zope 2.6.2 on a

Re: [Zope] Zope via WebDAV

2005-04-20 Thread Erik Myllymaki
I see - I was connecting to port 8090 - the regular old HTTP port instead of port 9090 - my configured WebDAV port. Works just fine now. Erik Myllymaki wrote: I am trying to use Zope with Dreamweaver via WebDAV. There are lots of good docs and plenty of info in the archives and I have one install

[Zope] index.html in Python Script?

2005-04-21 Thread Erik Myllymaki
How do address a ZPT with a name like index.html in a Python Script? The following: request = container.REQUEST RESPONSE = request.RESPONSE if not request.has_key('next_state'): return container.index.html(context, request) returns: Error Type: AttributeError Error Value: index

Re: [Zope] index.html in Python Script?

2005-04-21 Thread Erik Myllymaki
thanks, and this seems to do what I want to: request = container.REQUEST RESPONSE = request.RESPONSE if not request.has_key('next_state'): return container['index.html'](context, request) Phillip Hutchings wrote: On 22/04/05, Erik Myllymaki [EMAIL PROTECTED] wrote: How do address a ZPT

[Zope] general design question

2005-06-23 Thread Erik Myllymaki
I am making a small application for sales and marketing reports in-house. Each user has a unique login/username in zope (via NtUserFolder) and they also have a unique employee_id in exisitng SQL database tables. Each page calls numerous SQL methods almost all of which need to know the

[Zope] question on python script, dtml method and options

2005-07-19 Thread Erik Myllymaki
I use the following template often. When using a page template for my MAIN page, I access the error and message vars with: p tal:content=options/errorError message/p p tal:content=options/messageReg. Message/p How would I access them when I use a dtml-method for my MAIN page? dtml-var error

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Erik Myllymaki
I don't get a traceback, i just get error and message back as empty strings; their initiallized value. very strange. Peter Bengtsson wrote: On 7/19/05, Erik Myllymaki [EMAIL PROTECTED] wrote: I use the following template often. When using a page template for my MAIN page, I access

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Erik Myllymaki
wrote: On 7/19/05, Erik Myllymaki [EMAIL PROTECTED] wrote: I use the following template often. When using a page template for my MAIN page, I access the error and message vars with: p tal:content=options/errorError message/p p tal:content=options/messageReg. Message/p How would I access them when

Re: [Zope] Re: question on python script, dtml method and options

2005-07-19 Thread Erik Myllymaki
next_state does get initialized - it is the name of the submit buttons on my various forms. Josef Meile wrote: Hi Erik, I don't get a traceback, i just get error and message back as empty strings; their initiallized value. very strange. Looking at your python script I saw that initially

[Zope] tal:attributes question

2005-07-22 Thread Erik Myllymaki
I am trying to set the bgcolor of a page based on the existance of a variable. Neither of these seem to work: body tal:attributes=bgcolor python:test(hasattr(options, 'error'), 'red', 'green') body tal:attributes=bgcolor python:test(hasattr(request, 'error'), 'red', 'green') I can

[Zope] Zope MailTemplates

2006-01-17 Thread Erik Myllymaki
I haven't delved too deeply here, but I think Zope MailTemplates are wrapping any subject longer than 70 characters. Is there any way to turn this feature off? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No

Re: [Zope] Zope MailTemplates

2006-01-17 Thread Erik Myllymaki
without altering MailHost.py. Tino Wildenhain wrote: Erik Myllymaki schrieb: I haven't delved too deeply here, but I think Zope MailTemplates are wrapping any subject longer than 70 characters. Is there any way to turn this feature off? No, its just standard. Where is the problem? rfc822

[Zope] MailDropHost on windows

2006-02-14 Thread Erik Myllymaki
I'm trying to get MailDropHost running under windows, but it errors with: Traceback (most recent call last): File .\maildrop.py, line 296, in ? pid = os.fork() AttributeError: 'module' object has no attribute 'fork' Altering it to run without threading seems to work quite well.

Re: [Zope] Re: MailDropHost on windows

2006-02-14 Thread Erik Myllymaki
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Vagelpohl wrote: On 14 Feb 2006, at 17:58, Erik Myllymaki wrote: I'm trying to get MailDropHost running under windows, but it errors with: Traceback (most recent call last): File .\maildrop.py, line 296, in ? pid

[Zope] where's the XML?

2006-04-11 Thread Erik Myllymaki
I want to access numerous methods/functions on a zope server via Javascript. Zope has xml built-in right? So must I write my own XML output? For now, I wrap the existing functions like so: ?xml version=1.0 encoding=utf-8 ? ajaxresponse xmlns:tal=http://xml.zope.org/namespaces/tal; response

Re: [Zope] Summary variables is removed in version 2.9?

2006-04-11 Thread Erik Myllymaki
I just upgraded a site from 2.8(Linux) to 2.9.2(windows) and I have had no problem like that. e.g. td align=right class=strong-total dtml-var total-Sales /td td align=right class=strong-total dtml-var total-Items /td td align=right class=strong-total dtml-var total-SUB_TOTAL fmt=%.2f /td

[Zope] zope 2.8.5 becomes unresponsive.

2006-04-20 Thread Erik Myllymaki
Environment is RHEL 3, Zope v2.8.5 (Python 2.3.5). Every couple of days the zope instance will become unresponsive and require a restart. ZMI is inaccessible at these times so I have to do run service my_zope_service restart in the usual redhat way. There is nothing in the logs, and if I do

Re: RE : [Zope] zope 2.8.5 becomes unresponsive.

2006-04-24 Thread Erik Myllymaki
I got a chance to try and debug with the the DeadlockDebugger, but it was unresponsive... Still nothing in the event log. Any other ideas? Jens Vagelpohl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21 Apr 2006, at 07:52, S├ębastien VINOT wrote: I've read documentation about

Re: [Zope] Re: zope unresponsive

2006-04-24 Thread Erik Myllymaki
I'll chime in with a me too ( see me thread within the last week on the same list). I haven't looked into it as deeply as you, but I have tried the DeadlockDebugger which itself was inaccessible during the time when zope was spinning. Nothing in the logs. My install is Zope 2.8.5 on RHEL 4

[Zope] question on URL styling

2006-09-11 Thread Erik Myllymaki
I am making a survey that has many very similar pages all in one directory. The page templates are called page-1.html, page-2.html, ... page-n.html. I am using two submit buttons on each of the pages; one for 'Next' and one for 'Previous' so that I catch changes to the form elements in each

Re: [Zope] question on URL styling

2006-09-11 Thread Erik Myllymaki
I'm trying this out and it seems to be working: request.RESPONSE.redirect(context[next_page].absolute_url()) is this the *correct* way to do it? Erik Myllymaki wrote: I am making a survey that has many very similar pages all in one directory. The page templates are called page-1.html, page

Re: [Zope] question on URL styling

2006-09-11 Thread Erik Myllymaki
David H wrote: Jonathan wrote: - Original Message - From: Erik Myllymaki [EMAIL PROTECTED] To: zope@zope.org Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many very similar pages all in one directory. The page

Re: [Zope] question on URL styling

2006-09-11 Thread Erik Myllymaki
David H wrote: Erik Myllymaki wrote: David H wrote: Jonathan wrote: - Original Message - From: Erik Myllymaki [EMAIL PROTECTED] To: zope@zope.org Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many very

Re: [Zope] idiotic dreamweaver question

2006-09-21 Thread Erik Myllymaki
there is a patch to Zope that adds those extensions for you through the webdav interface - we use it here and it works well. google should find it for you. Of course you could just name them all with extensions from within zope... David Bear wrote: Sorry to bug this list with a dw question.

[Zope] zope, webdav, ical, vcalendar, etc.

2007-02-02 Thread Erik Myllymaki
I am trying to dynamically create iCalendar or vCalendar files. I can do this with a Zope Page Template, naming it myCalendar.ics. When myCalendar.ics is accessed through a web browser, iCal pops up and asks what I want to do with the calendar info, etc. and all is well. But what I would like to

[Zope] TextIndexNG3 question

2008-02-17 Thread Erik Myllymaki
they would be stripped automagically) and the PDFs have no words cataloged at all. Any suggestions appreciated. Thanks, Erik Myllymaki Zope Version (Zope 2.8.5-final, python 2.3.5, linux2) Python Version 2.3.5 (#1, Jan 3 2006, 23:22:48) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-52)] System

Re: [Zope] TextIndexNG3 question

2008-02-18 Thread Erik Myllymaki
Andreas Jung wrote: I find all Page Templates and PDFs and Catalog them. They do show up in the Catalog, but the Page Templates have all their HTML tags included in the catalog(I thought they would be stripped automagically) Your expectations are wrong. If an object does not provide

Re: [Zope] TextIndexNG3 question

2008-02-18 Thread Erik Myllymaki
Andreas Jung wrote: and the PDFs have no words cataloged at all. If you have the external converters installed and if they are in the $PATH and available to the Python interpreter process then I have strong doubts about that. Trible check that. If necessary take the debugger for checking

[Zope] template / context question

2008-06-20 Thread Erik Myllymaki
I am trying to separate out small bits of HTML that are used on many pages of a site. In one case I use a secondary navigation on some pages in the right column that is supposed to look in the containing folder's sub-folders and list the Page Templates that is finds there. I create a folder

Re: [Zope] template / context question

2008-06-20 Thread Erik Myllymaki
/template-lister/macros/lister /metal:block Erik Myllymaki wrote: I am trying to separate out small bits of HTML that are used on many pages of a site. In one case I use a secondary navigation on some pages in the right column that is supposed to look in the containing folder's sub-folders

[Zope] question about cataloging Page Templates

2008-06-24 Thread Erik Myllymaki
In Page Templates that use macros, how would you ensure that the entire rendered page is cataloged and returned by a search? For instance, this template: metal:block use-macro=here/template1/macros/main metal:slot fill-slot=additional-content tomatoes /metal:slot /metal:block is returned

[Zope] LDAPUserFolder question

2008-07-08 Thread Erik Myllymaki
I am using LDAPUserFolder-2.9 with Zope 2.10.6 on Ubuntu 7. It is working well, users can log in and I can map groups to Zope roles. However, I was hoping that I could assign groups local roles, so that I can allow groups to be 'Managers' only in certain sub-folders of our site. Is this

Re: [Zope] LDAPUserFolder question

2008-07-08 Thread Erik Myllymaki
Jens Vagelpohl wrote: On Jul 8, 2008, at 18:51 , Erik Myllymaki wrote: I am using LDAPUserFolder-2.9 with Zope 2.10.6 on Ubuntu 7. It is working well, users can log in and I can map groups to Zope roles. However, I was hoping that I could assign groups local roles, so that I can allow

[Zope] newInteraction error

2008-07-11 Thread Erik Myllymaki
Hello, I am getting a fair number of these errors popping up: Error Type: AssertionError Error Value: newInteraction called while another interaction is active. I searched for the error mesage and only came up with a reference to Philipp von Weitershausen's book, which I have, but it really

[Zope-dev] getRoles()

2004-05-05 Thread Erik Myllymaki
I was fooling around in AccessControl\User.py, tying to add some user groups from an NT domain in the getRoles() method. Why does the getRoles() method get called so many times? Seems like once for each object on a page that needs authentication? Was making for a VERY slow page load while my