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
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
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.
---
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
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
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
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
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
_
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
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
?
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
/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
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
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
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
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
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
47 matches
Mail list logo