I have a fold and I used objectValues['Image'] to make a array list of images. I have rename each image using AUTHENTICATED_pic.jpg and want to use an if statement to find the image with the same name in the array list. Can someone tell how?? Is there a findObject function or something??
Yahoo! M
Here is the problem. I want to use a form to upload a file (with a specific name) but first I want to check if another file with the same name already exist in that folder. How do I use a if or dtml-if to solve this problem??
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.___
I just want to show my root URL address whenever people browse into other pages of my site. How do I do this in dtml or python script or external method??
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search. Learn more.___
Zope ma
what are the dtml for logout of an account and deleting a existing user??
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts
How do I logout current user using DTML
I used but it didn't work and zope gave me this.
Site Error
An error was encountered while publishing this resource.
Error Type: AttributeErrorError Value: logout
What did I do wrong??
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on yo
How do I delete acl_users using DTML code??
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related
I tried your method before and it didn't work
I have a folder called conference and inside it there is acl_users folder and I write all my dtmls in the conference folder (by the way, your are talking about manage_delObjects() instead deleteObjects() right??)
I tried to use
zope tell me an e
Is there any way to open a .doc files using dtml or script and print them??
Yahoo! Mail
Stay connected, organized, and protected. Take the tour___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML en
How do I use dtml or python script to print a page through a printer??
Discover Yahoo!
Stay in touch with email, IM, photo sharing & more. Check it out!___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts o
What do I need to do inorder for me to use cookies with login dtml or python script??
can anyone some me??__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
What do I need to do inorder for me to use cookies with login dtml or python script??
can anyone some me??__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
How do I change my webpage into pdf using dtml or python script?__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
Zope maillist - Zope@zope.org
http:
I want to post a update date that will change when any of the objects in a folder has been updated.
So far, I only know the command bobobase_modification_time, but it only works again the object I I enter the command with..
Can anyone show me how this is done??
Start your day with Yahoo! -
is there any dtml codes that can display a file's type?
I made a site that allows a person to send up a document file. But in the end what I really wanted is to let people to upload .doc files.
Since I didn't put any restriction on it, people always send up a smaller .pdf file instead.
So how
I made a propertysheet for a customed zclass and I wish to use some variables and combine them to form a name for my newed created object.
Say I have variable
a = 'name a'
b = 'value b'
c = 'string c'
what do I encode in my dtml method some_add
?? into the combination of a, b, and
What's the dtml method that I could use to display the creation time of a zope object.
I don't want to use bobomodification method because it changes after every update. I just need the time and date of a zope object when it was created__Do You
I want to create a empty file in a ZClass object when I first created the ZClass object. How do I do that using DTML??
Yahoo! FareChase - Search multiple travel sites in one click.
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/l
Can one zope server host to websites with two different IPs?
Can someone teach me how this is done?
Yahoo! FareChase - Search multiple travel sites in one click.
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**
I want to Reading GIS files(.shp, .dbx, .iforget) into ZopeDatabase. Does anyone have any ideas how I could accomplish this? any existing modules? Mailing list?
Yahoo! FareChase - Search multiple travel sites in one click.
___
Zope maillist - Zo
concern on how it will stress my RAM. I made a system with zope to take in members and when I try to do some statistics with zope, I had to change from a 256mb ram to a 512mb ram.
what do think about this Dieter??
Dieter Maurer <[EMAIL PROTECTED]> wrote:
Allen Huang wrote at 2005-11-6 1
how do I do an auto-refresh to my browser with dtml? anyone have any ideas?
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML enc
I have integrated Epoz module into my product director and reboot ZOPE. At first it was alright at first, but I started getting call telling me that all the Epoz module shows is the "save change button". I had a look through my browser and it was alright, but it just display anything besides th
Hi... This is probably not much about zope, but I want to do make a web page that does mouse drag query that query the zodb for information. For example... I have a picture and I want my mouse to be able to point a single point or drag a selection box and what ever is selected will make a new
I'm trying zope on linux but I have come a cross a problem. I windows, I simply changed the port number from 8080 to 80 in zope.conf so I could get to my site without typeing the port. But in Linux, I did the same thing but it always tells me that some other server already occupied thi
I'm trying to host two site on one zope server I have two fix IP and I have two network card installed. I changed my zope.conf to include two http server that listen on two different ports. But, I placed my site under different folder and I don't know how to redirect different IP to differen
I want to make a web page that could handle mouse events. My primary goal is to do some image processing like zooming and panning on an image displayed and redisplay it on the same page. But I don't really know how to approach this and at the same time interacting with Zope to retrieve relevent inf
Dear Lennart Regebro Thanks for replying. If I use the python GUI, which you mention that it no longer use a brower, how would I use GUI to interact with zope database? How does the client end interact with the GUI? Lennart Regebro <[EMAIL PROTECTED]> wrote: On 2/10/06, Allen Huang &
Dear Lennart Sorry... I'm still pretty new at this, I'm only worked with java templet. Is it possible for you to show me some example using GUI and ZODB together.. Some other guy replyed and said it couldn't be done.Lennart Regebro <[EMAIL PROTECTED]> wrote: On
Can java applet interact with Zope ZODB database? does it need any kind of connecter and driver?
What are the most popular cars? Find out at Yahoo! Autos
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross po
I'm been playing around with python PIL library for a while now but I'm confuse about how to dynamically generated image or modified an image, create a new image object, and save it back into zope database. can someone walk me through the steps?
What are the most popular cars? Find ou
I want to install PIL into zope but I couldn't use the installation package since python that came with zope isn't register on windows. so I installed python 2.3 seperately and I found some artical on the zope website and it said to - decompress and PIL package and move - Copy the PIL f
Hi... I assume that you mean to make modification to the path to the python interpreter in Zope at the \etc\zope.conf right? what lines should I add or modify? Tino Wildenhain <[EMAIL PROTECTED]> wrote: Allen Huang schrieb:> I want to install PIL into zope but I couldn&
Hi I want to use external methods to read a text file and image in database and modify the REQUEST my code looks like this varible --- def imageSetup(self, imageID, dataID, REQUEST): import PIL.Image from StringIO import StringIO # Get the original imag
I'm trying to open a file that is in database but I got this error message instead coercing to Unicode: need string or buffer, instance found I don't quite understand why. My code looks like this def imageSetup(self, dataID, REQUEST): from StringIO import StringIO # Get the o
e to read a text file that you store in ZOPE database and extract the infromation line by line?Andreas Jung <[EMAIL PROTECTED]> wrote: --On
25. Februar 2006 21:55:24 -0800 Allen Huang <[EMAIL PROTECTED]>wrote:> imageDataFile=StringIO(str(imageData.data))> tfw = open(imageDataFile
I using a python program that create thumbnails that I upload into zope. But the problem is that my program wants to recieve string values and apparently zope object id is not. can anyone help with this? How do I convert zope object id into string values?
Do you Yahoo!? Everyone is ravi
can anyone help me with this? I have a file that is written in a combination of big and little Endian bit-coding, can does anyone know how I can translate using python or zope?
How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.__
how to set higher security for zope ftp? I want people to upload but can't download, delete, replace any of the existing file.. how do I do that on zope ftp?
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.___
I'm new at this, but can you put python GUIs on the web that will interact with zope database?___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/
nless you could give me some pointers.)
I know that I could use Java with python, but I really don't want to combine two languages. I want to keep it as simple as possible.
- Original Message From: Peter Bengtsson <[EMAIL PROTECTED]>To: Allen Huang <[EMAIL PROTECTED]>Cc: Zop
I made a template that changes the location name and content due to the information stored in the title property variable and the file content of a "File" object.
I used the dtml tag to call the "title" information but I don't know of any dtml tag that would call the content other than calling t
I want to do different operation to different object groups that I created my
adding new products. But before I could do that I need to determine what the
object I'm working with.
Could anyone help me.. how do I use DTML to return the type of the object I'm
currently working with?
__
Hi.. I want to start learning ZPT since I heard from a lot of people that dtml
is too outdated. Could anyone point me in the right direction? What should I
starts on?
Yahoo! Music Unlimited
Access over 1 mill
I want to do some mapping application with zope.. but I have run into this
problem over and over..
in "Run Zope in Console"
Exception exceptions.AttributeError:"ShapeFile instance has no attribute
'thisown'" in ignored
in web browser
Site Error
An error was encountered while publishing this
__traceback_info__: (('http://localhost/testPython/taiwan1.shp',), {},
None)
Module C:\web\ZopeInstance\Extensions\shapetools.py, line 4, in readshp
Module shapelib, line 44, in __init__
IOError: new_ShapeFile failed
- Forwarded Message
From: Dieter Maurer <[EMAIL PROTEC
From: Andreas Jung <[EMAIL PROTECTED]>
To: Allen Huang <[EMAIL PROTECTED]>; Zope
Sent: Sunday, December 24, 2006 2:47:52 PM
Subject: Re: Fw: [Zope] problem with the shapelib module.. help
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
- --On 23. Dezember 2006 22:27:29 -0800 Allen H
I'm new at data processing using zope and I could need some advice
I want to make a online system that can processing a set data of three files
and record them info zodb. I have running into some problem where I could
process the set data if it was on my computer in the same extension directory
d you help me?
- Original Message
From: Andreas Jung <[EMAIL PROTECTED]>
To: Andreas Jung <[EMAIL PROTECTED]>; Allen Huang <[EMAIL PROTECTED]>; Zope
Sent: Sunday, December 24, 2006 11:31:09 PM
Subject: Re: [Zope] processing data problem
-BEGIN PGP SIGNED MESSAGE
is is what I wants to do. Please feel free to provide me with any
suggestion.. Thanks.
- Original Message
From: Maciej Wisniowski <[EMAIL PROTECTED]>
To: Allen Huang <[EMAIL PROTECTED]>
Cc: Zope
Sent: Wednesday, December 27, 2006 7:18:37 AM
Subject: Re: [Zope] process
zope 2.8.8 uses python 2.3.5
but I want to use modules that will only work with python 2.4
I've being adviced not to change runzope.bat file since it might disrupt
functionalities of zope 2.8.8 designed for python 2.3.5.
what should I do?
__
Do You
to do when I'm was using Zope 2.8.
Why is that?
- Original Message
From: Andreas Jung <[EMAIL PROTECTED]>
To: Allen Huang <[EMAIL PROTECTED]>; Zope
Sent: Wednesday, December 27, 2006 3:03:52 PM
Subject: Re: [Zope] usering module problem on zope 2.8.8
-BEGIN PG
at is the problem??
- Original Message
From: Andreas Jung <[EMAIL PROTECTED]>
To: Allen Huang <[EMAIL PROTECTED]>; Zope
Sent: Wednesday, December 27, 2006 7:35:42 PM
Subject: Re: [Zope] usering module problem on zope 2.8.8
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
-
I'm sorry Andreas. But I still don't see any solution to this problem. Do you
have a solution? or there is no solution at all?
- Original Message
From: Andreas Jung <[EMAIL PROTECTED]>
To: Allen Huang <[EMAIL PROTECTED]>; Zope
Sent: Thursday, December 28, 2006
Then is it possible to use zope 2.8.x with python 2.4.x modules?
- Original Message
From: Andreas Jung <[EMAIL PROTECTED]>
To: Allen Huang <[EMAIL PROTECTED]>; Zope
Sent: Thursday, December 28, 2006 9:42:43 PM
Subject: Re: [Zope] usering module problem on zope 2.8.8
--
I starting to use Zope 2.9 and I'm told not to use ZClass anymore. Instead of
make products with in zope, I should make products using python coding and
place it in the product folder. But I don't know zope modules will enough to
make my own product.
Where should I start?
I'm using Zope 2.8.8 and I trying to make my own product.
Whenever I make a product with errors in the python coding, I could see my
product name registered in the product management page. But when I fix all the
error, the product disappears; it not in the product management page or the add
men
thanks for repling Marco.
I'm using a window version of zope and linux command 'zopectl fg' doesn't work.
what is the forground command in windows? Is the "run in console" the same as
forground??
- Original Message
From: Marco Bizzarri <[EMAIL PR
I got it to work.. thank a lot everyone, couldn't hav done it without you guys.
- Original Message
From: Andreas Jung <[EMAIL PROTECTED]>
To: Maciej Wisniowski <[EMAIL PROTECTED]>; Allen Huang <[EMAIL PROTECTED]>
Cc: Zope
Sent: Wednesday, January 3, 2007 3:13:4
I created a product using python scripting and worked fine when I create it
from the pulldown add menu. But when I try to use
it didn't create an product obje
?
- Original Message
From: Andreas Jung <[EMAIL PROTECTED]>
To: Allen Huang <[EMAIL PROTECTED]>; Zope
Sent: Saturday, January 6, 2007 9:52:36 PM
Subject: Re: [Zope] problem with createing a product object using dtml
--On 6. Januar 2007 05:50:10 -0800 Allen Huang <[EMAIL PR
This is a problem a got a lot and I never able to seem to solve it.
I want save or create a object to a specific folder or other folderish object,
I ask the user for the id of that folder or folderish object
I store the id name in a variable 'name'
the problem is I know t
dear Andreas
make my question short.
I have a string object 'name' and it is a name of an exsiting folder
is there a method that uses 'name'(a str object) as an argument to call upon
this folder?
- Original Message
From: Andreas Jung <[EMAIL PROTECTED]&g
7;name' is a str
object
so how do I create a file inside a folder whose id is 'name'?
----- Original Message
From: Andreas Jung <[EMAIL PROTECTED]>
To: Allen Huang <[EMAIL PROTECTED]>; Zope
Sent: Sunday, January 7, 2007 3:39:39 PM
Subject: Re: [Zope] saving/creatin
27;) into a working
statement?
- Original Message
From: Andreas Jung <[EMAIL PROTECTED]>
To: Allen Huang <[EMAIL PROTECTED]>; Zope
Sent: Sunday, January 7, 2007 4:06:27 PM
Subject: Re: [Zope] saving/creating an object to an exsisting folderish object
--On 7. Januar 2007 0
I found the solution... use _.getitem(name)
this took some book flipping through some basic methods of zope modules in 'The
Book of ZOPE' by Beehive. A pretty good book for beginners
- Original Message ----
From: Allen Huang <[EMAIL PROTECTED]>
To: zope@zope.org
Sent: S
thanks for all your help Andreas, couldn't done it without you forcing
me to think about my problem.
- Original Message
From: Andreas Jung <[EMAIL PROTECTED]>
To: Allen Huang <[EMAIL PROTECTED]>; Zope
Sent: Monday, January 8, 2007 4:39:32 AM
Subject: Re: [Zope]
I have a data file that has over 11 entry of 3 column data (string, float,
float)
currently I have written my program so it will do an entry by entry processing
with zope. This operation is like this
1. read data (the data file)
2. create product (a python product that store three field d
Tree because I don't know enough about it. I'll
look into it but will BTree still be a better choice than making instance if
I'm going to make interactive functions?
Any other suggestions?
- Original Message
From: Andreas Jung <[EMAIL PROTECTED]>
To: Allen Huang <[
There is other solution that uses RDBMS to what I'm trying to do, and I'm
considering using PostGreSQL after. But before that, I want to using ZOPE and
ZODB because I feel this could work.
But in ZOPE vs RDBMS, why do you consider RDBMS first, why not ZOPE? can your
give me the pros and cons
Can some one show me two example with using PIL module in ZOPE
1. creating an image from inputed data an safe into zope
for example: given x,y,r as a center coordinate and radius and draw a
circle and save it as circle.jpg
2. read an exisiting image, edit it, and save it
for exam
I made a simple product using python that stores some varibles, but I couldn't
make it acts like a folderish, stores objects, and have a content tab page
using manage_main like when I use to have when I use internal product.
I reviewed the tutorials on how to make internal products and I found t
L/index_html', globals())
manage_editShpProjectForm = HTMLFile('DTML/manage_editShpProjectForm',
globals())
InitializeClass(ShpProjectClass)
what else am I missing? and is using ObjectManager unsave in anyway?
- Original Message
From: Andreas Jung <[EMAIL PROT
x27;t understand why? could someone explain this to me?
- Original Message
From: Allen Huang <[EMAIL PROTECTED]>
To: Zope
Sent: Monday, March 12, 2007 10:31:27 AM
Subject: Re: [Zope] have problem with managing objects within a external product
Dear AJ,
Thanks, but I still have so
I created an external product using python to creates a folderish object.
During object instantiation by
manage_addProduct(self, id, ..):
I wish to add a couple of empty files and folder.
I tried
self.manage_addFolder('folderID', , 'folderName')
but it just creat
Could anyone give me any examples?
- Original Message
From: Andreas Jung <[EMAIL PROTECTED]>
To: Allen Huang <[EMAIL PROTECTED]>; Zope
Sent: Thursday, March 15, 2007 1:23:14 PM
Subject: Re: [Zope] adding files and folder in a object during generation
--On 14. März 2007 22
I made a pyhon product with catalogaware as one of my base class but my
zcatalog named 'catalog' doesn't automatically catalog when I add a product
item. what could be a problem?
Please help
this is part of my code that include catalogawareness:
class ShpTypePointClass(Item, Persistent, Implic
I keep getting this error, but the same code work on another zope server and I
didn't use any key or attribute named 'validate'. What is the cause of this?
Time2007/03/20 17:38:03.726 GMT+8
User Name (User Id)admin (admin)
Request URLhttp://localhost/WEBGIS/test1
Exception TypeKeyError
Exception
I made a python product for a photo album and I have store a lot of pictures.
But the problem arise when I have too many pictures of high resoution that
taken up too much hdd space so I have written some codes in dtml and python to
resize and reduces each image size in zodb without download any p
I've requested to add you as a friend on Facebook. You can use Facebook to see
the profiles of the people around you, share photos, and connect with friends.
Thanks,
Allen
Here's the link:
http://www.facebook.com/p.php?i=587615679&k=53L2Y2SRQWTBWEA1XB4T&r&v=2
___
This e-mail ma
79 matches
Mail list logo