Re: Zope Digest, Vol 47, Issue 11
thank you so much thomas.. that was really very helpful. I'm starting to get the picture. As you have said, i am the data from the database not from the database. But i cannot understand the below Link code.. "<a href="http:/link/to/my/description/template/?my_recnum=<dtml-var drug_name_recnum>"><dtml-var my_drug_name></a>" Can you please elaborate on the code,, Am especially concerned about understanding the below line of code.. "a href="http:/link/to/my/descrip tion/template/?my_recnum=<dtml-var drug_name_recnum>" The example youo showed aptly suits my need. I use CSS and HTML i don't use pagetemplates. If you are willing can you please send me the code of how you are dynamically <a href>'ing the individual subjects. That will be more helpful. Thanks again. ;-) On Fri, Apr 11, 2008 at 9:30 PM, <zope-request@zope.org> wrote:
Send Zope mailing list submissions to zope@zope.org
To subscribe or unsubscribe via the World Wide Web, visit http://mail.zope.org/mailman/listinfo/zope or, via email, send a message with subject or body 'help' to zope-request@zope.org
You can reach the person managing the list at zope-owner@zope.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Zope digest..."
Today's Topics:
1. Re: Conditional dtml-boundary in dtml-sendmail (Josef Meile) 2. Re: i18n/L10n support in zope2 (Maurits van Rees) 3. Re: Problem with zopectl debug (Manuel Vazquez Acosta) 4. Upgrade to 2.7.2 results in all content unavailable (Wes Modes) 5. retrieving a single column from database and giving it as hyper link fetching respective data (member madhangc) 6. Re: Upgrade to 2.7.2 results in all content unavailable (Andreas Jung) 7. Re: retrieving a single column from database and giving it as hyper link fetching respective data (Andreas Jung) 8. Re: Re: i18n/L10n support in zope2 (harshad behere) 9. the grand reunion (Yuri) 10. Re: ExternalMethod - add new parameter (rishi pathak) 11. Re: Conditional dtml-boundary in dtml-sendmail (Chris Withers) 12. Re: ExternalMethod - add new parameter (Chris Withers) 13. Re: Conditional dtml-boundary in dtml-sendmail (Chris Withers) 14. Re: the grand reunion (Raphael Ritz) 15. Re: Upgrade to 2.7.2 results in all content unavailable (Jonathan) 16. Re: Help writing test where bobobase_modification_time changes (Peter Bengtsson) 17. Re: Conditional dtml-boundary in dtml-sendmail (Josef Meile) 18. Re: Upgrade to 2.7.2 results in all content unavailable (Martijn Jacobs) 19. Re: Conditional dtml-boundary in dtml-sendmail (Josef Meile) 20. Re: [Plone-developers] the grand reunion (robert rottermann) 21. Re: retrieving a single column from database and giving it as hyper link fetching respective data (Thomas Bennett)
----------------------------------------------------------------------
Message: 1 Date: Thu, 10 Apr 2008 20:38:38 +0200 From: Josef Meile <jmeile@hotmail.com> Subject: [Zope] Re: Conditional dtml-boundary in dtml-sendmail To: zope@zope.org Message-ID: <47FE5EAE.8000202@hotmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed
The 'email' module is part of the standard Python distribution since generations. Well, I said "allowing or installing". I wasn't sure if it was and with allowing I meant by using allow_module or allow_class. I guess you can't just use this module without removing security assertions. I will try to confirm this.
------------------------------
Message: 2 Date: Thu, 10 Apr 2008 20:07:30 +0000 (UTC) From: Maurits van Rees <m.van.rees@zestsoftware.nl> Subject: [Zope] Re: i18n/L10n support in zope2 To: zope@zope.org Message-ID: <ftls22$6vc$2@ger.gmane.org>
harshad behere, on 2008-04-10:
I also found workaound for MSIE behaviour, include heading call "X-Is-Fallback-For: ?????\n" in your .po file. For e.g - "X-Is-Fallback-For: de-de\n".
Ah yes, that is the correct solution here indeed.
After making change and updating sample page template - (English as primary language for both browsers)
<html> <body> English - <span i18n:domain="English" i18n:translate=""> Reload this catalog </span> <br> German - <span i18n:domain="Germany" i18n:translate=""> Reload this catalog </span> <br> Czech - <span i18n:domain="Czech" i18n:translate=""> Reload this catalog </span> <br> </body> </html>
Huh? You now state languages in the i18n domain. Don't you mean to make this three times the same domain and then perhaps add the i18n:target en/de/cs?
-- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "This is your day, don't let them take it away." [Barlow Girl]
------------------------------
Message: 3 Date: Thu, 10 Apr 2008 23:26:23 -0400 From: Manuel Vazquez Acosta <mva.led@gmail.com> Subject: Re: [Zope] Problem with zopectl debug To: Dieter Maurer <dieter@handshake.de> Cc: Zope user list <zope@zope.org> Message-ID: <47FEDA5F.2010604@gmail.com> Content-Type: text/plain; charset=UTF-8
Dieter Maurer wrote:
Manuel Vazquez Acosta wrote at 2008-4-7 15:21 -0400:
Dieter Maurer wrote:
That is very strange:
"zopectl debug" uses almost exactly the same startup sequence as "zopectl fg" (at least until after the configuration). Thus, if your Zope starts at all, "zopectl debug" should start. ... zopectl fg starts. Would need to see the starting sequence?
Really funny....
Unfortunately, this means that is will be quite difficult to find the cause of your problem.
One approach would be to emulate in a pure Python interpreter what "zopectl debug" would do for us.
You may try:
bin/zopectl shell # will create a new shell process with the correct environment <your_zope_python> from Zope2.Startup.run import configure configure('etc/zope.conf') # this is likely to raise the exception you have earlier reported from pdb import pm pm() # analyse the exception context
I will try that. Any thing happens I report back to the list.
Best regards, Manuel.
------------------------------
Message: 4 Date: Thu, 10 Apr 2008 21:04:40 -0700 From: Wes Modes <wmodes@ucsc.edu> Subject: [Zope] Upgrade to 2.7.2 results in all content unavailable To: zope@zope.org Message-ID: <47FEE358.9040001@ucsc.edu> Content-Type: text/plain; charset="iso-8859-1"
I upgraded to Zope 2.7.2 and all of my content can't be seen by Zope. Honestly I'm not sure what the previous version I was running was (nor am I sure how to find out).
Now, every page results in
Site Error An error was encountered while publishing this resource. Resource not found Sorry, the requested resource does not exist. Check the URL and try again. Resource: Zope GET
There is effectively no more web interface.
I've verified that the database still seems to be there in [instance]/var/Data.fs and hasn't been touched since the update.
I tried going through some of the steps in the Troubleshooting and Debugging page
http://www.zope.org/Documentation/Books/ZDG/current/TestingAndDebugging.stx
I can do a ZPublisher.Zope('/manage') in python and see that it returns a "Resource not found" page.
Interestingly, my log which was being written to /var/log/zope started writing to the default location after the install.
I feel like there isn't enough here to determine whether there is a bug or whether I've mucked something up myself. But perhaps some gentle guidance would help me determine whether there is a bug or just my own ignorance.
Was there a config file that got overwritten in the update? Where would it be?
Perhaps there are some clues in the lines written to the log file upon startup.
Old log file:
2008-04-10T14:43:08 INFO(0) ZServer HTTP server started at Thu Apr 10 14:43:08 2008 Hostname: library.ucsc.edu Port: 8080 ------ 2008-04-10T14:43:08 INFO(0) ZServer FTP server started at Thu Apr 10 14:43:08 2008 Hostname: library.ucsc.edu Port: 8021 ------ 2008-04-10T14:43:08 INFO(0) Zope Set effective user to "zope" ------ 2008-04-10T14:43:12 PROBLEM(100) Init Ambiguous name for method of Products.ZpdfDocument.ZpdfDocument.ZpdfDoc ument: "manage" != "manage_main" ------ 2008-04-10T14:43:12 PROBLEM(100) Init Ambiguous name for method of Products.ZpdfDocument.ZpdfDocument.ZpdfDoc ument: "manage" != "manage_editForm" ------ 2008-04-10T14:43:12 PROBLEM(100) Init Ambiguous name for method of Products.ZpdfDocument.ZpdfDocument.ZpdfDoc ument: "manage" != "manage_editDocument" ------ 2008-04-10T14:43:14 INFO(0) ZODB Opening database for mounting: '146584832_1040950278.401039' ------ 2008-04-10T14:43:14 INFO(0) ZODB Mounted database '146584832_1040950278.401039' at /temp_folder ------ 2008-04-10T14:43:14 INFO(0) Zope Ready to handle requests
New log file:
2008-04-10T16:45:20 INFO ZServer HTTP server started at Thu Apr 10 16:45:20 2008 Hostname: 0.0.0.0 Port: 8080 ------ 2008-04-10T16:45:20 WARNING Init Class Products.HappySession.HappySession.HappySess ion has a security declaration for nonexistent method 'manage_menu' ------ 2008-04-10T16:45:21 WARNING Init Ambiguous name for method of Products.ZpdfDocument .ZpdfDocument.ZpdfDocument: 'manage' != 'manage_main' ------ 2008-04-10T16:45:21 WARNING Init Ambiguous name for method of Products.ZpdfDocument .ZpdfDocument.ZpdfDocument: 'manage' != 'manage_editDocument' ------ 2008-04-10T16:45:21 WARNING Init Ambiguous name for method of Products.ZpdfDocument .ZpdfDocument.ZpdfDocument: 'manage' != 'manage_editForm' ------ 2008-04-10T16:45:22 INFO Zope Ready to handle requests
W.
--- Wes Modes McHenry Library Computing & Network Services Information and Technology Services 459-5208
participants (1)
-
member madhangc