[Zope] I've added you as a friend on Facebook...

2007-10-11 Thread Allen Huang
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=587615679k=53L2Y2SRQWTBWEA1XB4Trv=2 ___ This e-mail may

[Zope] mass editing timeout problem

2007-03-22 Thread Allen Huang
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

[Zope] catalog aware not working.. help

2007-03-20 Thread Allen Huang
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,

[Zope] adding files and folder in a object during generation

2007-03-14 Thread Allen Huang
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

Re: [Zope] adding files and folder in a object during generation

2007-03-14 Thread Allen Huang
Could anyone give me any examples? - Original Message From: Andreas Jung [EMAIL PROTECTED] To: Allen Huang [EMAIL PROTECTED]; Zope zope@zope.org 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:18

Re: [Zope] have problem with managing objects within a external product

2007-03-11 Thread Allen Huang
/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 PROTECTED] To: Allen Huang

Re: [Zope] have problem with managing objects within a external product

2007-03-11 Thread Allen Huang
understand why? could someone explain this to me? - Original Message From: Allen Huang [EMAIL PROTECTED] To: Zope zope@zope.org 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 some

[Zope] have problem with managing objects within a external product

2007-03-09 Thread Allen Huang
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

[Zope] can someone help me with PIL

2007-02-28 Thread Allen Huang
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

Re: [Zope] need advice on mass data processing

2007-01-09 Thread Allen Huang
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 [EMAIL PROTECTED]; Zope zope@zope.org Sent: Tuesday

Re: [Zope] need advice on mass data processing

2007-01-09 Thread 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

[Zope] need advice on mass data processing

2007-01-08 Thread Allen Huang
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

Re: [Zope] saving/creating an object to an exsisting folderish object

2007-01-07 Thread Allen Huang
a folder whose id is 'name'? - Original Message From: Andreas Jung [EMAIL PROTECTED] To: Allen Huang [EMAIL PROTECTED]; Zope zope@zope.org Sent: Sunday, January 7, 2007 3:39:39 PM Subject: Re: [Zope] saving/creating an object to an exsisting folderish object --On 6. Januar 2007 21:28:06 -0800

Re: [Zope] saving/creating an object to an exsisting folderish object

2007-01-07 Thread Allen Huang
From: Andreas Jung [EMAIL PROTECTED] To: Allen Huang [EMAIL PROTECTED]; Zope zope@zope.org 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 00:02:21 -0800 Allen Huang [EMAIL PROTECTED] wrote: 'name

Re: [Zope] saving/creating an object to an exsisting folderish object

2007-01-07 Thread Allen Huang
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: Sunday, January 7

Re: [Zope] saving/creating an object to an exsisting folderish object

2007-01-07 Thread Allen Huang
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 zope@zope.org Sent: Monday, January 8, 2007 4:39:32 AM Subject: Re: [Zope] saving/creating an object

[Zope] problem with createing a product object using dtml

2007-01-06 Thread Allen Huang
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 dtml-let number=sequence-index dtml-with manage_addProduct['ShpType'] dtml-call

Re: [Zope] problem with createing a product object using dtml

2007-01-06 Thread Allen Huang
scripting) what would it look like? - Original Message From: Andreas Jung [EMAIL PROTECTED] To: Allen Huang [EMAIL PROTECTED]; Zope zope@zope.org 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

[Zope] saving/creating an object to an exsisting folderish object

2007-01-06 Thread Allen Huang
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

Re: [Zope] saving/creating an object to an exsisting folderish object

