All posts in the topic Installation on Ubuntu 6.10 ? (Short link)
Summary
- There are 9 posts — by 4 authors — in this topic.
- Latest post made by amar gharat at 2006 Dec 12 08:45 UTC
I know its getting in early with Ubuntu 6.10, but I am not having any joy installing the current Groupserver (downloaded 30th Oct) with the very current Ubuntu 6.10 (installed a day or 2 ago). Zope 2.9 installs OK (although I noticed that Zope is up to 2.10 from the Zope web site), but Ubuntu 6.10 still has 2.9. One can log into the Zope interface OK. I guess the first question that arises is what version of Zope 2.9 - how does one know ? However, when Zope tries to load Groupserver, the following errors are produced in the Zope Instance logs - which also shows the directories in use. >------ >2006-10-30T21:53:30 ERROR Zope Could not import Products.CustomUserFolder >Traceback (most recent call last): > File "/usr/lib/zope2.9/lib/python/OFS/Application.py", line 708, in import_pro >duct > product=__import__(pname, global_dict, global_dict, silly) > File "/usr/zopeinst/Products/CustomUserFolder/__init__.py", line 20, in ? > import CustomUserFolder, CustomUser > File "/usr/zopeinst/Products/CustomUserFolder/CustomUserFolder.py", line 26, in ? > from Products.NuxUserGroups import UserFolderWithGroups >ImportError: No module named NuxUserGroups >------ and >2006-10-30T21:53:30 ERROR Zope Could not import Products.GroupServer >Traceback (most recent call last): > File "/usr/lib/zope2.9/lib/python/OFS/Application.py", line 708, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "/usr/zopeinst/Products/GroupServer/__init__.py", line 8, in ? > import groupserver > File "/usr/zopeinst/Products/GroupServer/groupserver.py", line 5, in ? > from Products.XWFCore.XWFUtils import createRequestFromRequest >ImportError: No module named XWFCore.XWFUtils >------ plus other errors. Suggestions for quick fixes welcomed from Richard, Dan or others. Regards Richard Richard Solly http://eforum.darebin.voc.gov.au/
On Mon, 2006-10-30 at 12:55 +0000, Richard Solly wrote:
> I know its getting in early with Ubuntu 6.10, but I am not having any
> joy installing the current Groupserver (downloaded 30th Oct) with the
> very current Ubuntu 6.10 (installed a day or 2 ago).
>
> Zope 2.9 installs OK (although I noticed that Zope is up to 2.10 from
> the Zope web site), but Ubuntu 6.10 still has 2.9. One can log into the
> Zope interface OK. I guess the first question that arises is what
> version of Zope 2.9 - how does one know ?
Have a look in the Control Panel, in the top level once you're logged
into the Zope interface.
> However, when Zope tries to load Groupserver, the following errors are
> produced in the Zope Instance logs - which also shows the directories
> in use.
What products are in your Products folder? (there should be a Products
folder at the same level as the bin, etc and var folders in the Zope
instance).
Richard Thanks for the comments. Re: Errors from Installtion of GS 0.9 on Ubuntu 6.10 ? Richard Waid wrote on 31 Oct 2006 15:38 >Have a look in the Control Panel, in the top level once you're logged >into the Zope interface. with the information as follows: - quoted to stop line wrap >Zope Version (Zope 2.9.5-final, python 2.4.4, linux2) >Python Version 2.4.4c1 (#2, Oct 11 2006, 21:51:02) [GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] >System Platform linux2 >SOFTWARE_HOME /usr/lib/zope2.9/lib/python >ZOPE_HOME /usr/lib/zope2.9 >INSTANCE_HOME /usr/zopeinst >CLIENT_HOME /usr/zopeinst/var >Network Services ZServer.HTTPServer.zhttp_server (Port: 9673) >What products are in your Products folder? (there should be a Products >folder at the same level as the bin, etc and var folders in the Zope >instance). ls -al of /usr/zopeinst/ drwxr-xr-x 2 zope zope 160 2006-10-30 13:41 bin drwxr-xr-x 2 zope zope 80 2006-10-30 14:06 etc drwxr-xr-x 2 zope zope 80 2006-10-30 13:41 Extensions drwxr-xr-x 2 zope zope 160 2006-10-30 13:41 import drwxr-xr-x 3 zope zope 72 2006-10-30 13:41 lib drwxr-xr-x 2 zope zope 136 2006-10-30 13:53 log drwxr-xr-x 9 zope zope 296 2006-10-30 13:52 Products -rw-r--r-- 1 zope zope 481 2006-10-30 13:41 README.txt drwxr-xr-x 2 zope zope 280 2006-10-31 13:54 var ls -al of /usr/zopeinst/Products/ drwxr-xr-x 7 zope zope 3160 2006-10-30 14:09 CMFCore drwxr-xr-x 4 zope zope 552 2006-10-30 14:09 CookieCrumbler drwxr-xr-x 5 zope zope 368 2006-10-30 14:09 CustomProperties drwxr-xr-x 5 zope zope 440 2006-10-30 14:09 CustomUserFolder drwxr-xr-x 7 zope zope 984 2006-10-30 14:09 DataTemplates drwxr-xr-x 10 zope zope 1928 2006-10-30 14:09 FileSystemSite drwxr-xr-x 6 zope zope 376 2006-10-30 14:09 GroupServer -rw-r--r-- 1 zope zope 170 2006-10-30 13:41 README.txt I will try a fresh installation on Debian. Regards Richard Richard Solly http://eforum.daebin.vic.gov.au PS Ubuntu is now the most popular Linux system by a considerable margin.
On Tue, 2006-10-31 at 03:20 +0000, Richard Solly wrote:
> ls -al of /usr/zopeinst/Products/
>
> drwxr-xr-x 7 zope zope 3160 2006-10-30 14:09 CMFCore
> drwxr-xr-x 4 zope zope 552 2006-10-30 14:09 CookieCrumbler
> drwxr-xr-x 5 zope zope 368 2006-10-30 14:09 CustomProperties
> drwxr-xr-x 5 zope zope 440 2006-10-30 14:09 CustomUserFolder
> drwxr-xr-x 7 zope zope 984 2006-10-30 14:09 DataTemplates
> drwxr-xr-x 10 zope zope 1928 2006-10-30 14:09 FileSystemSite
> drwxr-xr-x 6 zope zope 376 2006-10-30 14:09 GroupServer
> -rw-r--r-- 1 zope zope 170 2006-10-30 13:41 README.txt
Well. ... I'm not sure what happened there but that doesn't look like an
installation of the groupserver-0.9 that I just downloaded myself to
check. Mine shows:
CMFCore
CookieCrumbler
CustomProperties
CustomUserFolder
FileSystemSite
GroupServer
MailBoxer
NuxUserGroups
XWFContentFramework
XWFCore
XWFDropBox
XWFFileLibrary
XWFFileLibrary2
XWFIdFactory
XWFMailingListManager
XWFMetadata
XWFNewsContent
XWFPluggableFiles
So that would probably be the problem :)
I do note that the files that are installed form just the first column
of a 'ls' of the content of the tar package, so maybe they just didn't
get copied correctly?
Richard Waid wrote on 31 Oct 2006 20:59 > So that would probably be the problem :) Richard Thanks for the comments - yes you are correct - the problem was files missing from the zope instance Products directory. I notice that the extracted groupserver-0.9-products.tar file (from the bz2 file) from a download a "short while ago" is smaller than the similar file from the bz2 file downloaded today, although the dates of packing are identical (2006-04-10 15:44). With today's Product files I can see and load the Groupserver site object into Zope. Unfortunately, the normal apache web user interfaces still produces errors when trying to display the division and example_group pages. On the web page one gets > The XML page cannot be displayed > Only one top level element is allowed in an XML document. Error processing resource 'http://g27.melbpc.org.au/example_division/index.xml' In the event.log one get much error output, concluding with >File "/usr/lib/zope2.9/lib/python/Products/PageTemplates/PageTemplate.py", line 52, in macros > return self.pt_macros() >File "/usr/lib/zope2.9/lib/python/Products/PageTemplates/PageTemplate.py", line 134, in pt_macros > raise PTRuntimeError, ( >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)"] That immediately above looks like a character set problem. The help page display OK in a web browser :-) I will send you more of the error output off list. Regards Richard Richard Solly http://eforum.darebin.vic.gov.au/
Hi Richard: http://groupserver.org/r/topic/108042 Should address this problem :) (See the last post for installation details).
Richard Waid wrote on 01 Nov 2006 09:39 >http://groupserver.org/r/topic/108042 >Should address this problem :) >(See the last post for installation details). Thanks Richard The small python file fixed the problem. Interesting, as on starting the zope instance, I previous got one of these: default encoding set to UTF-8 So it already thought it was using UTF-8, but produced the errors in my previous posting. Now on starting it outputs: default encoding set to UTF-8 . default encoding set to UTF-8 (twice to be sure, is happy and displays all pages :-) The small python file only works when added to the python library of the zope distribution - an extra step as part of the GroupServer installation. As outlined elsewhere, there still appears to be an issue with the script for a division administrator to add a group, but not many will see that. Regards Richard Richard Solly http://eforum.darebin.vic.gov.au/
On Thu, 2006-11-02 at 00:44 +1300, Richard wrote:
> Interesting, as on starting the zope instance, I previous got one of
> these:
>
> default encoding set to UTF-8
>
> So it already thought it was using UTF-8, but produced the errors in
> my previous posting.
>
> Now on starting it outputs:
>
> default encoding set to UTF-8
> . default encoding set to UTF-8
>
> (twice to be sure, is happy and displays all pages :-)
Agreed, it can take a bit of wrestling to get UTF-8 working, but I find
that it is worth it in the end:
http://viapiict.onlinegroups.net/
A new file has been uploaded to GroupServer Admin You can open the file at: http://groupserver.org/r/file/11553-2006-12-12T084513Z File details: name: raw.txt description: tags: "" type: text/plain size: 0KB You can view the files area for GroupServer Admin at: http://groupserver.org/groups/groupserver_admin/files