Search the web
Sign In
New User? Sign Up
zms-developers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1 - 31 of 3495   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#31 From: Rainer Wollthan <wollthan@...>
Date: Mon Jan 20, 2003 9:27 am
Subject: Re: htdig-searchengine
rocument
Offline Offline
Send Email Send Email
 
Hello Philip,

we use the HT-Dig Search in some ZMS-Projekts, so i try to explain how
to use ht-dig with ZMS.
First you have to create a Folder(Rubrik) with Document-Type=Resource
then you create in this Folder 3 Dokuments
1. No Match
2. Short List
3. Long List
in this Documents you have to insert the "placeholder" of
HT-Dig-Displays in a normal Textfield, like this:

"Sie haben alle deutschsprachigen Inhalte nach '$&(WORDS)' und
ähnlichen Begriffen durchsucht.
Seite $(FIRSTDISPLAYED)–$(LASTDISPLAYED) von $(MATCHES) gefundenen
Seiten:
$(HTSEARCH_RESULTS)
$(PAGEHEADER) $(PREVPAGE) $(PAGELIST) $(NEXTPAGE)"

After this you have to do 2 more things,
First is building the FHTML-form, note that the action has to point on
the cgi-bin/htdid-thing (or however you called it)
Now you have to edit the htdig.conf  an tell HT-Dig where to find the
Display-Templates (here you should enter the normal URL of the above
created Documents)

hope this will help you,
cheers & take care
rainer


Am Sonntag, 19.01.03, um 16:42 Uhr (Europe/Berlin) schrieb Philipp
Bundschuh ((privat)):

> hi,
>  
> how can I use the htdig-searchengine with zms ? I know, that I can
> define the reault-page in the htdig.conf, but how can I build a search
> / result-page with zms so that the navigation is updated, etc ?
>
> thanks.
>  
> greetings,
>  
> philipp
>
<image.tiff>
>
>
> To unsubscribe from this group, send an email to:
> zms-developers-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

#30 From: "bundschuhp <pb@...>" <pb@...>
Date: Sun Jan 19, 2003 9:05 pm
Subject: theme2 and navMirco
bundschuhp
Offline Offline
Send Email Send Email
 
Hallo,

ich verwende das neueste ZMS-Release und das Theme 2. Bei einigen
Dokumenten erscheint die Navigation (navMicro) nicht linksbündig
neben dem Raster sondern zentriert. Der generierte HTML-Code ist
allerdings identisch.
Wie gesagt: dieses Phänomen erscheint nicht bei allen Seiten bzw.
Dokumenten.

Wo könnte das Problem liegen ?

Gruß,

Philipp Bundschuh

#29 From: "Philipp Bundschuh \(privat\)" <pb@...>
Date: Sun Jan 19, 2003 3:42 pm
Subject: htdig-searchengine
bundschuhp
Offline Offline
Send Email Send Email
 
hi,
 
how can I use the htdig-searchengine with zms ? I know, that I can define the reault-page in the htdig.conf, but how can I build a search / result-page with zms so that the navigation is updated, etc ?

thanks.
 
greetings,
 
philipp

#28 From: "Patrick Ehrlich" <ehrlich@...>
Date: Fri Jan 17, 2003 8:46 am
Subject: infosion-ZMS-Demo
patrickehrlich
Offline Offline
Send Email Send Email
 
Hi zms-developers,

for client presentations we've built a Demo-Template with some special
contents like user-registration, a *very simple shop integration,
dhtml-fade-teaser...

Feel free to download the complete theme and use it for any thing you
want, including the design and graphic elements!

www.infosion.de/ZMS-Demo

www.infosion.de/ZMS-Demo.zip

:)

Patrick

#27 From: "Dr. Frank Hoffmann" <fh@...>
Date: Fri Jan 17, 2003 9:41 am
Subject: WG: teaser Elements in Special Docs
dr_frank_hof...
Offline Offline
Send Email Send Email
 
Hallo,