2007-01-06 Thread Allen Huang
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] To: Allen Huang [EMAIL

Re: [Zope] The product I made isn't in the product management page

2007-01-03 Thread Allen Huang
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 zope@zope.org Sent: Wednesday, January 3, 2007 3:13:48 PM Subject: Re

[Zope] about make products

2007-01-02 Thread Allen Huang
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?

Re: [Zope] The product I made isn't in the product management page

2007-01-02 Thread Allen Huang
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 PROTECTED] To: Allen Huang [EMAIL

Re: [Zope] usering module problem on zope 2.8.8

2006-12-28 Thread Allen Huang
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 zope@zope.org Sent: Thursday, December 28, 2006 3:33:44 PM

Re: [Zope] usering module problem on zope 2.8.8

2006-12-28 Thread Allen Huang
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 zope@zope.org Sent: Thursday, December 28, 2006 9:42:43 PM Subject: Re: [Zope] usering module problem on zope 2.8.8

Re: [Zope] usering module problem on zope 2.8.8

2006-12-27 Thread Allen Huang
was using Zope 2.8. Why is that? - Original Message From: Andreas Jung [EMAIL PROTECTED] To: Allen Huang [EMAIL PROTECTED]; Zope zope@zope.org Sent: Wednesday, December 27, 2006 3:03:52 PM Subject: Re: [Zope] usering module problem on zope 2.8.8 -BEGIN PGP SIGNED MESSAGE- Hash

Re: [Zope] usering module problem on zope 2.8.8

2006-12-27 Thread Allen Huang
TypeError: default __new__ takes no parameters what is the problem?? - Original Message From: Andreas Jung [EMAIL PROTECTED] To: Allen Huang [EMAIL PROTECTED]; Zope zope@zope.org Sent: Wednesday, December 27, 2006 7:35:42 PM Subject: Re: [Zope] usering module problem on zope 2.8.8

[Zope] usering module problem on zope 2.8.8

2006-12-26 Thread Allen Huang
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

Re: Fw: [Zope] problem with the shapelib module.. help

2006-12-24 Thread Allen Huang
From: Andreas Jung [EMAIL PROTECTED] To: Allen Huang [EMAIL PROTECTED]; Zope zope@zope.org 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 Huang

[Zope] processing data problem

2006-12-24 Thread Allen Huang
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

Re: [Zope] processing data problem

2006-12-24 Thread Allen Huang
: Andreas Jung [EMAIL PROTECTED] To: Andreas Jung [EMAIL PROTECTED]; Allen Huang [EMAIL PROTECTED]; Zope zope@zope.org Sent: Sunday, December 24, 2006 11:31:09 PM Subject: Re: [Zope] processing data problem -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 24. Dezember 2006 07:10:21 -0800

Fw: [Zope] problem with the shapelib module.. help

2006-12-23 Thread Allen Huang
- Forwarded Message From: Dieter Maurer [EMAIL PROTECTED] To: Allen Huang [EMAIL PROTECTED] Cc: Zope zope@zope.org Sent: Saturday, December 23, 2006 3:52:53 AM Subject: Re: [Zope] problem with the shapelib module.. help Allen Huang wrote at 2006-12-21 23:23 -0800: I want to do some mapping

[Zope] problem with the shapelib module.. help

2006-12-21 Thread Allen Huang
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

[Zope] want to learn ZPT

2006-12-05 Thread Allen Huang
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

[Zope] How to get the type of an object by dtml

2006-11-29 Thread Allen Huang
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?

[Zope] reading text file object

2006-10-22 Thread Allen Huang
I made a template that changes the location name and contentdue to theinformation stored inthe titleproperty variable and the file contentof a"File" object. I used the dtml tag dtml-var title to call the "title" information but I don't know of any dtml tag that would call the contentother than

Re: [Zope] put python gui on the web(zope)?

2006-10-16 Thread Allen Huang
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: Zope zope@zope.orgSent: Monday, October

[Zope] put python gui on the web(zope)?

2006-10-15 Thread Allen Huang
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 -

[Zope] how to set higher security for zope ftp

2006-10-13 Thread Allen Huang
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

[Zope] zope or python reading big or little Endian...

2006-08-27 Thread Allen Huang
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! Messenger’s low PC-to-Phone call

[Zope] how to convert object id into string values?

2006-08-20 Thread Allen Huang
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

Re: [Zope] trying to open a file in database but couldn't

2006-02-26 Thread Allen Huang
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, "r")Please consult

[Zope] trying to open a file in database but couldn't

