Hello,
I am observing a strange problem when trying to use
MKCOL WebDAV method with a specific url. I can
reproduce it with two WebDAV clients: Jakarta
Slides[1] and the command-line client nd[2].
The problem: Invoking MKCOL method against Zope's
WebDAV server with an url ending with "title" fai
additional field to insert . . . my eyes must be getting old).
Anyway, I will try not to make so many assumption when I run it future bugs.
Thank you for your help,
Ivan
On 11/15/05, Chris Withers <[EMAIL PROTECTED]> wrote:
Ivan Stout wrote:> Yes, the full error message is the following
r in because it contains a ) notbecause of the \n
What's the SQL you're trying to use? (Only need to see the SELECT ... part)On 11/11/05, Ivan Stout <[EMAIL PROTECTED]> wrote:> Peter,>> Thank you, but unfortunately I still get the same error due to the newline
> character
Peter,
Thank you, but unfortunately I still get the same error due to the
newline character being there and still cannot remove it with
variable.replace. Can a "long object" be converted to a string or
integer some way?
On 11/12/05, Peter Bengtsson <[EMAIL PROTECTED]> wrote:
O
et the following error:
'long' object has no attribute 'replace'
I would greatly appreciate it if someone could point me in the right direction.
Than you very much,
Ivan
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/
closer attention to how I format my code in the future.
Cheers.
On 9/19/05, Martijn Pieters <[EMAIL PROTECTED]> wrote:
Ivan Stout wrote:> It appears that the text input field I have created using a dtml method> has a default space character when you click in the field. Is there a
does not have
authorization. Is there a way around this?
Thanks.
Ivan
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope
ute_url
> string, that's to say "element" in my exemple.
>
> How could I search in all the string ?
Well, my solution would be to create a python method that splits your
url up into indexable words and then index this method in ZCatalog. One
of cool features of the ZC
sign proxy roles ['higher' than
anonymous] to any of the methods that call your /query method otherwise they
will also be refused access!
Ivan
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross
7;t sure of the existance of the object, wrap the above in:
Ivan
___
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/zop
How I can use method, stored in a ".py" file of some product, and send
some parameters to that method?
I want to create an instance of ExtImage product programmatically,
but have a troubles doing it..
___
Zope maillist - [EMAIL PROTECTED]
http:
t; not sure of the details. If it's not too much trouble, could someone give me
> detailed instructions (or a link) on how to do this. I'd really appreciate
> it.
>
In your method which is called by your edit form, insert a after updating the properties.
Eg, in my manage_
ed.
> >
> > Is this a bug? Or is the some other location where I also need to
> > change this info?
You must also change the factory, specifically the 'add list name'. See my
previous message:
http://zope.nipltd.com/public/lists/zop
When I trying create an instance of class of my own product "Boring" with Python,
Zope tells me:
Missing doc string at:
http://localhost:8080/a/manage_addProduct/Boring/manage_addBoring
I tried to change "manage_addBoring" method, and compared my product
with other working products, by the
: select * from customers where name='white' for update of
customers
Regards,
Ivan
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope
several simple methods.
>
Without seeing your queries, I would say use sql's UNION command, eg,
SELECT name FROM animals WHERE id =21 UNION SELECT name FROM diseases WHERE id
=21;
regards, Ivan
___
Zope maillist - [EMAIL PROTECTED]
http://lis
Olaf Zanger wrote:
> hi there,
>
> i'd like to send default values for an data update with the link to the
> form
>
> like
> c
>
> unfortunately name may contain spaces.
>
> i found out that spaces may be replaced by "+" in the link,
> but how d
think it
would good if the latter's importance it is hilighted - that it isn't
just the text that appears in the 'Add Product List'.
Regards,
Ivan
PS Yes, the above took 3 hours.
___
Zope maillist - [EMAIL PROTECTED]
http://list
One (ugly!) way of doing it:
This creates Test2 in Test1.
Ivan
>
> Here some experiments (don't look at the syntax):
>
>
>
>
>
>
>
>
> This looks fine to me, but ZOPE i
Mohan Baro wrote:
> Why doesn't the following code work?
> How do I achieve the desired functionality?
>
> ">
>
>
>
> Mohan.
You can't embed dtml within dtml. Try:
Ivan
PS, I would have replied to yo
I now find I
can answer about 50% of questions on this list - a very steep learning
curve (ie going from zero to zen quickly!).
Now I've just got to get to grips with it at work - I'm currently
working on converting a 500,000 row postgresql/ph
and then refer to adr_id & fac_id from zope.
[can't remember why, but think it is due to the way columns are addressed
in libpq]
Ivan
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or
thing with my ZClasses. I've tried applying the reindex patch I
found somewhere. I think my problems might be to do with the fact that I have
catalogaware zclasses that inherit from catalogaware base classes and
something isn't quite working there.
Al
;
-X : turn off all servers
-w : explicitly turn on http server on port 8000
I took out -D as it is a production server & after reading the last few
digests I'm going to add -Z, though Zope hasn't crashed once on me yet!
HTH
Ivan
___
Zop
d now!), calling hasattr() but
failed. Another possibilty would be to loop on a
tryraise until successful, but that doesn't seem
very zopish. In the source code for createInObjectManager I can see it
getting the folder, but can't figure how to acheive that
ons on this forum.
Regards,
Ivan Raikov
"Dierk Hoeppner" <[EMAIL PROTECTED]> writes:
> Hi,
>
> I want to connect our own proprietary database to zope. I know
> which features I want because I did an ordinary CGI-application
> already. I would like to use a ZClass.
method, and you have to write the DTML code that
obtains the result set, and displays it accordingly.
At least that's way I do it; there might be a better way, I don't
know.
Best,
Ivan
"Cary O'Brien" <[EMAIL PROTECTED]> writes:
> I tried that. You can
Why don't you create a ZClass and make the ZSQLMethod to be one of its
methods? Then the ZClass can provide the user interface to the SQL
query and the result set.
Regards,
Ivan Raikov
"Cary O'Brien" <[EMAIL PROTECTED]> writes:
> I want to wrap a presentation laye
Hello, everybody,
Is there any way to programmatically add the objects, returned from a
ZSQL method to a Zope Folder?
Thanks,
Ivan Raikov
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or
to access SQLPatientSearch."
(SQLPatientSearch is the ZSQL method). I think I've set all
permissions right, so I don't know why I get this, but I was wondering
if someone can come up with an easier way to do this.
Thank you very much,
Ivan Raikov
___
he SQL query,
Zope either dies and is restarted, or just sits there, doing
nothing, until the HTTP connection times out. In either case, the
new record is not written in the database.
3. Zope 2.1.7
Z ODBC DA 3.0.3
Solid dev kit 2.3
RedH
rm of ZSQL
Method.
How do I get a list of connection instances in the current folder?
Thanks,
Ivan Raikov
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
.
Regards,
Ivan
___
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-announce
http://lists.zope.org/mailman/lis
Hey all,
How can I get the current date & time (preferably as a
DateTime.DateTime object) in DTML? I cannot instantiate a DateTime
object, because the DateTime module is not imported.
Thanks,
Ivan Raikov
___
Zope maillist - [EMAIL PROTECTED]
Hi all,
Does Zope run under Python 1.6? If not, is anybody working on a port?
Thanks,
Ivan Raikov
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http
Ng Pheng Siong <[EMAIL PROTECTED]> writes:
>
> Ivan, if you skip the https bits and just run the http stuff, does it
> work?
>
Yes, the http server works; Zope dies the minute I try to access the https
server.
>
> > RedHat Linux 6.1
> > Python 1.5.2 (the
ts the following and dies:
Traceback (innermost last):
File "/home/ivan/src/Zope-2.1.6-src/z2s.py", line 681, in ?
asyncore.loop()
File "/home/ivan/src/Zope-2.1.6-src/ZServer/medusa/asyncore.py", line 107,
in loop
poll_fun (timeo
I can obtain the source code, and how I can contact the
developers.
Perhaps someone can provide me with this information?
Regards,
Ivan Raikov
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or
ere
I can get a copy of the source, and how I can contact its developers.
Perhaps someone can provide me with this information?
Regards,
Ivan Raikov
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross pos
39 matches
Mail list logo