'special teasers' are not rendered in the Page/float or in the navigation
(in contrast to spec.obj/docs). So You have to write a separate template for
rendering the special teasers.
Teaser elements are only allowed to live in teaser containers. In ZMS up to
#110d it was possible to assign special teaser elements directly to other
special objects. This we changed now in in #110e. This version allows you to
assign "teaser containers" to special objects, so that you can render the
teasers into "special document" pages
(an example is given in the ZMS testspace at
http://62.154.228.36:8080/test/zmspublishing/content/e1458/index_ger.html)

Best Regards
F. Hoffmann, D. Nordmann



-----Ursprüngliche Nachricht-----
Von: Rainer Wollthan [mailto:wollthan@...]
Gesendet: Donnerstag, 16. Januar 2003 17:49
An: Developers ZMS
Betreff: [zms-developers] teaser Elements in Special Docs


Hello again,

ZMS 1.2 build#104

Basic:
I build a TeaserElement as spec.Doc (special_teaser) with this options:
titlealt(string),attr_penetrance('this','sub_nav','sub_all'),attr_img(im
age)

I build a Dokument as Spec.Doc witch incude the (special_teaser)
Element with this options: pTeaser(special_teaser),....

Problem:
the getTeaserElements(REQUEST) Functions seams not to check Spec.Docs
for included TeaserElement, so the Element wasn't displayed in the
Teaser-Area

may i'm wrong with my workflow, do anybody know how i should handle
such thing.


thanx
rainer.wollthan

#26 From: Rainer Wollthan <wollthan@...>
Date: Thu Jan 16, 2003 4:49 pm
Subject: teaser Elements in Special Docs
rocument
Offline Offline
Send Email Send Email
 
Hello again,

ZMS 1.2 build#104

Basic:
I build a TeaserElement as spec.Doc (special_teaser) with this options:
titlealt(string),attr_penetrance('this','sub_nav','sub_all'),attr_img(im
age)

I build a Dokument as Spec.Doc witch incude the (special_teaser)
Element with this options: pTeaser(special_teaser),....

Problem:
the getTeaserElements(REQUEST) Functions seams not to check Spec.Docs
for included TeaserElement, so the Element wasn't displayed in the
Teaser-Area

may i'm wrong with my workflow, do anybody know how i should handle
such thing.


thanx
rainer.wollthan

#25 From: "mgartia <mgartia@...>" <mgartia@...>
Date: Thu Jan 16, 2003 4:34 pm
Subject: zms_build_110c file updating
mgartia
Offline Offline
Send Email Send Email
 
Hi,

  Thanks for suggestion. Found another problem after importing xml zip
file. The File, Image object related files (i.e uploaded) are not
updating, only object has been created without uploaded file. Same
problem for folder's titleimage.

<file><lang id="eng"><data content_type="application/octet-stream"
filename="e4/e367/test.zexp"></data></lang>
<lang id="ger"><data content_type="text/plain"
filename="e4/e367/temp.txt"></data></lang></file>

Regards,
Manoj


--- In zms-developers@yahoogroups.com, "Dirk Nordmann" <dn@h...>
wrote:
> Hi Manoj,
>
> since this is a english windows specific problem you could fix it
yourself
> by installing zope in a different folder (e.g. C:\myzope instead of
> C:\Program Files\myzope).
> In german windows installations your problem does not occur as the
standard
> folder for program files is "C:\Programme".
>
> Regards,
> Dirk NORDMANN
>
>

#24 From: Rainer Wollthan <wollthan@...>
Date: Thu Jan 16, 2003 2:23 pm
Subject: active until
rocument
Offline Offline
Send Email Send Email
 
Hello,

sorry for writhing in german but my english is too bad for this problem.

Ich weiss nicht ob es nur ein Verständnis Problem meinerseits ist,
daher wollte ich einfach mal Nachfragen.

Mir ist aufgefallen das der Tag bis zu dem ZMS-Objecte auf Active
gesetzt sind, an dem selben Tag nicht mehr angezeigt werden.
Sprich die Anzeige des Objects ist exclusive diese Datum's.
Mein Gefühl sagt mir jedoch, wenn ich bis zu einem Datum etwas mache,
das das Datum dann inclusive ist.
(z.B. ich bin bis 15 in Urlaub, schliesst den 15. mit ein)
Daher sollte ich anregen ob man entweder eine Active bis Date/Time
machen könnte bzw. eine Art inclusive/exclusive Schalter in den
Konfigbereich.

viele grüße
rainer.wollthan

#23 From: "Dr. Frank Hoffmann" <fh@...>
Date: Thu Jan 16, 2003 1:06 pm
Subject: Registration of ZMS clients
dr_frank_hof...
Offline Offline
Send Email Send Email
 
Dear Dr Herold,
the folder ids in the "portal section" (config menue) are the container
(zope!) folder ids of the ZMS instance, not the 'e'-object-IDs of ZMS. There
is a screen shot appending: a master ZMS (instance) refers to 2 clients
instances (which are 'support' and 'forum'). These two ZMS's are children of
the master folder each containing thier own ZMS instance.
In this structure the templates of the master are aquired from the clients,
if they do not exist in the client's folder.
If a master/clients are registered, the navigation hierarchy (ie. link
selection, micronav etc.) of each ZMS-instance now reflects the new
'complete' hierarchy.

Best Regards
Frank Hoffmann




> -----Ursprüngliche Nachricht-----
> Von: R. Herold [mailto:ralf.herold@...]
> Gesendet: Donnerstag, 16. Januar 2003 12:37
> An: fh@...
> Betreff: zms_build_110d.zip
>
>
> Sehr geehrter Herr Hoffmann,
>
> habe zu Testzwecken Ihre neueste ZMVS-Fassung zms_build_110d.zip
> installiert. In neu angelegten Portalen treten z.B. nach Hinzufügen
> eines Teasers auf die oberste Ebene, aber auch bei anderen neu
> angelegten Elementen ein Fehler auf, s.u - können Sie damit etwas
> anfangen? Die neu angelegten Portale habe ich um die Spracheinstellung
> zu Englisch ergänzt und Workflow, History und Static Cache aktiviert;
> die Fehlermeldung trat unter Windows und Linux auf, wobei wir dort
> jeweils Zope 2.6.1b1 benutzen. Könnten Sie mir vielleicht
> noch andeuten,
> welche folder ids in der Konfiguration der Master und Clients sites
> einzutragen sind? - Sie hatten diesbezüglich anfänglich einen Hinweis
> gegeben.
>
> Mit Dank und freundlichen Grüßen
> Ihr R. Herold
>
> --------------
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 98, in publish
>   Module ZPublisher.mapply, line 88, in mapply
>   Module ZPublisher.Publish, line 39, in call_object
>   Module App.special_dtml, line 61, in __call__
>   Module DocumentTemplate.DT_String, line 474, in __call__
>   Module DocumentTemplate.DT_Let, line 76, in render
>   Module DocumentTemplate.DT_Let, line 76, in render
>   Module DocumentTemplate.DT_In, line 705, in renderwob
>   Module DocumentTemplate.DT_Let, line 76, in render
>   Module DocumentTemplate.DT_Util, line 201, in eval
>    - __traceback_info__: REQUEST
>   Module <string>, line 0, in ?
>   Module Products.zms.zmsobject, line 892, in getSortId
>   Module string, line 214, in atoi
> ValueError: invalid literal for int():
> --------------
>
> -- Dr. med. Ralf Herold
> | Koordinationszentrale Kompetenznetz
> | Pädiatrische Onkologie und Hämatologie
> | http://www.kinderkrebsinfo.de/

#22 From: "Dr. Frank Hoffmann" <fh@...>
Date: Thu Jan 16, 2003 10:54 am
Subject: scripts / ftp / zip
dr_frank_hof...
Offline Offline
Send Email Send Email
 
Hallo Mr Bundschuh,
many thanks for Your feedback. Here some links about the integration of
scripting languages into Zope/ZMS; there are different ways to use
zope-external or -internal scripting, maybe this will help You starting with
the topic:

Serve PHP/Perl within Zope
http://www.zope.org/Members/Mamey/PHP
PHParser - A Gateway to PHP
http://www.zope.org/Members/hewei/PHParser
What Is Perl For Zope?
http://www.zope.org/Wikis/zope-perl/FAQ

The ftp-export is managed by the python ftplib; maybe there is a problem
with the rights on the target server. To zip files under linux you have to
install the zip-application.
I hope these hints will help You.

Best Regards
Frank Hoffmann

PS:
these questions concern Zope more than the ZMS-Framework; the website
http://www.zope.org/Documentation is a very good reference. The ZMS-Lehrbuch
is focused on the publishing model and content production.


-----Ursprüngliche Nachricht-----
Von: pbundschuh@... [mailto:pbundschuh@...]
Gesendet: Mittwoch, 15. Januar 2003 21:37
An: fh@...
Betreff: Antwort: AW: ZMS-Buchbestellung (NEUESTE VERSION !!!)

Hallo Herr Dr. Hoffmann,
diese Frage steht wahrscheinlich im Handbuch, dennoch möchte ich sie jetzt
trotzdem stellen:
Welche Möglichkeiten bestehen, externe Scripte (z.B. cgi, php, etc.) in
bestehende ZMS-Seiten einzubinden ?

Gibt es bekannte Bugs bezüglich FTP-Export mit SuSE 8.1 und vsftp? Im
Error-log bekomme ich immer die Meldung, dass er ein Verzeichnis erstellen
kann (wird laut log mit dem MKD-Befehl erstellt, den es so unter SuSE nicht
gibt. Der Export via HTML geht auch nicht. ZMS erstellt mir zwar die
Dateien in /var/tmp, packt diese aber nicht zu einer zip und kann diese
folglich nicht an den Browser senden.

Über etwas "Einstiegshilfe" wäre ich dankbar.


Mit freundlichen Grüßen,
Philipp Bundschuh

#21 From: Rainer Wollthan <wollthan@...>
Date: Wed Jan 15, 2003 5:57 pm
Subject: Re: AW: update problem
rocument
Offline Offline
Send Email Send Email
 
Dear Frank Hoffmann,

thanks a lot the stepwise update solved my Problem

cheers
rainer.wollthan

Am Mittwoch, 15.01.03, um 13:03 Uhr (Europe/Berlin) schrieb Dr. Frank
Hoffmann:

> Dear Rainer,
> Your suggestion is right. The version/patch is "zms_build_110d.zip".
> If the update problem still remains, please try to update stepwise.
> http://bscw.hoffmannliebenberg.de/pub/bscw.cgi/d207709/
> zms_build_102.057.zip
> http://bscw.hoffmannliebenberg.de/pub/bscw.cgi/d207692/
> zms_build_104f.zip
> http://bscw.hoffmannliebenberg.de/pub/bscw.cgi/d208355/
> zms_build_110d.zip
>
> Regards
> Frank Hoffmann
>
> PS: Do not forget to backup Your contents before updating.
>
>
> -----Ursprüngliche Nachricht-----
> Von: Rainer Wollthan [mailto:wollthan@...]
> Gesendet: Mittwoch, 15. Januar 2003 11:12
> An: Developers ZMS
> Betreff: [zms-developers] update problem
>
>
> Hello,
>
> i try to update my old ZMS (1.0 build#100d) to ZMS Version 1.2 (Build
> #110 Patch C, 857 KB)
> but after i installed the update i get following error after clicking
> on "Content" Folder
>
>> NameError: name 'string_maxlen' is not defined
> by displaying the normal website i get this error
>> NameError: global name 'getHome' is not defined
> do i have to first update to a lower version ?
>
>
> thanks a lot
> +rainer
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Flexible Keyboard is the ideal accessory for PDA users that are on the
> move.
> http://us.click.yahoo.com/dCBVZC/WnCFAA/sXBHAA/W4wwlB/TM
> ---------------------------------------------------------------------
> ~->
>
> To unsubscribe from this group, send an email to:
> zms-developers-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>

#20 From: "Dr. Frank Hoffmann" <fh@...>
Date: Wed Jan 15, 2003 12:03 pm
Subject: AW: update problem
dr_frank_hof...
Offline Offline
Send Email Send Email
 
Dear Rainer,
Your suggestion is right. The version/patch is "zms_build_110d.zip".
If the update problem still remains, please try to update stepwise.
http://bscw.hoffmannliebenberg.de/pub/bscw.cgi/d207709/zms_build_102.057.zip
http://bscw.hoffmannliebenberg.de/pub/bscw.cgi/d207692/zms_build_104f.zip
http://bscw.hoffmannliebenberg.de/pub/bscw.cgi/d208355/zms_build_110d.zip

Regards
Frank Hoffmann

PS: Do not forget to backup Your contents before updating.


-----Ursprüngliche Nachricht-----
Von: Rainer Wollthan [mailto:wollthan@...]
Gesendet: Mittwoch, 15. Januar 2003 11:12
An: Developers ZMS
Betreff: [zms-developers] update problem


Hello,

i try to update my old ZMS (1.0 build#100d) to ZMS Version 1.2 (Build
#110 Patch C, 857 KB)
but after i installed the update i get following error after clicking
on "Content" Folder

> NameError: name 'string_maxlen' is not defined
by displaying the normal website i get this error
> NameError: global name 'getHome' is not defined
do i have to first update to a lower version ?


thanks a lot
+rainer

#19 From: Rainer Wollthan <wollthan@...>
Date: Wed Jan 15, 2003 10:11 am
Subject: update problem
rocument
Offline Offline
Send Email Send Email
 
Hello,

i try to update my old ZMS (1.0 build#100d) to ZMS Version 1.2 (Build
#110 Patch C, 857 KB)
but after i installed the update i get following error after clicking
on "Content" Folder

  > NameError: name 'string_maxlen' is not defined

by displaying the normal website i get this error

  > NameError: global name 'getHome' is not defined

do i have to first update to a lower version ?


thanks a lot
+rainer

#18 From: "Dirk Nordmann" <dn@...>
Date: Wed Jan 15, 2003 8:55 am
Subject: Re: Zip bug in zms_build_110c
dn@...
Send Email Send Email
 
Hi Manoj,

since this is a english windows specific problem you could fix it yourself
by installing zope in a different folder (e.g. C:\myzope instead of
C:\Program Files\myzope).
In german windows installations your problem does not occur as the standard
folder for program files is "C:\Programme".

Regards,
Dirk NORDMANN


-----Ursprungliche Nachricht-----
Von: mgartia <mgartia@...> [mailto:mgartia@...]
Gesendet: Dienstag, 14. Januar 2003 18:12
An: zms-developers@yahoogroups.com
Betreff: [zms-developers] Zip bug in zms_build_110c



Hi Frank Hoffmann,

      Still shows error during import/export zip file. Because of the
pkzip25.exe file path contains spaces. In my case, C:\Program
Files\myzope\lib\python\Products\zms\bin\pkzip\pkzip25.exe.

  Need modification in _fileutil.py or others file. i.e package_home
(globals()). Works fine if package_home(globals()) replace with
C:/pkzip/pkzip25.exe in _fileutil.py.

Thanks,
Manoj

Dos command prompt error
--------------------
C:\Program' is not recognized as an internal or external command,
operable program or batch file.


Browser error
--------------
Zope Error
   Zope has encountered an error while publishing this resource.
   Error Type: IOError
   Error Value: [Errno 2] No such file or directory: 'C:\\TEMP\\~1636-
4.zip'

Traceback (innermost last):
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
150, in publish_module
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
114, in publish
   File C:\Program Files\myzope\lib\python\Zope\__init__.py, line 158,
in zpublisher_exception_hook
     (Object: e1)
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
98, in publish
   File C:\Program Files\myzope\lib\python\ZPublisher\mapply.py, line
88, in mapply
     (Object: manage_export)
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
39, in call_object
     (Object: manage_export)
   File C:\Program
Files\myzope\lib\python\Products\zms\_exportable.py, line 316, in
manage_export
     (Object: e1)
   File C:\Program
Files\myzope\lib\python\Products\zms\_exportable.py, line 481, in
toZippedXml
     (Object: e1)
   File C:\Program Files\myzope\lib\python\Products\zms\_fileutil.py,
line 408, in buildZipArchive
IOError: (see above)





To unsubscribe from this group, send an email to:
zms-developers-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

#17 From: "Dr. Frank Hoffmann" <fh@...>
Date: Tue Jan 14, 2003 8:46 pm
Subject: AW: Startpunkt festlegen
dr_frank_hof...
Offline Offline
Send Email Send Email
 
Hallo Philipp,
I do not know wether I understand Your question:
the startpage of the ZMS instance is the "content"-Object placed in the
initial ZMS folder. The "content"-Object is the root of the content tree and
usually the starting page.

1.
If You want to redirect an URL to a certain ZMS object use the following
code:
<!-- BO zms-lehrbuch -->
   <dtml-call
"RESPONSE.redirect(content.e53.e365.e366.getHref2IndexHtml(REQUEST))">
<!-- EO zms-lehrbuch -->
Example:
http://www.hoffmannliebenberg.de/zmsbuch

2.
If You use Apache You can configure a VirtualHost which redirects to a ZMS
object
Example:
http://62.154.228.36:8080/live/medvalue/content ->
http://medvalue.net

Regards
Frank Hoffmann




-----Ursprüngliche Nachricht-----
Von: Philipp Bundschuh (privat) [mailto:pb@...]
Gesendet: Dienstag, 14. Januar 2003 21:24
An: zms-developers@yahoogroups.com
Betreff: [zms-developers] Startpunkt festlegen


Hallo,

ich bin Newbee und bitte deshalb um Hilfe:
Wo kann in den Start- bzw. Einstiegspunkt einer Rubrik bzw. dessen Dokument
festlegen ?
Und wie kann ich festlegen, welche Seite als Haupt- und Startseite bei
Eingabe von z.B. http://localhost:8080/mydomain dargestellt wird ?

Grüße,

Philipp

To unsubscribe from this group, send an email to:
zms-developers-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

#16 From: "Philipp Bundschuh \(privat\)" <pb@...>
Date: Tue Jan 14, 2003 8:23 pm
Subject: Startpunkt festlegen
bundschuhp
Offline Offline
Send Email Send Email
 
Hallo,
 
ich bin Newbee und bitte deshalb um Hilfe:
Wo kann in den Start- bzw. Einstiegspunkt einer Rubrik bzw. dessen Dokument festlegen ?
Und wie kann ich festlegen, welche Seite als Haupt- und Startseite bei Eingabe von z.B. http://localhost:8080/mydomain dargestellt wird ?

Grüße,

Philipp

#15 From: "mgartia <mgartia@...>" <mgartia@...>
Date: Tue Jan 14, 2003 5:11 pm
Subject: Zip bug in zms_build_110c
mgartia
Offline Offline
Send Email Send Email
 
Hi Frank Hoffmann,

      Still shows error during import/export zip file. Because of the
pkzip25.exe file path contains spaces. In my case, C:\Program
Files\myzope\lib\python\Products\zms\bin\pkzip\pkzip25.exe.

  Need modification in _fileutil.py or others file. i.e package_home
(globals()). Works fine if package_home(globals()) replace with
C:/pkzip/pkzip25.exe in _fileutil.py.

Thanks,
Manoj

Dos command prompt error
--------------------
C:\Program' is not recognized as an internal or external command,
operable program or batch file.


Browser error
--------------
Zope Error
   Zope has encountered an error while publishing this resource.
   Error Type: IOError
   Error Value: [Errno 2] No such file or directory: 'C:\\TEMP\\~1636-
4.zip'

Traceback (innermost last):
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
150, in publish_module
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
114, in publish
   File C:\Program Files\myzope\lib\python\Zope\__init__.py, line 158,
in zpublisher_exception_hook
     (Object: e1)
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
98, in publish
   File C:\Program Files\myzope\lib\python\ZPublisher\mapply.py, line
88, in mapply
     (Object: manage_export)
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
39, in call_object
     (Object: manage_export)
   File C:\Program
Files\myzope\lib\python\Products\zms\_exportable.py, line 316, in
manage_export
     (Object: e1)
   File C:\Program
Files\myzope\lib\python\Products\zms\_exportable.py, line 481, in
toZippedXml
     (Object: e1)
   File C:\Program Files\myzope\lib\python\Products\zms\_fileutil.py,
line 408, in buildZipArchive
IOError: (see above)

#14 From: "Dr. Frank Hoffmann" <fh@...>
Date: Mon Jan 13, 2003 3:44 pm
Subject: AW: Performance :-((
dr_frank_hof...
Offline Offline
Send Email Send Email
 
Hallo Herr Hiegl,
following approaches to optimize the performance:
1. activate the ZMS-Cache
2. optimize the html/dtml-code, reduce complexity
3. analyse the server and hardware configuration

Regards
Frank Hoffmann

PS: the performance of
http://zope.verwaltung.uni-mainz.de/Entwicklung/cms/hiegl/content/
http://zope.verwaltung.uni-mainz.de/Entwicklung/cms/japanstudien/content
seems to me quite acceptable!? The response in my browser are much shorter
than 1sec.


-----Ursprüngliche Nachricht-----
Von: Bernhard Hiegl [mailto:hiegl@...]
Gesendet: Montag, 13. Januar 2003 14:14
An: zms-developers@yahoogroups.com
Betreff: [zms-developers] Performance :-((


Eine Frage an alle ZMS-User: Wer hat auch die Erfahrung gemacht, dass
ZMS sehr(!) langsam reagiert, was den Seitenaufbau betrifft. Wir haben
hier Fälle, wobei man auf jede Seite mehr als 6 Sekunden warten muss.
Das hat auch nichts mit dem Browser-Cache zu tun, denn obwohl man per
back-Button flott rückwärts huscht, ist das Problem beim erneuten
vorwärts-klicken wieder da. Das ist Browser-übergreifend. Andere
Zope-Seiten ohne ZMS haben dieses Problem nicht!

Erklärungen? Ebenfalls solche Erfahrungen?

Bernhard Hiegl
--

Bernhard Hiegl
E-Mail: hiegl@...
http://www.uni-mainz.de/~hiegl

Johannes Gutenberg-Universitaet Mainz
-------------------
Institut fuer Allg.u.Vergl.Sprachwiss.
FB 1420
D-55099 Mainz
Tel.: +49(0)6131/39-23980
Fax: +49(0)6131/39-23836
-------------------
Sonderforschungsbereich 295
Dietrich-Gresemund-Weg 4
D-55099 Mainz
Tel.: +49(0)6131/39-24032
Fax: +49(0)6131/39-24020



To unsubscribe from this group, send an email to:
zms-developers-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

#13 From: "Dirk Nordmann" <dn@...>
Date: Mon Jan 13, 2003 3:39 pm
Subject: Re: ZMS 1.2 build#110
dn@...
Send Email Send Email
 
Hello Mr. Meier,

(1) fixed in build#110b
(2) yes
(3) yes
(4) refer to mail by Dr. F. Hoffmann
(5) this should be done by the ZMS update procedure automatically!?

With best regards,
Dirk NORDMANN

-----Ursprungliche Nachricht-----
Von: Christian Meier | Knuepfer Verlag [mailto:cm@...]
Gesendet: Montag, 13. Januar 2003 15:18
An: zms-developers@yahoogroups.com
Betreff: [zms-developers] ZMS 1.2 build#110


hi zms-developers,

i've installed the new build#110 and the following problems occurred:

(1) the history-mechanism doesn't work on ZMSRubrik (see traceback for
AttributeError)
(2) is it right, that usage of trashcan is just for users with role
ZMSAdmin?
(3) history-usage too...
(4) i miss the former 'alias'-feature for redirects resp. the new
ID-mechanism for 'speaking' URLs (see ZMS-Newsletter I-2003: ZMS 1.2 [5.])
(5) the templates of special objects have to be copied/renamed into the
zms-content-container

regards,

Christian Meier <mailto:cm@...>

-------------------------------------------------------
Site Error
An error was encountered while publishing this resource.

AttributeError

Sorry, a site error occurred.

Traceback (innermost last):
   File /zope/lib/python/ZPublisher/Publish.py, line 150, in publish_module
   File /zope/lib/python/ZPublisher/Publish.py, line 114, in publish
   File /zope/lib/python/Zope/__init__.py, line 159, in
zpublisher_exception_hook
     (Object: e4)
   File /zope/lib/python/ZPublisher/Publish.py, line 98, in publish
   File /zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
     (Object: manage_undoversionform)
   File /zope/lib/python/ZPublisher/Publish.py, line 39, in call_object
     (Object: manage_undoversionform)
   File /zope/lib/python/App/special_dtml.py, line 61, in __call__
     (Object: manage_undoversionform)
   File /zope/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__
     (Object: manage_undoversionform)
   File /zope/lib/python/DocumentTemplate/DT_Let.py, line 76, in render
     (Object: res="getObjVersions(REQUEST)" qsize="5")
   File /zope/lib/python/DocumentTemplate/DT_In.py, line 596, in renderwb
     (Object: res)
   File /zope/lib/python/DocumentTemplate/DT_With.py, line 76, in render
     (Object: sequence-item)
   File /zope/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval
     (Object: renderShort(REQUEST))
     (Info: REQUEST)
   File <string>, line 0, in ?
   File /zope/lib/python/Products/zms/zmscontainerobject.py, line 788, in
renderShort
     (Object: e4)
   File /zope/lib/python/Products/zms/zmscontainerobject.py, line 388, in
getTitlealt
     (Object: e4)
   File /zope/lib/python/Products/zms/zmscontainerobject.py, line 373, in
getLevelnfc
     (Object: e4)
   File /zope/lib/python/Products/zms/_objattrs.py, line 490, in
getObjProperty
     (Object: content)
   File /zope/lib/python/Products/zms/_objattrs.py, line 461, in
getObjAttrValue
     (Object: content)
   File /zope/lib/python/Products/zms/_objattrs.py, line 392, in
_getObjAttrValue
     (Object: content)
   File /zope/lib/python/Products/zms/_versionmanager.py, line 211, in
getObjVersion
     (Object: content)
AttributeError: 1042464670.47




To unsubscribe from this group, send an email to:
zms-developers-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

#12 From: "Dr. Frank Hoffmann" <fh@...>
Date: Mon Jan 13, 2003 3:33 pm
Subject: AW: ZMS 1.2 build#110
dr_frank_hof...
Offline Offline
Send Email Send Email
 
Hallo Herr Meier,
I send the description of the "DOI" mechanism (doi.dtml) for "speaking"
URLs; I am sorry that the text now exists only in german language:

DESCRIPTION DOI:
-----------------------------------------------------------
Um URL-Pfade ohne ZMS-IDs zu generieren, existiert zentral eine DTML-Methode
doi.dtml, die sich an dem Konzept der Digital Object Identifier (DOI,
www.doi.org) orientiert. Diese Methode übergibt einen URL-Parameter einem
Interationsprozess, der den Attributwert des Attributes DC.Identifier.DOI
identifiziert und auf das entsprechende Zielobjekt redirected. Man legt dazu
also das Meta-Element DC.Identifier.DOI an und kann über die dort
objekt-spezifisch abgelegten Werte alternative URLs erzeugen, z.B. in der
Art www.zms-publishing.com/doi?handbuch.
Falls der String "doi" als unpassend empfunden wird, so lässt sich die
Methode bei Bedarf aus dem Filesystem
/zope/lib/python/Products/zms/dtml/object/ kopieren und im ZMS-spezifischen
Objektknoten im Contentbaum unter einem anderen, passenden Namen ablegen.

<!-- BO doi -->
<dtml-var f_standard_html_request>
<dtml-var f_standard_html_header>
<dtml-call "REQUEST.set('values',[])">
<dtml-call "values.append('getDoiPath')">
<dtml-call "values.append(QUERY_STRING)">
<dtml-call
"REQUEST.set('nodes',findFilteredTreeNodes(REQUEST,PAGES,values))">
<dtml-if "_.len(nodes)>0">
  <dtml-call "RESPONSE.redirect(nodes[0].getHref2IndexHtml(REQUEST,deep=0))">
<dtml-else>
  <p class="standard"><dtml-var "getLangStr('MSG_INACTIVE',lang)"></p>
</dtml-if>
<dtml-var f_standard_html_footer>
<!-- BO doi -->

Alternativ kann man für diejenige Objekte, die für die Aussenkommunikation
relevant sind, korrespondierende DTML-Methoden anlegen, die ein Redirecting
auf das Zielobject auslösen; diese individuelle Alias-Methode (DTML) legt
man auf die Template-Ebene parallel zum initialen Ordner. Es empfiehlt sich
eine Benamung gemäß dem Kurztitel zu wählen. Der DTML-Code für eine
automatisch generierte Alias-Methode handbuch.dtml wendet die Methode
redirect folgendermaßen an:

<!-- BO alias handbuch -->
<dtml-call "RESPONSE.redirect(content.e52.e237.absolute_url())">
<!-- EO alias handbuch -->

-----------------------------------------------------------

Mit freundlichen Gruessen
F. Hoffmann


-----Ursprüngliche Nachricht-----
Von: Christian Meier | Knuepfer Verlag [mailto:cm@...]
Gesendet: Montag, 13. Januar 2003 15:18
An: zms-developers@yahoogroups.com
Betreff: [zms-developers] ZMS 1.2 build#110


hi zms-developers,

i've installed the new build#110 and the following problems occurred:

(1) the history-mechanism doesn't work on ZMSRubrik (see traceback for
AttributeError)
(2) is it right, that usage of trashcan is just for users with role
ZMSAdmin?
(3) history-usage too...
(4) i miss the former 'alias'-feature for redirects resp. the new
ID-mechanism for 'speaking' URLs (see ZMS-Newsletter I-2003: ZMS 1.2 [5.])
(5) the templates of special objects have to be copied/renamed into the
zms-content-container

regards,

Christian Meier <mailto:cm@...>

-------------------------------------------------------
Site Error
An error was encountered while publishing this resource.

AttributeError

Sorry, a site error occurred.

Traceback (innermost last):
   File /zope/lib/python/ZPublisher/Publish.py, line 150, in publish_module
   File /zope/lib/python/ZPublisher/Publish.py, line 114, in publish
   File /zope/lib/python/Zope/__init__.py, line 159, in
zpublisher_exception_hook
     (Object: e4)
   File /zope/lib/python/ZPublisher/Publish.py, line 98, in publish
   File /zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
     (Object: manage_undoversionform)
   File /zope/lib/python/ZPublisher/Publish.py, line 39, in call_object
     (Object: manage_undoversionform)
   File /zope/lib/python/App/special_dtml.py, line 61, in __call__
     (Object: manage_undoversionform)
   File /zope/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__
     (Object: manage_undoversionform)
   File /zope/lib/python/DocumentTemplate/DT_Let.py, line 76, in render
     (Object: res="getObjVersions(REQUEST)" qsize="5")
   File /zope/lib/python/DocumentTemplate/DT_In.py, line 596, in renderwb
     (Object: res)
   File /zope/lib/python/DocumentTemplate/DT_With.py, line 76, in render
     (Object: sequence-item)
   File /zope/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval
     (Object: renderShort(REQUEST))
     (Info: REQUEST)
   File <string>, line 0, in ?
   File /zope/lib/python/Products/zms/zmscontainerobject.py, line 788, in
renderShort
     (Object: e4)
   File /zope/lib/python/Products/zms/zmscontainerobject.py, line 388, in
getTitlealt
     (Object: e4)
   File /zope/lib/python/Products/zms/zmscontainerobject.py, line 373, in
getLevelnfc
     (Object: e4)
   File /zope/lib/python/Products/zms/_objattrs.py, line 490, in
getObjProperty
     (Object: content)
   File /zope/lib/python/Products/zms/_objattrs.py, line 461, in
getObjAttrValue
     (Object: content)
   File /zope/lib/python/Products/zms/_objattrs.py, line 392, in
_getObjAttrValue
     (Object: content)
   File /zope/lib/python/Products/zms/_versionmanager.py, line 211, in
getObjVersion
     (Object: content)
AttributeError: 1042464670.47



To unsubscribe from this group, send an email to:
zms-developers-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

#11 From: Bernhard Hiegl <hiegl@...>
Date: Mon Jan 13, 2003 1:13 pm
Subject: Performance :-((
hiegl@...
Send Email Send Email
 
Eine Frage an alle ZMS-User: Wer hat auch die Erfahrung gemacht, dass
ZMS sehr(!) langsam reagiert, was den Seitenaufbau betrifft. Wir haben
hier Fälle, wobei man auf jede Seite mehr als 6 Sekunden warten muss.
Das hat auch nichts mit dem Browser-Cache zu tun, denn obwohl man per
back-Button flott rückwärts huscht, ist das Problem beim erneuten
vorwärts-klicken wieder da. Das ist Browser-übergreifend. Andere
Zope-Seiten ohne ZMS haben dieses Problem nicht!

Erklärungen? Ebenfalls solche Erfahrungen?

Bernhard Hiegl
--

Bernhard Hiegl
E-Mail: hiegl@...
http://www.uni-mainz.de/~hiegl

Johannes Gutenberg-Universitaet Mainz
-------------------
Institut fuer Allg.u.Vergl.Sprachwiss.
FB 1420
D-55099 Mainz
Tel.: +49(0)6131/39-23980
Fax: +49(0)6131/39-23836
-------------------
Sonderforschungsbereich 295
Dietrich-Gresemund-Weg 4
D-55099 Mainz
Tel.: +49(0)6131/39-24032
Fax: +49(0)6131/39-24020

#10 From: "Dr. Frank Hoffmann" <fh@...>
Date: Mon Jan 13, 2003 1:15 pm
Subject: AW: Re: ZMS-publishing import error
dr_frank_hof...
Offline Offline
Send Email Send Email
 
Hi Manoj,
The attributes (title, shorttitle, body) are aquired from the primary
language until the object is edited once.
To get a heterolingual object (in a secondary language) active/visible You
have to edit/"change" it at least once (this sets the object status from
isNotTranslated to is Translated).

Regards
Frank Hoffmann

PS:
The import error ist corrected in build#110.


-----Ursprüngliche Nachricht-----
Von: mgartia <mgartia@...> [mailto:mgartia@...]
Gesendet: Montag, 13. Januar 2003 13:18
An: zms-developers@yahoogroups.com
Betreff: [zms-developers] Re: ZMS-publishing import error


Hi,

   I have same following error still. It works after changing to <lang
id="eng">. There are some other problems, (1) only one language is
active i.e english (active), german(not active) (2) Only german text
is available for both language i.e Shorttitle,Title etc. The actual
language text is not updating for text element too.

What's wrong ?

<?xml version="1.0" encoding="ISO-8859-1"?>
<ZMSRubrik
id="e211">
<active>
<lang id="ger"><![CDATA[1]]></lang>
<lang id="eng"><![CDATA[1]]></lang></active>
<attr_cacheable><![CDATA[1]]></attr_cacheable>
<attr_dc_coverage><![CDATA[proposal]]></attr_dc_coverage>
<titleshort>
<lang id="ger"><![CDATA[kosmatik]]></lang>
<lang id="eng"><![CDATA[cosmatic]]></lang></titleshort>
<title>
<lang id="ger"><![CDATA[kosmatik german]]></lang>
<lang id="eng"><![CDATA[cosmatic english]]></lang></title>
<attr_active_start>
<lang id="ger"><![CDATA[13.01.2003]]></lang>
<lang id="eng"><![CDATA[13.01.2003]]
></lang></attr_active_start></ZMSRubrik>


Thanks,
Manoj





--- In zms-developers@yahoogroups.com, "Dirk Nordmann" <dn@h...>
wrote:
> Hi,
>
> if multiple lanuguages are used, there was a missing blank in the
xml-export
> of the language-tag <langid="eng">. This led to xml which was not
> well-formed. The correct language-tag is actually <lang id="eng">.
> This bug is fixed in ZMS 1.2 Build 104 Patch F.
>
> With best regards.
> Dirk NORDMANN



To unsubscribe from this group, send an email to:
zms-developers-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

#9 From: "Christian Meier | Knuepfer Verlag" <cm@...>
Date: Mon Jan 13, 2003 2:17 pm
Subject: ZMS 1.2 build#110
cm@...
Send Email Send Email
 
hi zms-developers,

i've installed the new build#110 and the following problems occurred:

(1) the history-mechanism doesn't work on ZMSRubrik (see traceback for
AttributeError)
(2) is it right, that usage of trashcan is just for users with role
ZMSAdmin?
(3) history-usage too...
(4) i miss the former 'alias'-feature for redirects resp. the new
ID-mechanism for 'speaking' URLs (see ZMS-Newsletter I-2003: ZMS 1.2 [5.])
(5) the templates of special objects have to be copied/renamed into the
zms-content-container

regards,

Christian Meier <mailto:cm@...>

-------------------------------------------------------
Site Error
An error was encountered while publishing this resource.

AttributeError

Sorry, a site error occurred.

Traceback (innermost last):
   File /zope/lib/python/ZPublisher/Publish.py, line 150, in publish_module
   File /zope/lib/python/ZPublisher/Publish.py, line 114, in publish
   File /zope/lib/python/Zope/__init__.py, line 159, in
zpublisher_exception_hook
     (Object: e4)
   File /zope/lib/python/ZPublisher/Publish.py, line 98, in publish
   File /zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
     (Object: manage_undoversionform)
   File /zope/lib/python/ZPublisher/Publish.py, line 39, in call_object
     (Object: manage_undoversionform)
   File /zope/lib/python/App/special_dtml.py, line 61, in __call__
     (Object: manage_undoversionform)
   File /zope/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__
     (Object: manage_undoversionform)
   File /zope/lib/python/DocumentTemplate/DT_Let.py, line 76, in render
     (Object: res="getObjVersions(REQUEST)" qsize="5")
   File /zope/lib/python/DocumentTemplate/DT_In.py, line 596, in renderwb
     (Object: res)
   File /zope/lib/python/DocumentTemplate/DT_With.py, line 76, in render
     (Object: sequence-item)
   File /zope/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval
     (Object: renderShort(REQUEST))
     (Info: REQUEST)
   File <string>, line 0, in ?
   File /zope/lib/python/Products/zms/zmscontainerobject.py, line 788, in
renderShort
     (Object: e4)
   File /zope/lib/python/Products/zms/zmscontainerobject.py, line 388, in
getTitlealt
     (Object: e4)
   File /zope/lib/python/Products/zms/zmscontainerobject.py, line 373, in
getLevelnfc
     (Object: e4)
   File /zope/lib/python/Products/zms/_objattrs.py, line 490, in
getObjProperty
     (Object: content)
   File /zope/lib/python/Products/zms/_objattrs.py, line 461, in
getObjAttrValue
     (Object: content)
   File /zope/lib/python/Products/zms/_objattrs.py, line 392, in
_getObjAttrValue
     (Object: content)
   File /zope/lib/python/Products/zms/_versionmanager.py, line 211, in
getObjVersion
     (Object: content)
AttributeError: 1042464670.47

#8 From: "Dirk Nordmann" <dn@...>
Date: Mon Jan 13, 2003 2:24 pm
Subject: AW: Re: ZMS-publishing import error
dn@...
Send Email Send Email
 
Hi Manoj,

you are right. Another zms-user also reported a similar error.
The new history feature was not compatible with the xml-import/export
interface.
We prepared a patch 110a that can be downloaded at www.zms-publishing.com.

With best regards,
Dirk NORDMANN


-----Ursprungliche Nachricht-----
Von: mgartia <mgartia@...> [mailto:mgartia@...]
Gesendet: Montag, 13. Januar 2003 13:18
An: zms-developers@yahoogroups.com
Betreff: [zms-developers] Re: ZMS-publishing import error



Hi,

   I have same following error still. It works after changing to <lang
id="eng">. There are some other problems, (1) only one language is
active i.e english (active), german(not active) (2) Only german text
is available for both language i.e Shorttitle,Title etc. The actual
language text is not updating for text element too.

What's wrong ?

<?xml version="1.0" encoding="ISO-8859-1"?>
<ZMSRubrik
  id="e211">
<active>
<lang id="ger"><![CDATA[1]]></lang>
<lang id="eng"><![CDATA[1]]></lang></active>
<attr_cacheable><![CDATA[1]]></attr_cacheable>
<attr_dc_coverage><![CDATA[proposal]]></attr_dc_coverage>
<titleshort>
<lang id="ger"><![CDATA[kosmatik]]></lang>
<lang id="eng"><![CDATA[cosmatic]]></lang></titleshort>
<title>
<lang id="ger"><![CDATA[kosmatik german]]></lang>
<lang id="eng"><![CDATA[cosmatic english]]></lang></title>
<attr_active_start>
<lang id="ger"><![CDATA[13.01.2003]]></lang>
<lang id="eng"><![CDATA[13.01.2003]]
></lang></attr_active_start></ZMSRubrik>


Thanks,
Manoj





--- In zms-developers@yahoogroups.com, "Dirk Nordmann" <dn@h...>
wrote:
> Hi,
>
> if multiple lanuguages are used, there was a missing blank in the
xml-export
> of the language-tag <langid="eng">. This led to xml which was not
> well-formed. The correct language-tag is actually <lang id="eng">.
> This bug is fixed in ZMS 1.2 Build 104 Patch F.
>
> With best regards.
> Dirk NORDMANN




To unsubscribe from this group, send an email to:
zms-developers-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

#7 From: "mgartia <mgartia@...>" <mgartia@...>
Date: Mon Jan 13, 2003 12:17 pm
Subject: Re: ZMS-publishing import error
mgartia
Offline Offline
Send Email Send Email
 
Hi,

   I have same following error still. It works after changing to <lang
id="eng">. There are some other problems, (1) only one language is
active i.e english (active), german(not active) (2) Only german text
is available for both language i.e Shorttitle,Title etc. The actual
language text is not updating for text element too.

What's wrong ?

<?xml version="1.0" encoding="ISO-8859-1"?>
<ZMSRubrik
  id="e211">
<active>
<lang id="ger"><![CDATA[1]]></lang>
<lang id="eng"><![CDATA[1]]></lang></active>
<attr_cacheable><![CDATA[1]]></attr_cacheable>
<attr_dc_coverage><![CDATA[proposal]]></attr_dc_coverage>
<titleshort>
<lang id="ger"><![CDATA[kosmatik]]></lang>
<lang id="eng"><![CDATA[cosmatic]]></lang></titleshort>
<title>
<lang id="ger"><![CDATA[kosmatik german]]></lang>
<lang id="eng"><![CDATA[cosmatic english]]></lang></title>
<attr_active_start>
<lang id="ger"><![CDATA[13.01.2003]]></lang>
<lang id="eng"><![CDATA[13.01.2003]]
></lang></attr_active_start></ZMSRubrik>


Thanks,
Manoj





--- In zms-developers@yahoogroups.com, "Dirk Nordmann" <dn@h...>
wrote:
> Hi,
>
> if multiple lanuguages are used, there was a missing blank in the
xml-export
> of the language-tag <langid="eng">. This led to xml which was not
> well-formed. The correct language-tag is actually <lang id="eng">.
> This bug is fixed in ZMS 1.2 Build 104 Patch F.
>
> With best regards.
> Dirk NORDMANN

#6 From: "Dirk Nordmann" <dn@...>
Date: Mon Jan 13, 2003 10:21 am
Subject: Re: Bug in 1.2b108
dn@...
Send Email Send Email
 
Hi Peter,

Thank you very much for your contribution. Since we have identified this bug
when developing the new ZMS history feature we already fixed it in release
candidate #110.011. Therefore I have to apologize that we did not use your
code. But I am looking forward to further contributions from you!
Out tests on the release candidate are finished and we will publish the new
ZMS release today.

Regards,
Dirk NORDMANN


-----Ursprungliche Nachricht-----
Von: lemuren777 <lemuren@...> [mailto:lemuren@...]
Gesendet: Freitag, 10. Januar 2003 19:52
An: zms-developers@yahoogroups.com
Betreff: [zms-developers] Bug in 1.2b108


Hi zms-developers,
there seems to be a bug in zms-1.2b108 where commitObjChanges is
reentered while moving an object to the trashcan.

I fixed it locally by setting and object-state "STATE_LOCKED" when
entering "comminObjChanges" and immediately leaving commitObjChanges
when an object is "STATE_LOCKED". The "STATE_LOCKED" state is removed
when leaving commitObjChanges, of course.

Also, I added a check in _ztrashcan to make sure we have a real
REQUEST object and not just a dict, because manage_cut* and
manage_paste* need real REQUEST objects.

Well, this is a rather ugly hack because I have no idea of what's
going on there. I included a diff. (Oh my I've left the comment in
onChangeObj... well, it's clear enough, I think)

Regars,
Peter

diff -bB --exclude='*.pyc' -u zms-1.2-108/_versionmanager.py
zms_HEAD/_versionmanager.py
--- zms-1.2-108/_versionmanager.py Wed Dec 18 13:18:12 2002
+++ zms_HEAD/_versionmanager.py Fri Jan 10 19:03:34 2003
@@ -315,6 +315,8 @@
      #
----------------------------------------------------------------------------
-----------------
      def onChangeObj(self, REQUEST, forced=0):
        #++ if _globals.debug: print '[%s.onChangeObj]'%(self.meta_type)
+      # avoid reentry problems. well, block'em unconditionally.
+      # this might not be what we want.

        ##### Auto-Commit ####
        if self.getAutocommit():
@@ -337,6 +340,11 @@
      #  VersionManager.commitObjChanges
      #
----------------------------------------------------------------------------
-----------------
      def commitObjChanges(self, parent, REQUEST, forced=0):
+      if self.inObjStates(['STATE_LOCKED'], REQUEST):
+        return 0
+      else:
+        setObjState(self, 'STATE_LOCKED', self.getPrimaryLanguage())
+
        if _globals.debug: print '[%s.commitObjChanges]:
%s'%(self.meta_type,self.id)
        delete = 0
        ##### Commit delete object. ####
@@ -360,6 +368,8 @@
          # Reset object-state.
          resetObjState(self,REQUEST)
        # Return flag for deleted objects.
+
+      delObjStates(self, ['STATE_LOCKED'], REQUEST)
        return delete


diff -bB --exclude='*.pyc' -u zms-1.2-108/_ztrashcanclient.py
zms_HEAD/_ztrashcanclient.py
--- zms-1.2-108/_ztrashcanclient.py Mon Dec 16 16:43:10 2002
+++ zms_HEAD/_ztrashcanclient.py Fri Jan 10 19:04:18 2003
@@ -32,7 +33,10 @@
    #  ZTrashcanClient.moveObjToTrashcan
    #
----------------------------------------------------------------------------
---------------------
    def moveObjToTrashcan(self, obj, REQUEST):
+    if not hasattr(REQUEST, 'RESPONSE'):
+      # don't use faked REQUEST dicts
+      REQUEST = self.REQUEST
      trashcan = self.getTrashcan()
      ids = [obj.id]
      cb_copy_data = self.manage_cutObjects(ids,REQUEST)



To unsubscribe from this group, send an email to:
zms-developers-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

#5 From: "lemuren777 <lemuren@...>" <lemuren@...>
Date: Fri Jan 10, 2003 6:52 pm
Subject: Bug in 1.2b108
lemuren777
Offline Offline
Send Email Send Email
 
Hi zms-developers,
there seems to be a bug in zms-1.2b108 where commitObjChanges is
reentered while moving an object to the trashcan.

I fixed it locally by setting and object-state "STATE_LOCKED" when
entering "comminObjChanges" and immediately leaving commitObjChanges
when an object is "STATE_LOCKED". The "STATE_LOCKED" state is removed
when leaving commitObjChanges, of course.

Also, I added a check in _ztrashcan to make sure we have a real
REQUEST object and not just a dict, because manage_cut* and
manage_paste* need real REQUEST objects.

Well, this is a rather ugly hack because I have no idea of what's
going on there. I included a diff. (Oh my I've left the comment in
onChangeObj... well, it's clear enough, I think)

Regars,
Peter

diff -bB --exclude='*.pyc' -u zms-1.2-108/_versionmanager.py
zms_HEAD/_versionmanager.py
--- zms-1.2-108/_versionmanager.py Wed Dec 18 13:18:12 2002
+++ zms_HEAD/_versionmanager.py Fri Jan 10 19:03:34 2003
@@ -315,6 +315,8 @@
      #
--------------------------------------------------------------------------------\
-------------
      def onChangeObj(self, REQUEST, forced=0):
        #++ if _globals.debug: print '[%s.onChangeObj]'%(self.meta_type)
+      # avoid reentry problems. well, block'em unconditionally.
+      # this might not be what we want.

        ##### Auto-Commit ####
        if self.getAutocommit():
@@ -337,6 +340,11 @@
      #  VersionManager.commitObjChanges
      #
--------------------------------------------------------------------------------\
-------------
      def commitObjChanges(self, parent, REQUEST, forced=0):
+      if self.inObjStates(['STATE_LOCKED'], REQUEST):
+        return 0
+      else:
+        setObjState(self, 'STATE_LOCKED', self.getPrimaryLanguage())
+
        if _globals.debug: print '[%s.commitObjChanges]:
%s'%(self.meta_type,self.id)
        delete = 0
        ##### Commit delete object. ####
@@ -360,6 +368,8 @@
          # Reset object-state.
          resetObjState(self,REQUEST)
        # Return flag for deleted objects.
+
+      delObjStates(self, ['STATE_LOCKED'], REQUEST)
        return delete


diff -bB --exclude='*.pyc' -u zms-1.2-108/_ztrashcanclient.py
zms_HEAD/_ztrashcanclient.py
--- zms-1.2-108/_ztrashcanclient.py Mon Dec 16 16:43:10 2002
+++ zms_HEAD/_ztrashcanclient.py Fri Jan 10 19:04:18 2003
@@ -32,7 +33,10 @@
    #  ZTrashcanClient.moveObjToTrashcan
    #
--------------------------------------------------------------------------------\
-----------------
    def moveObjToTrashcan(self, obj, REQUEST):
+    if not hasattr(REQUEST, 'RESPONSE'):
+      # don't use faked REQUEST dicts
+      REQUEST = self.REQUEST
      trashcan = self.getTrashcan()
      ids = [obj.id]
      cb_copy_data = self.manage_cutObjects(ids,REQUEST)

#4 From: "Dirk Nordmann" <dn@...>
Date: Fri Jan 10, 2003 8:37 am
Subject: Re: ZMS-publishing import error
dn@...
Send Email Send Email
 
Hi,

if multiple lanuguages are used, there was a missing blank in the xml-export
of the language-tag <langid="eng">. This led to xml which was not
well-formed. The correct language-tag is actually <lang id="eng">.
This bug is fixed in ZMS 1.2 Build 104 Patch F.

With best regards.
Dirk NORDMANN

-----------------------------------------------------------
Dirk Nordmann
HOFFMANN+LIEBENBERG
Gesellschaft fur Informationsmanagement mbH
Hegelplatz 1
10117 BERLIN
T: ++49-(0)30 - 209 127 8-6
F: ++49-(0)30 - 209 127 8-7

Durchwahl Buro Koln:
Neuenhofer Allee 125
D-50935 KOLN
T: +49-(0)221-560 11 14
F: +49-(0)221-560 11 20
M: +49-(0)179-505 34 76
mailto:dn@...
http://www.hoffmannliebenberg.de
-----------------------------------------------------------

-----Ursprungliche Nachricht-----
Von: sanjay2kind <sanjay2kind@...> [mailto:sanjay2kind@...]
Gesendet: Donnerstag, 9. Januar 2003 16:52
An: zms-developers@yahoogroups.com
Betreff: [zms-developers] ZMS-publishing import error



Hi,

   I export xml format zip file, import same file and got following
error message.  It happens when multiple languages are used.
Any way to solve.

Thanks.
MG

Error Type: ParseError
Error Value: not well-formed at line 5

Traceback (innermost last):
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
150, in publish_module
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
114, in publish
   File C:\Program Files\myzope\lib\python\Zope\__init__.py, line 158,
in zpublisher_exception_hook
     (Object: e1)
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
98, in publish
   File C:\Program Files\myzope\lib\python\ZPublisher\mapply.py, line
88, in mapply
     (Object: manage_import)
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
39, in call_object
     (Object: manage_import)
   File C:\Program
Files\myzope\lib\python\Products\zms\_importable.py, line 126, in
manage_import
     (Object: e1)
   File C:\Program Files\myzope\lib\python\Products\zms\_builder.py,
line 159, in parse
     (Object: content)
ParseError: (see above)




To unsubscribe from this group, send an email to:
zms-developers-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

#3 From: "sanjay2kind <sanjay2kind@...>" <sanjay2kind@...>
Date: Thu Jan 9, 2003 3:52 pm
Subject: ZMS-publishing import error
sanjay2kind
Offline Offline
Send Email Send Email
 
Hi,

   I export xml format zip file, import same file and got following
error message.  It happens when multiple languages are used.
Any way to solve.

Thanks.
MG

Error Type: ParseError
Error Value: not well-formed at line 5

Traceback (innermost last):
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
150, in publish_module
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
114, in publish
   File C:\Program Files\myzope\lib\python\Zope\__init__.py, line 158,
in zpublisher_exception_hook
     (Object: e1)
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
98, in publish
   File C:\Program Files\myzope\lib\python\ZPublisher\mapply.py, line
88, in mapply
     (Object: manage_import)
   File C:\Program Files\myzope\lib\python\ZPublisher\Publish.py, line
39, in call_object
     (Object: manage_import)
   File C:\Program
Files\myzope\lib\python\Products\zms\_importable.py, line 126, in
manage_import
     (Object: e1)
   File C:\Program Files\myzope\lib\python\Products\zms\_builder.py,
line 159, in parse
     (Object: content)
ParseError: (see above)

#2 From: "Richard Bendit" <richard@...>
Date: Tue Jan 7, 2003 10:00 pm
Subject: DB2ZMS-Product-Anouncement
richard@...
Send Email Send Email
 
To start the group as fast as possible i want to anounce a small project i
still put some time:

==> DB2ZMS

"DB2ZMS" is a MySQL to ZMS import tool which uses the XML-Import/Export
possibility which you will find in the top-navigation of your ZMS-Instance
in backstage (Management Screen).

The Product is still under developing but in use for several websites where
existing data from a MySQL-DB is used to create automatcally the possible
content-objects of ZMS like:

- ZMSRubrik
- ZMSDocument
- ZMSTextarea

and some properties like the meta-information and so on ...

If someone is interessted i will send the product to this people with some
instructions.

=> please send an email to "rbendit01@..."

My target is to realize an usefull import-wizard from several
database-systems WITH YOUR HELP !


Thanx


rbendit01

Messages 1 - 31 of 3495   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help