2006-02-25 Thread Allen Huang
I'm trying to open a file that is in database but I got this error message insteadcoercing to Unicode: need string or buffer, instance foundI don't quite understand why. My code looks like thisdef imageSetup(self, dataID, REQUEST): from StringIO import StringIO # Get the original

[Zope] want to use external script to read a text-file and image in database and modify REQUEST

2006-02-24 Thread Allen Huang
HiI want to use external methods to read a text file and imagein 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 image and data

[Zope] installing PIL on Window Zope

2006-02-16 Thread Allen Huang
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 andI found some artical on the zope website and it said to - decompress and PIL package and move - Copy the PIL folder

Re: [Zope] installing PIL on Window Zope

2006-02-16 Thread Allen Huang
Hi... I assume that you mean tomake 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't use the installation

[Zope] Can java applet interact with Zope ZODB database?

2006-02-14 Thread Allen Huang
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

[Zope] about zope and mouse event handling

2006-02-10 Thread Allen Huang
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

Re: [Zope] about zope and mouse event handling

2006-02-10 Thread Allen Huang
Dear Lennart RegebroThanks for replying. If I use the pythonGUI, 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 <[EM

Re: [Zope] about zope and mouse event handling

2006-02-10 Thread Allen Huang
Dear LennartSorry... 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 2/10/06, Allen Huang <[EM

[Zope] hosting two site on one zope server

2005-12-16 Thread Allen Huang
I'm trying to host two site on one zope serverI 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

[Zope] Trying zope on Linux

2005-12-15 Thread Allen Huang
I'm trying zope on linux but I have come a cross a problem.I windows, I simply changedthe portnumber from 8080 to 80 inzope.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 this

[Zope] about mouse interactions..

2005-12-13 Thread Allen Huang
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 ordrag a selection box and what ever is selected will make a new

[Zope] how to auto refresh the browser with dtml

2005-11-28 Thread Allen Huang
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

Re: [Zope] Reading GIS files(.shp, .dbx, .) into ZopeDatabase

2005-11-08 Thread Allen Huang
it will stress my RAM. I made a system with zope to take in members and whenItry todo somestatistics 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 17:10 -0800:I want to Reading GIS

[Zope] Reading GIS files(.shp, .dbx, .) into ZopeDatabase

2005-11-06 Thread Allen Huang
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 -

[Zope] Can one zope server host to websites with two different IPs?

2005-11-03 Thread Allen Huang
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 **

[Zope] time and date of creation of a zope object

2005-09-03 Thread Allen Huang
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 itwas created__Do You

[Zope] find a file's type

2005-07-27 Thread Allen Huang
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

[Zope] use combined propertysheet variables to form a file name for a zObject

2005-07-27 Thread Allen Huang
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 dtml-with

[Zope] how do I check if an object have being recently updated??

2005-07-23 Thread Allen Huang
I want to post a update date that will change when any ofthe 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! -

[Zope] About login dtml

2005-07-13 Thread Allen Huang
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

[Zope] dtml to pdf

2005-07-13 Thread Allen Huang
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

[Zope] Print a web page using dtml

2005-06-05 Thread Allen Huang
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

[Zope] Opening .doc files in zope

2005-05-27 Thread Allen Huang
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

[Zope] How do I delete acl_users using DTML??

2005-05-12 Thread Allen Huang
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! **

[Zope] Delete user from acl_users folder

2005-05-12 Thread Allen Huang
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 dtml-call

[Zope] How do I logout using DTML

2005-05-11 Thread Allen Huang
How do I logout current user using DTML I used dtml-call expr="acl_users.logout(REQUEST)" 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

[Zope] what are the dtml for logout and deleting a existing user??

2005-05-10 Thread Allen Huang
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

[Zope] Hiding HTML URL

2005-05-09 Thread Allen Huang
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

[Zope] Finding an object in a folder

2005-05-08 Thread Allen Huang
Here is the problem. I want to use a form to upload a file (with a specific name)but first I want to check ifanother 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

[Zope] Find a object in a zope list

2005-05-07 Thread Allen Huang
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!