All posts in the topic Problems with installation on Slackware 11.0 (Short link)
Summary
- There are 4 posts — by 2 authors — in this topic.
- Latest post made by Richard Waid at 2007 May 01 20:29 UTC
Hi,
I really like the GS software and I'd love to use it asap, however I have some
problems with it.
I was wondering if there is anybody who installed it on Slackware 11.0 and who
could describe their experiences, so I could get the GS to work.
I am not sure if this is Slackware related issue, but when I try to add a file
or post a message via web, I get errors like this:
Adding a file gives me this:
Site Error
An error was encountered while publishing this resource.
IOError
Sorry, a site error occurred.
Traceback (innermost last):
Module ZPublisher.Publish, line 196, in publish_module_standard
Module ZPublisher.Publish, line 146, in publish
Module Zope2.App.startup, line 222, in zpublisher_exception_hook
Module ZPublisher.Publish, line 115, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 41, in call_object
Module Products.XWFFileLibrary2.XWFVirtualFileFolder2, line 481, in
view_add_file
Module Products.XWFFileLibrary2.XWFVirtualFileFolder2, line 109, in
processForm
Module Products.XWFFileLibrary2.XWFVirtualFileFolder2, line 409, in
cb_file_addFile
Module Products.XWFFileLibrary2.XWFVirtualFileFolder2, line 134, in add_file
Module Products.XWFFileLibrary2.XWFFileStorage2, line 79, in add_file
Module Products.XWFIdFactory.XWFIdFactoryMixin, line 52, in get_nextId
Module Products.XWFIdFactory.XWFIdFactory, line 198, in register
Module Products.XWFIdFactory.XWFIdFactory, line 167, in _write_counter
IOError: [Errno 13] Permission denied:
'/opt/zopeinstance/Products/XWFIdFactory/counters/Szobi/IdFactory/eebc51d3c6f3f521aee867a1ee60d5f8'
(Also, the following error occurred while attempting to render the standard
error message, please see the event log for full details: [Errno 13] Permission
denied:
'/opt/zopeinstance/Products/XWFIdFactory/counters/Szobi/IdFactory/eebc51d3c6f3f521aee867a1ee60d5f8')
Trying to post via web gives me this:
Site Error
An error was encountered while publishing this resource.
IOError
Sorry, a site error occurred.
Traceback (innermost last):
Module ZPublisher.Publish, line 196, in publish_module_standard
Module ZPublisher.Publish, line 146, in publish
Module Zope2.App.startup, line 222, in zpublisher_exception_hook
Module ZPublisher.Publish, line 115, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 41, in call_object
Module Products.XWFMailingListManager.XWFVirtualMailingListArchive, line 218,
in send_email
Module Products.MailBoxer.MailBoxer, line 409, in manage_listboxer
Module Products.MailBoxer.MailBoxer, line 834, in listMail
Module Products.XWFMailingListManager.XWFMailingList, line 359, in
manage_addMail
Module Products.XWFIdFactory.XWFIdFactoryMixin, line 52, in get_nextId
Module Products.XWFIdFactory.XWFIdFactory, line 198, in register
Module Products.XWFIdFactory.XWFIdFactory, line 167, in _write_counter
IOError: [Errno 13] Permission denied:
'/opt/zopeinstance/Products/XWFIdFactory/counters/Szobi/IdFactory/ea8a1b6b9fda2368de1a6732370e3129'
(Also, the following error occurred while attempting to render the standard
error message, please see the event log for full details: [Errno 13] Permission
denied:
'/opt/zopeinstance/Products/XWFIdFactory/counters/Szobi/IdFactory/ea8a1b6b9fda2368de1a6732370e3129')
Now, is it a permission error?
I use Zope 2.9.7 and it works just fine. I followed the installation
instructions, but I still cannot neither post nor add files.
Any ideas what and how to correct the installation?
Thanks a lot in advance.
Oliwer wrote:
>
'/opt/zopeinstance/Products/XWFIdFactory/counters/Szobi/IdFactory/ea8a1b6b9fda2368de1a6732370e3129')
>
> Now, is it a permission error?
>
> I use Zope 2.9.7 and it works just fine. I followed the installation
instructions, but I still cannot neither post nor add files.
>
> Any ideas what and how to correct the installation?
>
That does look like a permission problem. What is the permission on
/opt/zopeinstance/Products/XWFIdFactory/counters ? It should be
read-write as the user that Zope is running as.
Hi Richard, > That does look like a permission problem. What is the permission on > /opt/zopeinstance/Products/XWFIdFactory/counters ? It should be > read-write as the user that Zope is running as. Thanks for your time and advice. Indeed, the permissions were wrong and after correcting them the errors were gone. I was able to post a message via the web interface and add a file. However, some strange parsing errors appeared while I was trying to display messages and view files. Strange. Still the main group page shows that there is 1 new message and 1 new file added. So it seems that these features work. The question remains what is the parsing error that prevents messages and files from displaying. Any ideas? I checked the event log and I found something like this: 2007-05-01T18:50:52 ERROR Zope.SiteErrorLog http://groups.szob.net/Szobi/groups/TEST/messages/view_email Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module Products.XWFMailingListManager.XWFVirtualMailingListArchive, line 256, in view_email Module Shared.DC.Scripts.Bindings, line 311, in __call__ Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module Products.DataTemplates.FSXMLTemplate, line 94, in _exec Module Products.DataTemplates.XMLTemplate, line 484, in _exec Module Products.DataTemplates.XMLTemplate, line 409, in _render_as Module Products.FileSystemSite.FSPageTemplate, line 124, in pt_render Module Products.PageTemplates.PageTemplate, line 104, in pt_render - <FSXMLTemplate at /Szobi/Presentation/Tofu/MailingListManager/xml/email> Module TAL.TALInterpreter, line 238, in __call__ Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 749, in do_useMacro Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 772, in do_defineSlot Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 691, in do_loop_tal Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 531, in do_insertText_tal Module Products.PageTemplates.TALES, line 227, in evaluateText Module Products.PageTemplates.TALES, line 221, in evaluate - URL: /Szobi/Templates/page.xml - Expression: <PythonExpr email['mailDate'].toZone(here.GlobalConfiguration.getProperty('timezone','GMT')).strftime('%d %b %Y %R')> - Names: {'container': <DirectoryViewSurrogate at /Szobi/Presentation/Tofu/MailingListManager/xml>, 'context': <DirectoryViewSurrogate at /Szobi/Presentation/Tofu/MailingListManager/xml>, 'default': <Products.PageTemplates.TALES.Default instance at 0x40f8b82c>, 'here': <DirectoryViewSurrogate at /Szobi/Presentation/Tofu/MailingListManager/xml>, 'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x424ddf4c>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x40faf48c>, 'nothing': None, 'options': {'args': (), 'result_set': [<Folder at /Szobi/ListManager/QFS_PL/archive/1>]}, 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x424ddf4c>, 'request': <HTTPRequest, URL=http://groups.szob.net/Szobi/groups/TEST/messages/view_email>, 'root': <Application at >, 'template': <FSXMLTemplate at /Szobi/Presentation/Tofu/MailingListManager/xml/email>, 'traverse_subpath': [], 'user': <CustomUser 'szob'>} Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ - __traceback_info__: email['mailDate'].toZone(here.GlobalConfiguration.getProperty('timezone','GMT')).strftime('%d %b %Y %R') Module Python expression "email['mailDate'].toZone(here.GlobalConfiguration.getProperty('timezone','GMT')).strftime('%d %b %Y %R')", line 1, in <expression> Module DateTime.DateTime, line 1157, in toZone KeyError: '' Anyway, thanks a lot.
> expression
"email['mailDate'].toZone(here.GlobalConfiguration.getProperty('timezone','GMT')).strftime('%d
%b %Y %R')",
> line 1, in <expression>
> Module DateTime.DateTime, line 1157, in toZone
> KeyError: ''
check the GlobalConfiguration and make sure that timezone is set to something
eg. GMT, rather than being just blank.