Re: Silva 1.5 beta 1 released

Marc Petitmermet <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
well, i gave it a first try.

1. the button "install default layout" on /silva/service_extensions  
throws an error: 404 – document not found

2. kupu: there isn't a margin anymore between the left browser window  
border and the text in kupu; the text is glued to the left border.  
(firefox-1.5)

3. smi > properties: the element name for "Language of content in  
this area" should be "language" and not "description".

4. kupu: i don't have spell checking software installed. sometimes i  
get an "error loading, status 500" window and sometimes, mostly when  
i have selecte some text before clicking on the icon, the content of  
kupu is loaded into a new browser window. it would be much nicer when  
there would be a message similar to "spell checking not available".  
there are lots of broken pipe errors in the error_log of zope.

5. kupu > edit html code: does not work. the toolbox moves completely  
to the left.

6. smi: the lookup screen of a ghost gives a zope error (reference  
button of ghost object):
   Error Type: NameError
   Error Value: global name 'IContent' is not defined
traceback: see [1]

7. smi: the lookup screen of a ghost folder gives a zope error  
(reference button of ghost object):
   Error Type: NameError
   Error Value: global name 'IContent' is not defined
traceback: see [2]

8. kupu: get links reference and selecting a ghost folder gives a  
zope error:
   Error Type: AttributeError
   Error Value: getPhysicalPath
traceback: see [3]

9. kupu: get links reference and selecting a ghost folder in a ghost  
folder gives a zope error:
   Error Type: AttributeError
   Error Value: unrestrictedTraverse
traceback: see [4]

10. smi: silva shouldn't allow broken ghosts to be published.

11. smi: i thought that we got rid of the "unknown author" a long  
time ago;-) but when i create a ghost by copy a document and pasting  
as ghost the author is "unknown" in the content screen. in the  
properties tab the creator is set correctly and the last author is  
the author of the ghosted document. in the publish screen the last  
author is also "unknown", the creator is correct. and this remains  
the same even after publishing, editing, republishing, etc.

