Hmmm...unfortunately, that's not the cause of the problem (I'm
responding since I'm on the East coast, Jean is on the West, and he's
asleep right now):
[EMAIL PROTECTED]: ~$ python
Python 2.4.3 (#2, Jul 2 2006, 16:14:54)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type "help", "copyright", "cre
Hi,
I am playing around trying to make something happen on a workflow state
change. Beacause I cannot import the module I need in the python script I
am getting an error:
global name 'getMemberById' is not defined
how can I import this module or better still code this so I am not
importing anything
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
getMemberById is a method on the portal_membership tool. You grab the
tool and call the method:
mt = getToolByName(context, 'portal_membership')
member = mt.getMemberById(id)
I highly suggest you get more familiar with Python in general.
Import
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:
This issue is more on-topic for the '[EMAIL PROTECTED]' list.
> I am playing around trying to make something happen on a workflow state
> change. Beacause I cannot import the module I need in the python script I
> am getting
I know that there is a switch between zeo and zope and probably a
firewall too, but how do I prove this is the problem. This is on
production server in a military installation. I have major problems
getting any kind of trouble shooting support. First we don't get
access, and second no kind of de
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul Williams wrote:
> I know that there is a switch between zeo and zope and probably a
> firewall too, but how do I prove this is the problem. This is on
> production server in a military installation. I have major problems
> getting any kind of tr
Thanks to both, finally I implemented a very easy solution similar to
the one proposed by Dieter, although i hope to convince my boss about
the CAS solution.
JL.
Maciej Wisniowski wrote:
I'm trying to implement a script like the one shown below but it seems
too tricky and it does not work. Ha
My understanding is that get/setrecursionlimit is for the python
internal limit and is not an indicator of the THREAD_STACK_SIZE value,
but in any case, yes, we have compiled with that option and I don't
think that these would be the symptoms I would see for a stack size
issue anyway, but thanks f
Dear Zopistas,
i have an old zope application that present data from a database in such
a manner
I had to change the methods that returned data from the database, and it
is no longer possible to return data directly from zsql methods. Instead
i read them in a script, perform some processing an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dimitris Koukis wrote:
> Dear Zopistas,
>
> i have an old zope application that present data from a database in such
> a manner
>
>
>
>
> I had to change the methods that returned data from the database, and it
> is no longer possible to return da
Tres,
thank you very much for your quick reply. Indeed it works with the
mapping parameter, but the application has a large number of files and i
was hoping that i wouldn't have to change them all ;) On the other hand
it is a simple change, i can do that with a script if there is no there
solution
Basil Shubin wrote:
Hi friends,
I want use zope.testbrowser for testing my sites, but before write it as
DocTest I want execute each statemnt interactively in python shell. I
don't know any way to see where it's works, what value it returns, what
error I can get and how this error should look
Win Myint Aung schrieb:
Dear Members,
I am a newbie in Zope. please do me a favor. I am looking for some
python scripts that can export Zwiki contents from ZODB to MYSQL.
Well, the script is easy in principle but you need to know how
the result in your MySQL should look like. So its basicall
Dear Tino,
Thank you for your reply. Another big problem is I don't know how to start the
python script. I would like to request any body to help me. Any draft script
may be a good start for me.
Thanks.
- Original Message
From: Tino Wildenhain <[EMAIL PROTECTED]>
To: Win Myint Aung <[
When i run the external method in plone site, it shows errors.
The error shows.
Site Error
An error was encountered while publishing this resource.
Error Type: AttributeError
Error Value: portal_memberdata
The following is the codings used in external methon.
# make heading row
row =
15 matches
Mail list logo