[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
t 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 tried,

[Zope] logout

2000-06-13 Thread Erik Myllymaki
I saw this little bit posted in the mailinglist archives: 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. What is the cleanest way to avoi

[Zope] problems with odbc

2000-07-16 Thread Erik Myllymaki
print rec --- 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.

[Zope] upgrade to 2.2 and zsql methods problems

2000-07-16 Thread Erik Myllymaki
ueries all 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 list

[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
one 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://lists.

[Zope] redirect to user's folder not working

2000-10-05 Thread Erik Myllymaki
like this: I can use on the page and get the appropriate username though?! Any help appreciated. -- Erik Myllymaki [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

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

2000-10-05 Thread Erik Myllymaki
To answer my own question ;-)) -- 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

[Zope] trouble compiling DCOracle

2000-10-14 Thread Erik Myllymaki
acle_test.py", 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. -- E

[Zope] re: trouble compiling DCOracle

2000-10-14 Thread Erik Myllymaki
I tried the trick in the README - got a list of all symbols in the Oracle libs and it turns out kpumfs is in four, all of which are included in the setup file: % grep kpumfs /var/tmp/oracle.symbols libclient8.a[kpum.o]: kpumfs T 0140 libclntsh.so: kpumfs

[Zope] strange problem

2000-10-17 Thread Erik Myllymaki
t 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 encoding! ** (Related lists - http://lists.zope.org/mailman/l

[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 PROT

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

2000-12-20 Thread Erik Myllymaki
rsion? 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]

[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 RedH

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: H

[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 employe

[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: Error message Reg. Message How would I access them when I use a dtml-method for my MAIN page? and don't seem to work. Python Script - index_html: # Import a standard fu

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

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

2005-07-19 Thread Erik Myllymaki
unnecessary confusion, but I think it might be the cause...ideas? 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 the error and message vars with: Error message Reg

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: I can access the error variable with this: tal:content="options/error | nothing">There was an error ___ Zope maillist - Zope@zope.org

[Zope] weird occurrance with Zope MailTemplates

2006-01-06 Thread Erik Myllymaki
I am running into a strange problem with Zope MailTemplates; it probably reflects my rather shallow understanding of Zope in general. I am using a Python Script as my index_html. It has a simple form and calls itself on submit. And I use another Python Script that simply calls my MailTemplate

[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 cross

Re: [Zope] Zope MailTemplates

2006-01-17 Thread Erik Myllymaki
ients 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 probl

[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 29

[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: http://xml.zope.org/namespaces/tal"; > fname1 lname1 I know i'm missing t

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. Infor Gates wrote: Dear Zopist I have upgraded my Zope 2.8.x to Zope 2.9.0. I have used the sequence which uses the summary variables (e.g. total-count). It

[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 dea

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 dire

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,

Re: [Zope] question on URL styling

2006-09-11 Thread Erik Myllymaki
Andreas Jung wrote: --On 11. September 2006 09:33:39 -0700 Erik Myllymaki <[EMAIL PROTECTED]> wrote: 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? Basically yes. But it is b

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: 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. Th

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: Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many ve

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. Ho

[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
talog(I thought 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

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 IIndexable

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 th

[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
I have solved this by using macros instead of just trying to *include* the TAL snippit. I wrapped the snippit in a tag like this: and called it on each tempalte that uses it liek this: use-macro="context/templates/widgets/template-lister/macros/lister"> Erik Myllymak

[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: tomatoes is returned when you search for "tomatoes" but is not returned when you search on a word that is in the "main" macro in "t

[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 possi

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 do