12. smi: extfile seems to be partially working with zope-2.8.5  
(https://infrae.com/issue/silva/issue1433). silva image uploading is  
no problem but silva file uploading returns an error:
   Error Type: NameError
   Error Value: global name 'return_url' is not defined
traceback: see [5]

13. smi: trying to renaming a published document gives a strange  
message:
   «${item}» could not be renamed
silva shouldn't even allow the user trying to rename a published  
document.

14. smi: renaming a closed document gives the same message:
   «${item}» renamed successfully    (20 jan 06 01:31)
or «${item}» renamed successfully, «${item}» renamed successfully, «$ 
{item}» renamed successfully    (20 jan 06 01:33)

15. smi: nitpicking here;-) why does the "Kupu Editor" button not  
have an elipsis like the other buttons? i thought that in english  
everything should be lowercase (https://infrae.com/issue/silva/msg7532)

16. smi > properties: the properties screen does not behave as  
expected. i have the SilvaRendererDemo product installed. therefore,  
when clicking on the "settings..." button in the properties screen it  
should change to "back..." and give me a change to get back to the  
initial properties screen.

17. smi > properties: same as 16. but for the "addables..." button.  
this would make it consistent to the user lookup screen.



i also tried to upgrade content from silva-1.4. the content upgrade  
from 1.4 to 1.5 passed without errors after i have removed the  
silvaexternal source and silvanews products. of course quite a few  
documents throw errors now because of the missing products. trivial  
content seems to have been upgraded without problems and are fully  
editable, preview-able and publishable. i cannot test my custom  
layouts because the all rely on silvaexternal source and/ or silva  
news and therefore throw nasty errors.

i like the added "publishing actions" in the contents screen and  
these intelligent "close/ publish now" buttons (you should add this  
to the history.txt file).

regards,
marc


btw, i found this firefox extension today. this might become handy  
for you developers:

FireBug is a new tool that aids with debugging Javascript, DHTML, and  
Ajax. It is like a combination of the Javascript Console, DOM  
Inspector, and a command line Javascript interpreter.

https://addons.mozilla.org/extensions/moreinfo.php? 
id=1843&application=firefox


[1]
Traceback (innermost last):
   Module ZPublisher.Publish, line 113, in publish
   Module ZPublisher.mapply, line 88, in mapply
   Module ZPublisher.Publish, line 40, in call_object
   Module Products.Five.browser.metaconfigure, line 451, in __call__
   Module Shared.DC.Scripts.Bindings, line 311, in __call__
   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
   Module Products.PageTemplates.PageTemplateFile, line 110, in _exec
   Module Products.PageTemplates.PageTemplate, line 104, in pt_render
    - <ImplicitAcquirerWrapper object at 0x44a8f50>
   Module TAL.TALInterpreter, line 206, in __call__
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 424, in do_optTag_tal
   Module TAL.TALInterpreter, line 406, in no_tag
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 711, in do_useMacro
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 734, in do_defineSlot
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 426, in do_optTag_tal
   Module TAL.TALInterpreter, line 411, in do_optTag
   Module TAL.TALInterpreter, line 406, in no_tag
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 477, in do_setLocal_tal
   Module Products.PageTemplates.TALES, line 221, in evaluate
    - URL: index
    - Line 71, Column 14
    - Expression: <PythonExpr view.objectLookupGetObjects(filter, int 
(show_add))>
    - Names:
       {'container': <Silva Publication instance mukreis>,
        'context': <Silva Publication instance mukreis>,
        'default': <Products.PageTemplates.TALES.Default instance at  
0x2031760>,
        'here': <Silva Publication instance mukreis>,
        'loop': <Products.PageTemplates.TALES.SafeMapping object at  
0x44fb4e0>,
        'modules':  
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance  
at 0x20258f0>,
        'nothing': None,
        'options': {'args': (<Products.Five.metaclass.SimpleViewClass  
from /Applications/Silva/Sites/1.5beta/Products/Silva/browser/ 
object_lookup.pt object at 0x44b8ad0>,)},
        'repeat': <Products.PageTemplates.TALES.SafeMapping object at  
0x44fb4e0>,
        'request': <HTTPRequest, URL=http://localhost:8090/silva/ 
mukreis/%40%40object_lookup>,
        'root': <Application at >,
        'template': <ImplicitAcquirerWrapper object at 0x44a8f50>,
        'traverse_subpath': [],
        'user': admin,
        'view': <Products.Five.metaclass.SimpleViewClass from / 
Applications/Silva/Sites/1.5beta/Products/Silva/browser/ 
object_lookup.pt object at 0x44b8ad0>,
        'views':  
<zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at  
0x3e6beb0>}
   Module Products.PageTemplates.PythonExpr, line 70, in __call__
    - __traceback_info__: view.objectLookupGetObjects(filter, int 
(show_add))
   Module <string>, line 2, in f
   Module Products.Silva.browser.lookup, line 82, in  
objectLookupGetObjects
NameError: global name 'IContent' is not defined


[2]
Traceback (innermost last):
   Module ZPublisher.Publish, line 113, in publish
   Module ZPublisher.mapply, line 88, in mapply
   Module ZPublisher.Publish, line 40, in call_object
   Module Products.Five.browser.metaconfigure, line 451, in __call__
   Module Shared.DC.Scripts.Bindings, line 311, in __call__
   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
   Module Products.PageTemplates.PageTemplateFile, line 110, in _exec
   Module Products.PageTemplates.PageTemplate, line 104, in pt_render
    - <ImplicitAcquirerWrapper object at 0x48d5b50>
   Module TAL.TALInterpreter, line 206, in __call__
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 424, in do_optTag_tal
   Module TAL.TALInterpreter, line 406, in no_tag
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 711, in do_useMacro
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 734, in do_defineSlot
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 426, in do_optTag_tal
   Module TAL.TALInterpreter, line 411, in do_optTag
   Module TAL.TALInterpreter, line 406, in no_tag
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 653, in do_loop_tal
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 426, in do_optTag_tal
   Module TAL.TALInterpreter, line 411, in do_optTag
   Module TAL.TALInterpreter, line 406, in no_tag
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 477, in do_setLocal_tal
   Module Products.PageTemplates.TALES, line 221, in evaluate
    - URL: index
    - Line 188, Column 22
    - Expression: standard:'item/get_title_editable'
    - Names:
       {'container': <Silva Folder instance gv>,
        'context': <Silva Folder instance gv>,
        'default': <Products.PageTemplates.TALES.Default instance at  
0x2031760>,
        'here': <Silva Folder instance gv>,
        'loop': <Products.PageTemplates.TALES.SafeMapping object at  
0x46bc0f8>,
        'modules':  
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance  
at 0x20258f0>,
        'nothing': None,
        'options': {'args': (<Products.Five.metaclass.SimpleViewClass  
from /Applications/Silva/Sites/1.5beta/Products/Silva/browser/ 
object_lookup.pt object at 0x48d5c90>,)},
        'repeat': <Products.PageTemplates.TALES.SafeMapping object at  
0x46bc0f8>,
        'request': <HTTPRequest, URL=http://localhost:8090/silva/ 
mukreis/intern/gv/%40%40object_lookup>,
        'root': <Application at >,
        'template': <ImplicitAcquirerWrapper object at 0x48d5b50>,
        'traverse_subpath': [],
        'user': admin,
        'view': <Products.Five.metaclass.SimpleViewClass from / 
Applications/Silva/Sites/1.5beta/Products/Silva/browser/ 
object_lookup.pt object at 0x48d5c90>,
        'views':  
<zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at  
0x48d9790>}
   Module Products.PageTemplates.Expressions, line 185, in __call__
   Module Products.PageTemplates.Expressions, line 180, in _eval
   Module Products.PageTemplates.Expressions, line 85, in render
   Module Products.Silva.Ghost, line 72, in get_title_editable
   Module Products.Silva.Ghost, line 181, in get_haunted_unrestricted
   Module Products.Silva.Ghost, line 171, in _get_object_at
   Module Products.Silva.GhostFolder, line 288, in get_link_status
   Module Products.Silva.GhostFolder, line 309, in isReferencingSelf
AttributeError: getPhysicalPath


[3]
Traceback (innermost last):
   Module ZPublisher.Publish, line 113, in publish
   Module ZPublisher.mapply, line 88, in mapply
   Module ZPublisher.Publish, line 40, in call_object
   Module Products.Five.browser.metaconfigure, line 451, in __call__
   Module Shared.DC.Scripts.Bindings, line 311, in __call__
   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
   Module Products.PageTemplates.PageTemplateFile, line 110, in _exec
   Module Products.PageTemplates.PageTemplate, line 104, in pt_render
    - <ImplicitAcquirerWrapper object at 0x48f7fb0>
   Module TAL.TALInterpreter, line 206, in __call__
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 424, in do_optTag_tal
   Module TAL.TALInterpreter, line 406, in no_tag
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 711, in do_useMacro
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 734, in do_defineSlot
   Module TAL.TALInterpreter, line 250, in interpret
   Module TAL.TALInterpreter, line 426, in do_optTag_tal
   Module TAL.TALInterpreter, line 411, in do_optTag
   Module TAL.TALInterpreter, line 406, in no_tag
   Module TAL.TALInterpreter, line 250, in interpret
   Module Products.Silva.monkey, line 19, in  
silva_do_insertStructure_tal
   Module Products.PageTemplates.TALES, line 221, in evaluate
    - URL: index
    - Line 90, Column 24
    - Expression: <PythonExpr view.renderIcon(view.context)>
    - Names:
       {'container': <Silva Ghost Folder instance vs>,
        'context': <Silva Ghost Folder instance vs>,
        'default': <Products.PageTemplates.TALES.Default instance at  
0x2031760>,
        'here': <Silva Ghost Folder instance vs>,
        'loop': <Products.PageTemplates.TALES.SafeMapping object at  
0x48fb918>,
        'modules':  
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance  
at 0x20258f0>,
        'nothing': None,
        'options': {'args': (<Products.Five.metaclass.SimpleViewClass  
from /Applications/Silva/Sites/1.5beta/Products/Silva/browser/ 
object_lookup.pt object at 0x48f7f90>,)},
        'repeat': <Products.PageTemplates.TALES.SafeMapping object at  
0x48fb918>,
        'request': <HTTPRequest, URL=http://localhost:8090/silva/ 
mukreis/intern/gv/vorstand/vs/%40%40object_lookup>,
        'root': <Application at >,
        'template': <ImplicitAcquirerWrapper object at 0x48f7fb0>,
        'traverse_subpath': [],
        'user': admin,
        'view': <Products.Five.metaclass.SimpleViewClass from / 
Applications/Silva/Sites/1.5beta/Products/Silva/browser/ 
object_lookup.pt object at 0x48f7f90>,
        'views':  
<zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at  
0x48f7610>}
   Module Products.PageTemplates.PythonExpr, line 70, in __call__
    - __traceback_info__: view.renderIcon(view.context)
   Module <string>, line 2, in f
   Module Products.Silva.browser.lookup, line 26, in renderIcon
   Module Products.Silva.icon, line 35, in getIcon
   Module Products.Silva.GhostFolder, line 277, in get_link_status
   Module Products.Silva.Ghost, line 181, in get_haunted_unrestricted
   Module Products.Silva.Ghost, line 165, in _get_object_at
AttributeError: unrestrictedTraverse


[4]
Traceback (innermost last):
   Module ZPublisher.Publish, line 113, in publish
   Module ZPublisher.mapply, line 88, in mapply
   Module ZPublisher.Publish, line 40, in call_object
   Module Products.FileSystemSite.FSPythonScript, line 104, in __call__
   Module Shared.DC.Scripts.Bindings, line 311, in __call__
   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
   Module Products.FileSystemSite.FSPythonScript, line 160, in _exec
   Module None, line 4, in add_object_submit
    - <FSPythonScript at /silva/service_views/Silva/edit/Container/ 
add_object_submit used for /silva/service_views/Silva/edit/Container/ 
Publication>
    - Line 4
   Module Products.FileSystemSite.FSPythonScript, line 104, in __call__
   Module Shared.DC.Scripts.Bindings, line 311, in __call__
   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
   Module Products.FileSystemSite.FSPythonScript, line 160, in _exec
   Module None, line 72, in add_submit
    - <FSPythonScript at /silva/service_views/Silva/add/File/add_submit>
    - Line 72
NameError: global name 'return_url' is not defined
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.