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
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
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,
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
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
/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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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?
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
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
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
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
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 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
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
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
: 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
- 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
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
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
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?
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
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
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 -
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 -
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
**
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
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
dtml-with
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! -
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
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
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
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! **
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
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
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
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
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
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!
72 matches
Mail list logo