Installing Zope first, and separately
From:
Richard Waid
Date:
Nov 07 23:40 UTC
Short link
On Sat, 2008-11-08 at 11:45 +1300, berendes wrote:
> Is that feasible? Are there instructions for doing this?
It's feasible, and the instructions in the tarball *somewhat* cover an
installation of this kind, but the major problem you will encounter is
control over incoming mail. At the moment this requires direct access to
a postfix MTA installation -- this does not have to be on the same
machine but you do require access at both the virtual domain and aliases
level.
Installing Zope first, and separately
From:
berendes
Date:
Nov 07 22:43 UTC
Short link
I'm hosted at webfaction.com, and they run various flavors of both Zope and
Postgresql, so I should be able to run GS.
I can install various versions of Zope, most recently 2.10.4 and 2.10.5, and
then I'd like to install GS as a typical Zope product.
Is that feasible? Are there instructions for doing this?
3 problems with the new GroupServer build
From:
Richard Waid
Date:
Aug 30 02:41 UTC
Short link
On Sat, 2008-08-30 at 06:09 +1200, dmitry.pavlov wrote:
> I installed groupserver-1.0alpha-20080801 and created the GroupServer site.
> There are three problems. I fixed the first one, accepted workaround for the
> second one and got stuck with the third one.
Thanks Dmitry:
> 1) In scripts/apache-groupserver file, the string
>
> RewriteRule ^/(.*) http://127.0.0.1:8080/sites/test/Content/
>
> is invalid because the 'sites' directory is omitted in the new version
> of GroupServer. I changed it to
>
> RewriteRule ^/(.*) http://127.0.0.1:8080/test/Content/
The 'sites' bit is more of a convention at our end than anything else. I'll
make a note to change the README to reflect this.
> 2) I can not run Apache site on port other than 80.
> This Apache configuration works well:
>
> <VirtualHost *:80>
> ServerAdmin <email obscured>
> ServerName myhost.com
>
> RewriteEngine on
> RewriteRule ^/(.*)
http://myhost.com:8080/test/Content/example_site/VirtualHostBase/http/%{HTTP_HOST}:80/VirtualHostRoot/$1
[L,P]
> ProxyVia On
> </VirtualHost>
>
> But the port 80 is usually occupied by another site and
> I don't want to change things, so I tried to run GroupServer
> at port 8081. (I couldn't use 8080 because this port is
> listened by Zope.)
>
> I tried to create a new site with 'Canonical Hostname'
> "http://myhost.com:8081", but it failed saying that
> "More than one email address was given". So I ended up
> with "http://myhost.com".
>
> So, I put <VirtualHost *:8081> in apache-groupserver
> and restarted Apache and opened http://myhost.com:8081.
>
> The site opens, but all links are broken. For example,
> 'Home' links to "http://myhost.com:8080", which is
> not Apache's but Zope's port! Nothing works.
Ok. Two things here:
1: If you want to run the apache for groupserver on a port other than
80, you'll need to adjust the rewrite rule so that any references to
'80' read whatever port you changed it to (this is so that any links point to
the right place).
2: I'd *strongly* recommend making a subdomain of myhost.com, eg.
groups.myhost.com, and using that instead of myhost.com. That should
solve all your problems, you can just put 'groups.myhost.com' as your
canonical domain, and apache will work fine because it will be a name
based virtual host.
> 3) I opened the 'Example Group' and tried to post something.
> I clicked on the link
>
> http://myhost.com/groups/example_group/messages/topics.html
>
> and got "Unexpected Error".
<snip error>
> How to fix that?
I'll take a look at that. I strongly suspect it has been fixed already.
--Richard
3 problems with the new GroupServer build
From:
dmitry.pavlov
Date:
Aug 29 18:07 UTC
Short link
Hello,
I installed groupserver-1.0alpha-20080801 and created the GroupServer site.
There are three problems. I fixed the first one, accepted workaround for the
second one and got stuck with the third one.
1) In scripts/apache-groupserver file, the string
RewriteRule ^/(.*) http://127.0.0.1:8080/sites/test/Content/
is invalid because the 'sites' directory is omitted in the new version
of GroupServer. I changed it to
RewriteRule ^/(.*) http://127.0.0.1:8080/test/Content/
2) I can not run Apache site on port other than 80.
This Apache configuration works well:
<VirtualHost *:80>
ServerAdmin <email obscured>
ServerName myhost.com
RewriteEngine on
RewriteRule ^/(.*)
http://myhost.com:8080/test/Content/example_site/VirtualHostBase/http/%{HTTP_HOST}:80/VirtualHostRoot/$1
[L,P]
ProxyVia On
</VirtualHost>
But the port 80 is usually occupied by another site and
I don't want to change things, so I tried to run GroupServer
at port 8081. (I couldn't use 8080 because this port is
listened by Zope.)
I tried to create a new site with 'Canonical Hostname'
"http://myhost.com:8081", but it failed saying that
"More than one email address was given". So I ended up
with "http://myhost.com".
So, I put <VirtualHost *:8081> in apache-groupserver
and restarted Apache and opened http://myhost.com:8081.
The site opens, but all links are broken. For example,
'Home' links to "http://myhost.com:8080", which is
not Apache's but Zope's port! Nothing works.
I temporarily switched GroupServer back to port 80
and proceeded.
3) I opened the 'Example Group' and tried to post something.
I clicked on the link
http://myhost.com/groups/example_group/messages/topics.html
and got "Unexpected Error".
Here is the message from the Zope instance:
2008-08-29 22:03:09 INFO GSSearch processing as cacheable
2008-08-29 22:03:09 INFO GSSearch cache hit 0 (0.0%) times, missed 1 times
2008-08-29 22:03:09 INFO GSSearch topic_search_keyword took 2.9ms
2008-08-29 22:03:09 ERROR Zope.SiteErrorLog
http://myhost.com/groups/example_group/messages/topics.html
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 Products.Five.browser.metaconfigure, line 417, in __call__
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
Module Products.PageTemplates.PageTemplate, line 89, in pt_render
Module zope.pagetemplate.pagetemplate, line 117, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 891, in do_useMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 949, in do_defineSlot
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
Module zope.tales.tales, line 696, in evaluate
- URL: index
- Line 84, Column 8
- Expression: <PythonExpr (view.get_user_can_post(True))>
- Names:
{'container': <XWFVirtualMailingListArchive2 at
/test/Content/example_site/groups/example_group/messages>,
'context': <XWFVirtualMailingListArchive2 at
/test/Content/example_site/groups/example_group/messages>,
'default': <object object at 0x7f52a5792200>,
'here': <XWFVirtualMailingListArchive2 at
/test/Content/example_site/groups/example_group/messages>,
'loop': {},
'nothing': None,
'options': {'args': (<Products.Five.metaclass.SimpleViewClass from
/home/dpavlov/groupserver-1.0alpha-20080801/src/XWFMailingListManager/browser/templates/topics.pt
object at 0x6f6a750>,)},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
0x87fcb48>,
'request': <HTTPRequest,
URL=http://myhost.com/groups/example_group/messages/topics.html>,
'root': <Application at >,
'template': <ImplicitAcquirerWrapper object at 0x838fe10>,
'traverse_subpath': [],
'user': <CustomUser 'admin2'>,
'view': <Products.Five.metaclass.SimpleViewClass from
/home/dpavlov/groupserver-1.0alpha-20080801/src/XWFMailingListManager/browser/templates/topics.pt
object at 0x6f6a750>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object
at 0x887a7d0>}
Module zope.tales.pythonexpr, line 59, in __call__
- __traceback_info__: (view.get_user_can_post(True))
Module <string>, line 0, in ?
AttributeError: get_user_can_post
2008-08-29 22:03:09 ERROR root Exception while rendering an error message
Traceback (most recent call last):
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/OFS/SimpleItem.py",
line 227, in raise_standardErrorMessage
v = s(**kwargs)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/ZPublisher/Publish.py",
line 119, in publish
request, bind=1)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/ZPublisher/mapply.py",
line 88, in mapply
if debug is not None: return debug(object,args,context)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/ZPublisher/Publish.py",
line 42, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/Products/Five/browser/metaconfigure.py",
line 417, in __call__
return self.index(self, *args, **kw)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/Shared/DC/Scripts/Bindings.py",
line 313, in __call__
return self._bindAndExec(args, kw, None)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/Shared/DC/Scripts/Bindings.py",
line 350, in _bindAndExec
return self._exec(bound_data, args, kw)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/Products/PageTemplates/PageTemplateFile.py",
line 129, in _exec
return self.pt_render(extra_context=bound_names)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/Products/PageTemplates/PageTemplate.py",
line 89, in pt_render
return super(PageTemplate, self).pt_render(c, source=source)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/zope/pagetemplate/pagetemplate.py",
line 117, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 271, in __call__
self.interpret(self.program)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 346, in interpret
handlers[opcode](self, args)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 891, in do_useMacro
self.interpret(macro)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 346, in interpret
handlers[opcode](self, args)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 949, in do_defineSlot
self.interpret(slot)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 346, in interpret
handlers[opcode](self, args)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 536, in do_optTag_tal
self.do_optTag(stuff)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 521, in do_optTag
return self.no_tag(start, program)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 516, in no_tag
self.interpret(program)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 346, in interpret
handlers[opcode](self, args)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 586, in do_setLocal_tal
self.engine.setLocal(name, self.engine.evaluateValue(expr))
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/zope/tales/tales.py",
line 696, in evaluate
return expression(self)
File
"/home/dpavlov/groupserver-1.0alpha-20080801/parts/zope/lib/python/zope/tales/pythonexpr.py",
line 59, in __call__
return eval(self._code, vars)
File "<string>", line 0, in ?
AttributeError: get_user_can_post
How to fix that?
Zope instance dies on startup, saying "A user was not specified to setuid to"
From:
Richard Waid
Date:
Jul 13 10:44 UTC
Short link
On Wed, 2008-07-09 at 02:33 +1200, dmitry.pavlov wrote:
> TransformError: Transform menu-only did not exist
>
> Do you have any idea of it?
Hi Dmitry:
Firstly, sorry for the slow reply!
Unfortunately, there is no easy answer to that one and I think I'm going
to require a little more debugging from you. Could you please email me
off list? I'll report back to the list when we get it solved.
Zope instance dies on startup, saying "A user was not specified to setuid to"
From:
dmitry.pavlov
Date:
Jul 08 14:31 UTC
Short link
Richard,
Thank you for feedback. I am accessing GroupServer from the remote
machine so editing /etc/hosts would not help I guess.
Blank password did not work for some reason.
I (1) changed the password to 'testbed', then (2) updated the settings in
/sites/test/zsqlalchemy, then (3) specified the port number in groupserver
Apache2 config:
<VirtualHost *:8081>
for do not break the sites that are already running on port 80, then I (4)
restarted Groupserver and Apache2 and opened http://myhost.com:8081/.
I have got the following error:
2008-07-08 18:08:50 ERROR Zope.SiteErrorLog http://myhost.com/@@index.html
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 Products.Five.browser.metaconfigure, line 417, in __call__
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
Module Products.PageTemplates.PageTemplate, line 89, in pt_render
Module zope.pagetemplate.pagetemplate, line 117, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 891, in do_useMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 957, in do_defineSlot
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal
Module Products.PageTemplates.Expressions, line 221, in evaluateStructure
Module zope.tales.tales, line 696, in evaluate
- URL: index
- Line 32, Column 6
- Expression: <PythonExpr (getattr(context, 'menuexternal.xml',
getattr(context.Templates.output, 'menuexternal.xml'))(method='html'))>
- Names:
{'container': <Folder at /sites/test/Content/example_site>,
'context': <Folder at /sites/test/Content/example_site>,
'default': <object object at 0x7f48fd565200>,
'here': <Folder at /sites/test/Content/example_site>,
'loop': {},
'nothing': None,
'options': {'args': (<Products.Five.metaclass.SimpleViewClass from
/home/dpavlov/groupserver-1.0/src/GSContent/browser/templates/site_home.pt
object at 0x4ff7790>,)},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
0x4a22638>,
'request': <HTTPRequest, URL=http://myhost.com/@@index.html>,
'root': <Application at >,
'template': <ImplicitAcquirerWrapper object at 0x4decdd0>,
'traverse_subpath': [],
'user': <SpecialUser 'Anonymous User'>,
'view': <Products.Five.metaclass.SimpleViewClass from
/home/dpavlov/groupserver-1.0/src/GSContent/browser/templates/site_home.pt
object at 0x4ff7790>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object
at 0x4ff7510>}
Module zope.tales.pythonexpr, line 59, in __call__
- __traceback_info__: (getattr(context, 'menuexternal.xml',
getattr(context.Templates.output, 'menuexternal.xml'))(method='html'))
Module <string>, line 0, in ?
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.DataTemplates.XMLTemplate, line 483, in _exec
Module Products.DataTemplates.XMLTemplate, line 422, in _render_as
TransformError: Transform menu-only did not exist
2008-07-08 18:08:50 ERROR root Exception while rendering an error message
Traceback (most recent call last):
File "/home/dpavlov/groupserver-1.0/parts/zope/lib/python/OFS/SimpleItem.py",
line 227, in raise_standardErrorMessage
v = s(**kwargs)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/ZPublisher/Publish.py",
line 119, in publish
request, bind=1)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/ZPublisher/mapply.py",
line 88, in mapply
if debug is not None: return debug(object,args,context)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/ZPublisher/Publish.py",
line 42, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/Products/Five/browser/metaconfigure.py",
line 417, in __call__
return self.index(self, *args, **kw)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/Shared/DC/Scripts/Bindings.py",
line 313, in __call__
return self._bindAndExec(args, kw, None)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/Shared/DC/Scripts/Bindings.py",
line 350, in _bindAndExec
return self._exec(bound_data, args, kw)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/Products/PageTemplates/PageTemplateFile.py",
line 129, in _exec
return self.pt_render(extra_context=bound_names)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/Products/PageTemplates/PageTemplate.py",
line 89, in pt_render
return super(PageTemplate, self).pt_render(c, source=source)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/zope/pagetemplate/pagetemplate.py",
line 117, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 271, in __call__
self.interpret(self.program)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 346, in interpret
handlers[opcode](self, args)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 891, in do_useMacro
self.interpret(macro)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 346, in interpret
handlers[opcode](self, args)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 957, in do_defineSlot
self.interpret(block)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 346, in interpret
handlers[opcode](self, args)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/zope/tal/talinterpreter.py",
line 745, in do_insertStructure_tal
structure = self.engine.evaluateStructure(expr)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/Products/PageTemplates/Expressions.py",
line 221, in evaluateStructure
text = super(ZopeContext, self).evaluateStructure(expr)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/zope/tales/tales.py", line
696, in evaluate
return expression(self)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/zope/tales/pythonexpr.py",
line 59, in __call__
return eval(self._code, vars)
File "<string>", line 0, in ?
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/Shared/DC/Scripts/Bindings.py",
line 313, in __call__
return self._bindAndExec(args, kw, None)
File
"/home/dpavlov/groupserver-1.0/parts/zope/lib/python/Shared/DC/Scripts/Bindings.py",
line 350, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/dpavlov/groupserver-1.0/src/DataTemplates/XMLTemplate.py", line
483, in _exec
RESPONSE=response)
File "/home/dpavlov/groupserver-1.0/src/DataTemplates/XMLTemplate.py", line
422, in _render_as
raise TransformError, ('Transform %s did not exist' %
TransformError: Transform menu-only did not exist
Do you have any idea of it?
Zope instance dies on startup, saying "A user was not specified to setuid to"
From:
Richard Waid
Date:
Jul 08 03:15 UTC
Short link
Sorry for the delay in replying Dmitry.
On Sat, 2008-07-05 at 00:51 +1200, dmitry.pavlov wrote:
> Thank you for help.
> Now I have completed the README.INSTALL.
> I created the 'test' Groupserver site
> (so I guess apache-groupserver needs no changes)
> and ran ubuntu_apache_setup.sh:
>
> starting apache
> Restarting web server: apache2[Fri Jul 04 16:45:26 2008] [warn]
> NameVirtualHost *:80 has no VirtualHosts
> ... waiting [Fri Jul 04 16:45:27 2008] [warn] NameVirtualHost *:80
> has no VirtualHosts
>
>
> Now, how can I access the site I created?
> I tried to go to
>
> http://localhost:8080/sites/test/Content/example_site/
You may need to add "groupserver" to your /etc/hosts file on the
127.0.0.1 (and/or 127.0.1.1 line in Ubuntu).
Then you should be able to visit http://groupserver/
> OperationalError: fe_sendauth: no password supplied (Also, the
> following error occurred while attempting to render the standard error
> message, please see the event log for full details: fe_sendauth: no
> password supplied )
>
> What I did wrong again?
Have a look at the 'Set Up Database' section of the README.INSTALL and
see that you've setup the database correctly.
If your configuration differs from the rather insecure configuration
suggested, for example requiring a password, you might need to log in to
the localhost:8080/manage interface, and change /sites/test/zsqlalchemy
to match your database configuration.
Good Luck!
Zope instance dies on startup, saying "A user was not specified to setuid to"
From:
dmitry.pavlov
Date:
Jul 04 12:49 UTC
Short link
Hi Richard,
Thank you for help.
Now I have completed the README.INSTALL.
I created the 'test' Groupserver site
(so I guess apache-groupserver needs no changes)
and ran ubuntu_apache_setup.sh:
starting apache
Restarting web server: apache2[Fri Jul 04 16:45:26 2008] [warn] NameVirtualHost
*:80 has no VirtualHosts
... waiting [Fri Jul 04 16:45:27 2008] [warn] NameVirtualHost *:80 has no
VirtualHosts
Now, how can I access the site I created?
I tried to go to
http://localhost:8080/sites/test/Content/example_site/
and have got the following:
Sorry, a site error occurred.
Traceback (innermost last):
* Module ZPublisher.Publish, line 202, in publish_module_standard
* Module ZPublisher.Publish, line 150, in publish
* Module Zope2.App.startup, line 221, in zpublisher_exception_hook
* Module ZPublisher.Publish, line 110, in publish
* Module ZPublisher.BaseRequest, line 488, in traverse
* Module ZPublisher.BaseRequest, line 314, in traverseName
* Module zope.traversing.namespace, line 109, in namespaceLookup
* Module zope.traversing.namespace, line 340, in traverse
* Module zope.component._api, line 114, in queryMultiAdapter
* Module zope.component.registry, line 206, in queryMultiAdapter
* Module zope.interface.adapter, line 482, in queryMultiAdapter
* Module Products.GSContent.view, line 184, in __init__
* Module zope.component._api, line 224, in createObject
* Module Products.GSContent.groupsInfo, line 24, in __call__
* Module Products.GSContent.groupsInfo, line 47, in __init__
* Module Products.GSGroup.queries, line 11, in __init__
* Module sqlalchemy.schema, line 175, in __call__
* Module sqlalchemy.engine.base, line 802, in reflecttable
* Module sqlalchemy.engine.base, line 796, in contextual_connect
* Module sqlalchemy.engine.base, line 401, in __init__
* Module sqlalchemy.engine.base, line 817, in raw_connection
* Module sqlalchemy.engine.default, line 20, in get_connection
* Module sqlalchemy.pool, line 162, in connect
* Module sqlalchemy.pool, line 243, in __init__
* Module sqlalchemy.pool, line 177, in get
* Module sqlalchemy.pool, line 506, in do_get
* Module sqlalchemy.pool, line 145, in create_connection
* Module sqlalchemy.pool, line 194, in __init__
* Module sqlalchemy.pool, line 228, in __connect
* Module Products.ZSQLAlchemy.ZSQLAlchemy, line 129, in _getConnection
* Module sqlalchemy.pool, line 676, in connect
* Module sqlalchemy.pool, line 167, in connect
* Module sqlalchemy.pool, line 243, in __init__
* Module sqlalchemy.pool, line 177, in get
* Module sqlalchemy.pool, line 506, in do_get
* Module sqlalchemy.pool, line 145, in create_connection
* Module sqlalchemy.pool, line 194, in __init__
* Module sqlalchemy.pool, line 228, in __connect
* Module sqlalchemy.pool, line 657, in <lambda>
OperationalError: fe_sendauth: no password supplied (Also, the following error
occurred while attempting to render the standard error message, please see the
event log for full details: fe_sendauth: no password supplied )
What I did wrong again?
Zope instance dies on startup, saying "A user was not specified to setuid to"
From:
Richard Waid
Date:
Jul 04 11:29 UTC
Short link
On Fri, 2008-07-04 at 21:27 +1200, dmitry.pavlov wrote:
> ZConfig.ConfigurationError: A user was not specified to setuid to; fix this
to start as root (change the effective-user directive in zope.conf)
>
> What I did wrong?
Hi Dmitry:
Firstly, thanks for filing the report in Trac as well.
The problem is that the buildout is not supposed to be run as root --
Zope and thus the core GroupServer code does not require privileged
operation in order to run.
You should run both the buildout and the ./bin/instance script as a
non-privileged user, perhaps as yourself.
Hope that helps.
Zope instance dies on startup, saying "A user was not specified to setuid to"
From:
dmitry.pavlov
Date:
Jul 04 09:24 UTC
Short link
Hello,
I have 64-bit Debian unstable. I unpacked groupserver-1.0alpha2.tar.bz2 and did
all the instructions in README.INSTALL file. All went well, until I ran the
instance.
#./bin/instance start
It raises a process, which dies after 1 or 2 seconds. var/log directory is
empty,
even if I specify "debug-mode on" in zope.conf.
When I start it in foreground, it raises the exception:
#./bin/instance fg
/opt/groupserver-1.0/parts/instance/bin/runzope -X debug-mode=on
2008-07-04 13:07:34 INFO ZServer HTTP server started at Fri Jul 4 13:07:34
2008
Hostname: 0.0.0.0
Port: 8080
2008-07-04 13:07:34 CRITICAL Zope A user was not specified to setuid to; fix
this to start as root (change the effective-user directive in zope.conf)
Traceback (most recent call last):
File "/opt/groupserver-1.0/parts/zope/lib/python/Zope2/Startup/run.py", line
56, in ?
run()
File "/opt/groupserver-1.0/parts/zope/lib/python/Zope2/Startup/run.py", line
21, in run
starter.prepare()
File "/opt/groupserver-1.0/parts/zope/lib/python/Zope2/Startup/__init__.py",
line 98, in prepare
self.dropPrivileges()
File "/opt/groupserver-1.0/parts/zope/lib/python/Zope2/Startup/__init__.py",
line 234, in dropPrivileges
return dropPrivileges(self.cfg)
File "/opt/groupserver-1.0/parts/zope/lib/python/Zope2/Startup/__init__.py",
line 403, in dropPrivileges
raise ZConfig.ConfigurationError(msg)
ZConfig.ConfigurationError: A user was not specified to setuid to; fix this to
start as root (change the effective-user directive in zope.conf)
What I did wrong?
Log Files and GroupServer
From:
Michael JasonSmith
Date:
Jul 04 02:38 UTC
Short link
GroupServer and Zope keep an activity log. The log can be found in
$INSTALL/var/log/instance.log
(Where $INSTALL is the directory that GroupServer is installed in.) GroupServer
messages are always preceded by the module name, and normally list
* The site
* The user, and
* The group
associated with the event. Where possible, GroupServer lists name of each
object, with the ID following in brackets.
For debugging purposes, I usually find it useful to run Zope in foreground
mode:
$INSTALL/bin/instance fg
It dumps out a lot of data to the terminal :)
Group Privacy: Public, Private or Secret
From:
Dan Randow
Date:
Jun 19 00:07 UTC
Short link
If you are administering a GroupServer site via the ZMI, you should be
aware of the move that is being made towards "preset" group privacy levels.
In the past, through the Group Admin interface, it has been possible to
configure group privacy at a granular level by manipulating the following.
Group Joinability (Who can join this group)
Anyone, without approval
Anyone, pending approval
Only those invited
Group Visibility (Who can see this group)
Everyone
Only site and group members
Only group members
Messages and Files Visibility (Who can view the messages and files in
this group)
Everyone
Only site and group members
Only group members
(Direct ZMI manipulation of object permissions in the group context, and
<shudder> properties in the ListManager context can still be carried out
but this is no longer necessary and definitely not recommended.)
Current development work on the registration system, and group
interfaces is being done on the basis that there are three possible
group privacy states for a group, each clustering group and
messages/files visibility, and joinability as follows.
Public
Group Joinability: Anyone, without approval
Group Visibility: Everyone
Messages and Files Visibility: Everyone
Private
Group Joinability: Anyone, pending approval
Group Visibility: Everyone
Messages and Files Visibility: Only group members
Secret
Group Joinability: Only those invited
Group Visibility: Only group members
Messages and Files Visibility: Only group members
We believe that these three settings will be useful to almost all
GroupServer users, and they significantly simplify group administration.
This new scheme has been implemented in the registration system, so that
joinability now depends on whether the group is public, private or
public, as defined above. Site templates may not yet reflect this change.
There following, for example, is therefore possible. If a group's
joinability is set to "anyone", but the messages are only visible to
group members, the group will appear to be joinable on the groups and
group home pages, but will not actually be joinable. Users attempting to
join the group will get errors.
Delivery status reporting suggestion
From:
Andrew Groom
Date:
Jun 08 21:19 UTC
Short link
Hi All,
I was just thinking it would be interesting for members of a group to
see what delivery options other members had set. I don't know, but I
strongly suspect that some, shall we say "prominent", members of a group
I'm part of have switched off email delivery so that they can appear to
be participating and yet are not.
Failing that, even an idea of how many members had email delivery
disabled would be interesting.
Finding files
From:
Michael JasonSmith
Date:
2007 Jul 16 22:41 UTC
Short link
Walter, if you tell me (off list) the name of the site you are working on, then
I can set up the new search subsystem and we can see if that helps. It would be
a good chance to test it :) Unfortunately, the new system does not search the
content of files (yet), but it does search the titles of files, and the content
of posts. In the latter case, the system will tell you if the post has a file
associated with it.
However, your user has a larger problem, in that she has found a logical hole
in search. All a search can tell you is that you have not found something, not
that something does not exist! If your user is not sure if the file is posted,
then there is only so much that can be done.
Finally, this topic is far more appropriate for OGN Admins, rather than this
group, which is about the trials and tribulations of administering a
GroupServer installation :)
Finding files
From:
Walter Logeman
Date:
2007 Jul 16 06:12 UTC
Short link
Hi,
I am trying to assist someone to find a file. She is a not sure if a
file was posted. The date is unknown, the Topics are not adhered to in
the group, and by far the most files have file have one tag only
"attachment". Can I just search for title or content?
Unable to post
From:
Alexander Byatt
Date:
2007 Jul 09 03:02 UTC
Short link
Hey everyone,
I have an instance of groupserver .9 installed and suddenly it just broke. The
groups can all be viewed, but as soon as you try and post a new topic, the
topic never appears and after a few minutes you get a return email saying that
the email could not be sent. Heres the email, it'd be great if someone could
help me decode it :)
Your document: A test
was not delivered to: group-automagic( at )eforum.manningham.vic.gov.au
because: Traceback (most recent call last): File
"/var/lib/zope2.9/instance/eforum/Products/XWFMailingListManager/smtp2zope.py",
line 456, in ? list_props = getListInfo(callURL, original_mailto) File
"/var/lib/zope2.9/instance/eforum/Products/XWFMailingListManager/smtp2zope.py",
line 386, in getListInfo properties =
server.get_listPropertiesFromMailto(mailto) File
"/usr/lib/python2.3/xmlrpclib.py", line 1032, in __call__ return
self.__send(self.__name, args) File "/usr/lib/python2.3/xmlrpclib.py", line
1319, in __request verbose=self.__verbose File
"/usr/lib/python2.3/xmlrpclib.py", line 1065, in request self.send_content(h,
request_body) File "/usr/lib/python2.3/xmlrpclib.py", line 1179, in
send_content connection.endheaders() File "/usr/lib/python2.3/httplib.py",
line 715, in endheaders self._send_output() File
"/usr/lib/python2.3/httplib.py", line 600, in _send_output self.send(msg)
File "/usr/lib/python2.3/httplib.py", line 567, in send self.connect() File
"/usr/lib/python2.3/httplib.py", line 551, in connect raise socket.error, msg
socket.error: (110, 'Connection timed out')
Thanks for any advice or help you can give me,
Problem with viewing xml files
From:
Richard Waid
Date:
2007 May 03 20:46 UTC
Short link
Pauli wrote:
> Further to my previous message, I managed to fix this by downloading and
adding "sitecustomise.py".
>
> However, after adding the first post I am now getting the following error on
most pages:
>
> XML Parsing Error: junk after document element
> Location: http://masiina.com/example_division/index.xml?
> Line Number 2, Column 3: <p>An error was encountered while publishing this
resource.
> --^
>
> Looks as if there's still something wrong with the XML parser?
>
Hi Paul. That's actually a browser message, look at the source of the
page for the real error message (the brower thinks it is XML, and so
tries interpreting it as such).
Problem with viewing xml files
From:
Pauli Visuri
Date:
2007 May 03 13:26 UTC
Short link
Further to my previous message, I managed to fix this by downloading and adding
"sitecustomise.py".
However, after adding the first post I am now getting the following error on
most pages:
XML Parsing Error: junk after document element
Location: http://masiina.com/example_division/index.xml?
Line Number 2, Column 3: <p>An error was encountered while publishing this
resource.
--^
Looks as if there's still something wrong with the XML parser?
Problem with viewing xml files
From:
Pauli Visuri
Date:
2007 May 02 19:46 UTC
Short link
Hi, I had a similar problem (running on Windows), installing the plugin fixed
the "not loaded" error but now I'm getting character encoding errors:
PTRuntimeError: Page Template news_headlines.xml has errors: ['Compilation
failed', "exceptions.UnicodeEncodeError: 'ascii' codec can't encode character
u'\\u2026' in position 1043: ordinal not in range(128)"]
ZMI shows red exclamation marks in front of that file, as well as the following
files, and refuses to even open them (throwing "UnicodeEncodeError"s in
window):
/templates/output/groups_index
/templates/output/latest_topics.xml
Could this be caused by an incompatible locale setting e.g. in Windows?
Zope.conf seems to have some directives for overriding defaults.
Problems with installation on Slackware 11.0
From:
Richard Waid
Date:
2007 May 01 20:29 UTC
Short link
> 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.