[Zope] where does ZOPE store users created objects
Hello, Please i want to know the physical path on my Zope installation where Zope stored the objects (such as dtml methods and documents) created by the users. When i searched for the .dtml extension on my computer, I could not see anyone created by me or other users from the list of objects returned. My plan is to have two zope installaions running, i want the first zope installation to hold current information (bcos the data.fs is becoming too big, it is slowing down the site whereas majority of my users are interested in the current info while few will want to access the old info) and later run a python code that will cut and paste the old information into the second zope installation as soon as I have new ones. thanks___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] where does ZOPE store users created objects
> Hello, > > Please i want to know the physical path on my Zope installation where > Zope stored the objects (such as dtml methods and documents) created by > the users. When i searched for the .dtml extension on my computer, I > could not see anyone created by me or other users from the list of > objects returned. All data is held with in the ZODB (var/Data.fs). > My plan is to have two zope installaions running, i want the first zope > installation to hold current information (bcos the data.fs is becoming > too big, it is slowing down the site whereas majority of my users are > interested in the current info while few will want to access the old > info) and later run a python code that will cut and paste the old > information into the second zope installation as soon as I have new > ones. > Sorry, but you don't know how Zope works. Becoming "big" and "slow" are terms that totally sense-free without coming up with numbers and fact. There are real-world Zope installation with millions of objects that are pretty fast. So tell us what "big" and "slow" means and we might come up with some hints instead of responding to a question that isn't worth responding to :-) -- Thanks for taking your precious time to reply me. ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Creating a ZCatalog to catalog the newly created objects using ZClasses
Hello, I was reading and following the zope book to Creating a ZCatalog to catalog the newly created objects using ZClasses while this message was displayed. "ZClasses are a deprecated feature and should no longer be used for new projects. Instead use either through-the-web scripting with Zope Page Templates, PythonScripts etc. or write a Zope product." Please can somebody point me to "How to" for any of these new recommended ways. Thanks.___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] RuntimeError:maximum recursion depth exceeded
Hello, After successfully created News Item ZClass from the example from the zope book. When I selected News Item from the Add list, this is the error msg displayed Error Type: RuntimeError Error Value: maximum recursion depth exceeded. Pls help. ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Auto Cataloging my ZCatalog
Hello, I have a ZCatalog that my users use to catalog there news articles which are (DTML Documents). I have already explained it to them to always input the id for the new DTML Documents under "with ids" section on the Find Objects tab on the ZMI to catalog new articles. But most time they will not and they end up cataloging the entire articles which runs to 13,000 records. What i want is either to be able to display error when the "with ids" is missing on Find Objects form or to be able to automate it. For example use a python code. I am new to python but very eager to learn. Any help will be highly appreciated.___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Auto Cataloging my ZCatalog
- Original Message - From: "Jonathan" <[EMAIL PROTECTED]> To: "kamal hamzat" <[EMAIL PROTECTED]>; Sent: Friday, June 15, 2007 5:58 PM Subject: Re: [Zope] Auto Cataloging my ZCatalog - Original Message - From: "kamal hamzat" <[EMAIL PROTECTED]> To: Sent: Friday, June 15, 2007 12:51 PM Subject: [Zope] Auto Cataloging my ZCatalog Hello, I have a ZCatalog that my users use to catalog there news articles which are (DTML Documents). I have already explained it to them to always input the id for the new DTML Documents under "with ids" section on the Find Objects tab on the ZMI to catalog new articles. But most time they will not and they end up cataloging the entire articles which runs to 13,000 records. What i want is either to be able to display error when the "with ids" is missing on Find Objects form or to be able to automate it. For example use a python code. I am new to python but very eager to learn. One possible approach: - I would not allow end-users access to the ZMI. - Have users interact with the application through a menu driven interface - Use a series of forms to collect data, then use python scripts/external methods to create/store objects (eg. your DTML Documents) and update the ZCatalog(s). This sound interesting, but i do not have an idea of how to use python/ external method to create/store objects. I will appreciate if you can point me to links or articles that have treated something similar. Thanks kamal ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Using Epzo with DTML Document Objects in ZMI
I use DMTL Document Objects in ZMI to store my news articles, how can i be able to use Epzo to edit my article content inside ZMI. Thanks. kamal___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Auto Cataloging my ZCatalog
Hi Joerg, Thank you for the tips to install Abracadabra. I have also installed PropertyTools. I tried to follow the tutorial to in the read me file "building contact-database" for PropertyTools. a.. Create a folder called contacts. a.. Create a "standard_object_folder" in contacts. a.. Enter the "standard_object_folder", add a PropertyTools-Object and edit the property-sheet. Add new properties "email", "homepage" and "phone" as string-types. a.. Go to the Manage-Tab: Set Object-Type = Contact, Unlock "Extensible Properties". a.. Enter your contacts folder. a.. Create a Catalog with id=Catalog. a.. Add some contacts with the AbracadabraObject. At this point i was expecting that the contacts i added to auto catalog. But nothing like that happened. Is there something i was missing out. What i want is this: I have 2 Zcatalogs current_catalog and archive _catalog. I use current_catalog to store only current articles. What I do everyday is to create the articles (DTML Doc), clear the current_catalog and catalog the new artcles using the article_id. My problem here is that even if I am succeeded in making the articles to auto catalog, how do i handle the issue of clearing the catalog before cataloging the new ones. I have about 13,000 articles in one of the sections and this is reason behind having 2 Zcatalogs. The site displays the current articles to visitors therefore i have to streamline the number of records in the current_catalog. Having it in mind that just few visitors want to view the old or previous artcles, the archive_catalog is use to serve it. I will appreciate any assistance you could render to me. thanks - Original Message - From: "Joerg Baach" <[EMAIL PROTECTED]> To: "kamal hamzat" <[EMAIL PROTECTED]> Sent: Monday, June 18, 2007 4:38 PM Subject: Re: [Zope] Auto Cataloging my ZCatalog Hi Kamal, I have a ZCatalog that my users use to catalog there news articles which are (DTML Documents). I have already explained it to them to always input the id for the new DTML Documents under "with ids" section on the Find Objects tab on the ZMI to catalog new articles. But most time they will not and they end up cataloging the entire articles which runs to 13,000 records. I am a big fan of PropertyTools and Abracadabra, to be found on http://iungo.org/products PropertyTool allows you to define Objects (e.g. Text documents) that are catalog-aware, e.g. index themselfes, without doing any coding. Your users would then copy such template objects into the folders where the content is to be stored. Abracadabra helps a lot with this 'copy and paste' machinery. Cheers, Joerg ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] python function to know the total number of records in a catalog object
Hi, I need a python script or function to get the total number of records in a zcatalog. Thanks Kamal___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope products that allows people to Add Comments to publications
Hello, Is there any zope product that allows visitors to Add Comments to the news / articles, just like the one in plone. Thanks___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope products that allows people to Add Comments to publications
hi Tom, I have this error when add squishdot from ZMI Error Type: TypeError Error Value: unbound method mailhost_list() must be called with SquishSite instance as first argument (got nothing instead) Traceback (innermost last): a.. Module ZPublisher.Publish, line 119, in publish b.. Module ZPublisher.mapply, line 88, in mapply c.. Module ZPublisher.Publish, line 42, in call_object d.. Module App.special_dtml, line 65, in __call__ e.. Module DocumentTemplate.DT_String, line 476, in __call__ Thanks - Original Message - From: Tom Von Lahndorff To: kamal hamzat Cc: zope@zope.org Sent: Monday, June 25, 2007 8:14 PM Subject: Re: [Zope] Zope products that allows people to Add Comments to publications check out http://www.squishdot.org On Jun 25, 2007, at 3:00 PM, kamal hamzat wrote: Hello, Is there any zope product that allows visitors to Add Comments to the news / articles, just like the one in plone. Thanks ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope products that allows people to Add Commentsto publications
Then what i have done wrong to be getting the error and how do i correct it. Error Type: TypeError Error Value: unbound method mailhost_list() must be called with SquishSite instance as first argument (got nothing instead) Traceback (innermost last): a.. Module ZPublisher.Publish, line 119, in publish b.. Module ZPublisher.mapply, line 88, in mapply c.. Module ZPublisher.Publish, line 42, in call_object d.. Module App.special_dtml, line 65, in __call__ e.. Module DocumentTemplate.DT_String, line 476, in __call__ I am running: Zope 2.10.2-final Python 2.4.4 Window XP Professional Thanks - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Andreas Jung" <[EMAIL PROTECTED]> Cc: ; <[EMAIL PROTECTED]> Sent: Wednesday, June 27, 2007 3:19 PM Subject: Re: [Zope] Zope products that allows people to Add Commentsto publications Andreas Jung wrote: Forget Squishdot, it's unmaintained since 4 years. Urm, excuse me, but that's just plain lies. I actively maintain Squishdot. The svn trunk works fine in Zope 2.9 and should be fine in Zope 2.10. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] using smart folder to pick certain number of news articles to display in the home page
Hello All, I have folders containing the news articles, I have created a smart folder in the root that allows me to display these articles in the homepage of my website. How can I can I set up the smart folder so that just the first two articles that matched my criteria from each folder are display in the home page. Thanks. Kamal___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] using smart folder to pick certain number of news articles to display in the home page
Thanks so much Martjin. I would appreciate it if anybody that has done something similar could share their experience with me. Regards. kamal - Original Message - From: "Martijn Pieters" <[EMAIL PROTECTED]> To: "kamal hamzat" <[EMAIL PROTECTED]> Cc: Sent: Saturday, June 30, 2007 7:50 PM Subject: Re: [Zope] using smart folder to pick certain number of news articles to display in the home page On 6/30/07, kamal hamzat <[EMAIL PROTECTED]> wrote: I have folders containing the news articles, I have created a smart folder in the root that allows me to display these articles in the homepage of my website. How can I can I set up the smart folder so that just the first two articles that matched my criteria from each folder are display in the home page. You can't. Smart Folders cannot handle such a complex scenario. You'll have to create a custom python script and template combination that makes the query, sorts it by path and filters out any results over 2 per folder. This'll require some python coding. -- Martijn Pieters ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] IndexError
Hi, I am having IndexError in some of my folders when i tried to view the content of Zcatalog created in these folders, but to my surprise this is not happening in other folders with similar Zcatalog. I am also not experiencing the same problem with objects of the old Zcatalog that I have catalog before this error. In an attempt to correct this error, i had duplicated the old Zcatalog and renamed it. But once i catalog the objects and try to view it, it will show the IndexError again. Traceback (innermost last): a.. Module ZPublisher.Publish, line 119, in publish b.. Module ZPublisher.mapply, line 88, in mapply c.. Module ZPublisher.Publish, line 42, in call_object d.. Module OFS.DTMLMethod, line 143, in __call__ URL: http://www.news-online.com/politics/test/manage_main Physical Path:/news/politics/test e.. Module DocumentTemplate.DT_String, line 476, in __call__ f.. Module DocumentTemplate.DT_In, line 676, in renderwob g.. Module AccessControl.ImplPython, line 191, in guarded_getitem h.. Module AccessControl.ZopeGuards, line 67, in guarded_getitem i.. Module Products.ZCatalog.Lazy, line 162, in __getitem__ IndexError: 1 Kamal ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] IndexError
When I cleared the catalog and re-catalog with particular id it worked fine but when i created a new object and catalog based on my new object id, the indexError is showing again. Kamal - Original Message - From: "Jonathan" <[EMAIL PROTECTED]> To: "kamal hamzat" <[EMAIL PROTECTED]>; Sent: Tuesday, July 24, 2007 1:07 PM Subject: Re: [Zope] IndexError - Original Message - From: "kamal hamzat" <[EMAIL PROTECTED]> To: Sent: Monday, July 23, 2007 10:54 PM Subject: [Zope] IndexError I am having IndexError in some of my folders when i tried to view the content of Zcatalog created in these folders, but to my surprise this is not happening in other folders with similar Zcatalog. I am also not experiencing the same problem with objects of the old Zcatalog that I have catalog before this error. In an attempt to correct this error, i had duplicated the old Zcatalog and renamed it. But once i catalog the objects and try to view it, it will show the IndexError again. Traceback (innermost last): a.. Module ZPublisher.Publish, line 119, in publish b.. Module ZPublisher.mapply, line 88, in mapply c.. Module ZPublisher.Publish, line 42, in call_object d.. Module OFS.DTMLMethod, line 143, in __call__ URL: http://www.news-online.com/politics/test/manage_main Physical Path:/news/politics/test e.. Module DocumentTemplate.DT_String, line 476, in __call__ f.. Module DocumentTemplate.DT_In, line 676, in renderwob g.. Module AccessControl.ImplPython, line 191, in guarded_getitem h.. Module AccessControl.ZopeGuards, line 67, in guarded_getitem i.. Module Products.ZCatalog.Lazy, line 162, in __getitem__ IndexError: 1 This error occurs when the ZCatalog is trying to build a result set during a catalog search and an item in the catalog index cannot be added to the result set. You may have a 'broken' object which was included in the catalog/index when you built (reindexed) the catalog (which may explain why your working/renamed catalog also failed). Try looking at the objects you are adding to the catalog and see if any of them are invalid. If you have a lot of items in the catalog you may have to write a python script to add the objects to the catalog, one-at-a-time, and test after the catalog after each object has been added in order to determine which object is causing the problem. hth Jonathan ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] How do i test sequence-number
Please what is wrong with this code: This the error i got invalid syntax (, line 1) Thanks Kamal___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] how do I test for the current item in an iteration
Dear All, I have this error after i added the if statement Error Type: TypeError Error Value: mybrains.__cmp__(x,y) requires y to be a 'mybrains', not a 'int' for i in context.zCatNewsCurrent(): if i <= 5: print "%s: %s: %s" % (i.id, i.author, i.summary) return printed Pls help kamal Error Type: TypeError Error Value: mybrains.__cmp__(x,y) requires y to be a 'mybrains', not a 'int' ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] From DTML to ZPT i need help
I have been having issue converting this code in DTML to ZPT. " class="link3"> " class="link5"> details Can somebody help to jump start me by converting this code to ZPT for me? I will be most grateful. Thanks. Kamal___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] value problem in textarea and input
Dear All, I am having problem when using and when i submitted the form and loaded it back the summary shown in the input tag, may be because "value" is part of input attributes. But when I use the textarea tag as above, submitted the form and loaded it back the summary was not showing. Thanks. Kamal ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Epoz Document: Inconsistence behavior
Dear All, I using Epoz Document to store my article contents, and sometimes it will work and at another time it will not work. Although i have added 2 more fields (author and summary) to the manage_editForm, but I do not want to believe that this is what is causing this problem. I was wondering why will it work at a point and fail at another point. Below is the error I was getting when it failed. Site Error An error was encountered while publishing this resource. Invalid request The parameter, title, was omitted from the request. Make sure to specify all required parameters, and try the request again. Traceback (innermost last): a.. Module ZPublisher.Publish, line 119, in publish b.. Module ZPublisher.mapply, line 83, in mapply c.. Module ZPublisher.Publish, line 47, in missing_name d.. Module ZPublisher.HTTPResponse, line 683, in badRequestError Thanks for any help. kamal___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] object Last Modified Date Time
Dear All, I want to store the object Last Modified in ZCatalog so i created a FieldIndex with name bobobase_modified_time. When i checked the Zcatalog the space for bobbase_modified_time is empty. Thx kamal.___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] python function to know the total number of records in a catalog object
Hi, I am getting NameError: global name 'zCatArticlesCurrent' is not defined on this code whereas I have the zCatArticlesCurrent object in the same container with the script. a = len(zCatArticlesCurrent) print a return printed Traceback (innermost last): a.. Module ZPublisher.Publish, line 119, in publish b.. Module ZPublisher.mapply, line 88, in mapply c.. Module ZPublisher.Publish, line 42, in call_object d.. Module Shared.DC.Scripts.Bindings, line 313, in __call__ e.. Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec f.. Module Products.PythonScripts.PythonScript, line 327, in _exec g.. Module None, line 1, in sizeZcat Line 1 NameError: global name 'zCatArticlesCurrent' is not defined - Original Message - From: "Andreas Jung" <[EMAIL PROTECTED]> To: "kamal hamzat" <[EMAIL PROTECTED]>; Sent: Sunday, June 24, 2007 3:21 PM Subject: Re: [Zope] python function to know the total number of records in a catalog object ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] why zope is rendering apostrophe as a small square box
Hi, Please what can I do to stop zope showing apostrophe in my content as a small square box. I am running Zope 2.10.4, python 2.4.4 on a windows server. Thanks. Kamal.___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] error: (10060, 'Operation timed out')
Hi, I am getting this error when using MailHost on my zope set up. I am using Zope 2.10.4-final, python 2.4.4, win32. Thanks for your help. Kamal Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module OFS.DTMLMethod, line 144, in __call__ URL: http://66.232.113.148:8015/nation/index_html/manage_main Physical Path:/nation/index_html Module DocumentTemplate.DT_String, line 476, in __call__ Module OFS.DTMLMethod, line 137, in __call__ URL: http://66.232.113.148:8015/nation/table8/manage_main Physical Path:/nation/table8 Module DocumentTemplate.DT_String, line 476, in __call__ Module OFS.DTMLMethod, line 137, in __call__ URL: http://66.232.113.148:8015/nation/contact/sendPost/content_html/manage_main Physical Path:/nation/contact/sendPost/content_html Module DocumentTemplate.DT_String, line 476, in __call__ Module Products.MailHost.SendMailTag, line 116, in render Module Products.MailHost.MailHost, line 144, in send Module Products.MailHost.MailHost, line 161, in _send Module smtplib, line 244, in __init__ Module smtplib, line 310, in connect error: (10060, 'Operation timed out') ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] AssertionError
Hi, Please i need help on this. Thx Site Error An error was encountered while publishing this resource. thread.error Sorry, a site error occurred. Traceback (innermost last): Module ZPublisher.Publish, line 202, in publish_module_standard Module ZPublisher.Publish, line 161, in publish Module Zope2.App.startup, line 241, in abort Module transaction._manager, line 107, in abort Module transaction._transaction, line 569, in abort Module transaction._transaction, line 642, in abort Module Shared.DC.ZRDB.TM, line 64, in abort Module Products.ZMySQLDA.db, line 389, in _abort error: release unlocked lock Error Type: AssertionError Error Value: newInteraction called while another interaction is active: File "D:\DailyMirror\zope\Zope\lib\python\ZServer\PubCore\ZServerPublisher.py", line 25, in __init__ response=b) File "D:\DailyMirror\zope\Zope\lib\python\ZPublisher\Publish.py", line 401, in publish_module environ, debug, request, response) File "D:\DailyMirror\zope\Zope\lib\python\ZPublisher\Publish.py", line 202, in publish_module_standard response = publish(request, module_name, after_list, debug=debug) File "D:\DailyMirror\zope\Zope\lib\python\ZPublisher\Publish.py", line 79, in publish newInteraction() File "D:\DailyMirror\zope\Zope\lib\python\zope\security\management.py", line 91, in newInteraction interaction._newInteraction_called_from = traceback.extract_stack() ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] AssertionError
Thanks Martijin. Zope 2.10.4-final, python 2.4.4, win32, mysql 5.0, ZMySQLDA 2.0.9 kamal iginal Message - From: Martijn Jacobs To: kamal hamzat Cc: zope@zope.org Sent: Wednesday, November 28, 2007 4:09 PM Subject: Re: [Zope] AssertionError Can you provide some more information? Which version of zope, python, ZMySQLDA and mysql? Hi, Please i need help on this. Thx Site Error An error was encountered while publishing this resource. thread.error Sorry, a site error occurred. Traceback (innermost last): Module ZPublisher.Publish, line 202, in publish_module_standard Module ZPublisher.Publish, line 161, in publish Module Zope2.App.startup, line 241, in abort Module transaction._manager, line 107, in abort Module transaction._transaction, line 569, in abort Module transaction._transaction, line 642, in abort Module Shared.DC.ZRDB.TM, line 64, in abort Module Products.ZMySQLDA.db, line 389, in _abort error: release unlocked lock Error Type: AssertionError Error Value: newInteraction called while another interaction is active: File "D:\DailyMirror\zope\Zope\lib\python\ZServer\PubCore\ZServerPublisher.py", line 25, in __init__ response=b) File "D:\DailyMirror\zope\Zope\lib\python\ZPublisher\Publish.py", line 401, in publish_module environ, debug, request, response) File "D:\DailyMirror\zope\Zope\lib\python\ZPublisher\Publish.py", line 202, in publish_module_standard response = publish(request, module_name, after_list, debug=debug) File "D:\DailyMirror\zope\Zope\lib\python\ZPublisher\Publish.py", line 79, in publish newInteraction() File "D:\DailyMirror\zope\Zope\lib\python\zope\security\management.py", line 91, in newInteraction interaction._newInteraction_called_from = traceback.extract_stack() ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22 06 117 ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Problems creating plone3_buildout on Windows
Hello, These are the messages i got when I issue this statement: paster create -t plone3_buildout optilux8005. Creating template plone3_buildout Creating directory .\optilux8005 Copying README.txt to .\optilux8005\README.txt Copying bootstrap.py to .\optilux8005\bootstrap.py C:\Python24\lib\site-packages\cheetah-2.0.1-py2.4.egg\Cheetah\Compiler.py:1531: UserWarning: You don't have the C version of NameMapper installed! I'm disabling Cheetah's us eStackFrames option as it is painfully slow with the Python version of NameMappe r. You should get a copy of Cheetah with the compiled C version of NameMapper. warnings.warn( Copying buildout.cfg_tmpl to .\optilux8005\buildout.cfg Recursing into products Creating .\optilux8005\products/ Copying README.txt to .\optilux8005\products\README.txt Recursing into src Creating .\optilux8005\src/ Copying README.txt to .\optilux8005\src\README.txt Recursing into var Creating .\optilux8005\var/ Copying README.txt to .\optilux8005\var\README.txt --- Generation finished You probably want to run python bootstrap.py and then edit buildout.cfg before running bin/buildout -v See README.txt for details --- C:\>cd optilux8005 C:\optilux8005>python bootstrap.py Creating directory 'C:\\optilux8005\\bin'. Creating directory 'C:\\optilux8005\\parts'. Creating directory 'C:\\optilux8005\\eggs'. Creating directory 'C:\\optilux8005\\develop-eggs'. Generated script 'C:\\optilux8005\\bin\\buildout'. C:\optilux8005>cd bin C:\optilux8005\bin>buildout While: Initializing. Error: Couldn't open C:\optilux8005\bin\buildout.cfg I am using Zope 2.10.5-final, python 2.4.4, win32. Thanks ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] locked out of zope
Hi, I am unable to log-in into the my zope server. This just happened because I have not changed my log-in info. Afterwards I also tried to create emergency user and still unable to login. I used the plone3_buildout to build the zope and plone. And what I noticed was that i have 2 zpasswd.py files in my installation. one here: C:\optilux\bin\parts\zope2\utilities and another one here : C:\>cd optilux\bin\parts\zope2\lib\python\zope2\startup\misc Any help will be highly appreciated. Thanks. Kamal___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope product to rate an aticles
Hello All, I am looking for zope products to allow visitors to rate news articles after reading them. Thanks in anticipation for your supports. kamal___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope product to rate an aticles
Thanks aj. But I could not find the "content ratings" Could you please send me the URL if you know it. Regards - Original Message - From: "Andreas Jung" <[EMAIL PROTECTED]> To: "Kamal Hamzat" <[EMAIL PROTECTED]>; Sent: Saturday, January 26, 2008 4:41 PM Subject: Re: [Zope] Zope product to rate an aticles ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] getting the keys:values in a propertyItems() object
Hi,I have this lines of dtml methods.Which rendered these Keys:Values below[('title', "The man Wants Refinery For Living"), ('lastEditDate', DateTime('2008/02/11 11:49:26.254 US/Eastern')), ('EpozDocumentTemplate', ''), ('author', 'By Chesal Chesal'), ('summary', "He has directed that further investment in private refineries be targeted at the axis which consumes 15 million litres of fuel per day, more than half the country's total.")] Please, how do I extract each key with its corresponding value. For example title : The man Wants Refinery For Living.Thankskamal___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] EpozDocument with single quote and double quote
Hi, It is nightmare for me pasting a content that i copy from MS Word or Notepad inside the EpozDocument if the content has single quote or double quote. It will display the error below and complain about the title but when i remove the quote or re-type it from the keyboard it will not display the error. Please i want to know if somebody has ecperienced this and it was resolved. Thanks. Kamal Site Error An error was encountered while publishing this resource. Invalid request The parameter, title, was omitted from the request. Make sure to specify all required parameters, and try the request again. ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )