Re: [summary] "Gnome WGO site with Plone" project



Carsten Senger <senger rehfisch de> writes:

> Hi Ross,
>
> Ross Patterson schrieb:
>> Carsten Senger <senger rehfisch de> writes:
>
> [...]
>
>>> - LinguaPlone configuration (especially showing english texts in the
>>>   navigation if another language is choosen and an object is not
>>>   availabel in that language.)
>
> [...]
>
>>
>> Or if there's anyone with a clear enough overview to delegate, I can
>> start work now on whatever is appropriate for me to do.  Just let me
>> know what tasks I can safely tackle!
>
> These tickets are good starting points:
>
> Theme: Show last author in documentByLine
> http://bugzilla.gnome.org/show_bug.cgi?id=462055

I'm starting on this one now.

> Templates: Home: Add the "What is GNOME" block
> (We need a more flexible (static text) Portlet for more extensively
> styled 'marketing' portlets. You find the link to the mockup in the
> ticket.)
> http://bugzilla.gnome.org/show_bug.cgi?id=464619
>
> Policy: The feed to gnomefiles.org is missing
> http://bugzilla.gnome.org/show_bug.cgi?id=463496
>
> We also need someone to do the LinguaPlone configuration. The
> requirements are pretty high from afaiks, but I never used
> LinguaPlone.
>
> If it's necessary you can update the buildout to plone 3.3.

Getting started here I'm getting the following errors and failures from
the tests.  Can any of you update, re-run the buildout and see if you're
getting the same errors?  Thanks.

Ross

Running tests at level 1
Installing CMFCore ... done (0.043s)
Installing CMFDefault ... done (0.491s)
Installing CMFCalendar ... done (0.071s)
Installing CMFTopic ... done (0.077s)
Installing DCWorkflow ... done (0.099s)
Installing CMFActionIcons ... done (0.039s)
Installing CMFQuickInstallerTool ... done (0.113s)
Installing CMFFormController ... done (0.697s)
Installing GroupUserFolder ... done (0.933s)
Installing ZCTextIndex ... done (0.125s)
Installing CMFPlone ... done (9.960s)
Installing Archetypes ... done (0.198s)
Installing ATContentTypes ... done (0.089s)
Installing ATReferenceBrowserWidget ... done (0.032s)
Installing CMFDynamicViewFTI ... done (0.023s)
Installing ExternalEditor ... done (0.035s)
Installing ExtendedPathIndex ... done (0.043s)
Installing ResourceRegistries ... done (0.029s)
Installing SecureMailHost ... done (0.031s)
Installing CMFPlacefulWorkflow ... done (0.101s)
Installing PasswordResetTool ... done (0.034s)
Installing PluggableAuthService ... /home/xen/src/gnomeweb-plone/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile PluggableAuthService:simple taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/xen/src/gnomeweb-plone/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile PluggableAuthService:empty taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
done (0.045s)
Installing PluginRegistry ... done (0.047s)
Installing PlonePAS ... done (0.041s)
Installing kupu ... done (0.495s)
Installing CMFEditions ... done (0.098s)
Installing CMFDiffTool ... done (0.059s)
Installing PloneLanguageTool ... done (0.041s)
Installing NuPlone ... done (0.073s)
Installing LinguaPlone ... done (0.074s)
Running unit tests:
  Running:
..    testpage.tar.gz
    testfolder-defaultview-2.tar.gz
    testfolder.tar.gz
    testfolder-defaultview-1.tar.gz

  Ran 2 tests with 0 failures and 0 errors in 0.390 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
/usr/local/lib/zope2/Zope-2.10.6-final-py2.4/lib/python/zope/configuration/xmlconfig.py:323: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
  __import__(arguments[0])
/home/xen/src/gnomeweb-plone/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFActionIcons:actionicons taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/xen/src/gnomeweb-plone/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFCalendar:default taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/xen/src/gnomeweb-plone/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFCalendar:skins_support taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/xen/src/gnomeweb-plone/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFDefault:default taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/xen/src/gnomeweb-plone/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFDefault:views_support taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/xen/src/gnomeweb-plone/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFDefault:sample_content taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/xen/src/gnomeweb-plone/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFTopic:default taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/xen/src/gnomeweb-plone/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFUid:default taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/xen/src/gnomeweb-plone/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.DCWorkflow:revision2 taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/xen/src/gnomeweb-plone/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.MimetypesRegistry:MimetypesRegistry taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/xen/src/gnomeweb-plone/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.PortalTransforms:PortalTransforms taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
  Set up Products.PloneTestCase.layer.ZCML in 9.590 seconds.
Installing wgo.theme ... done (0.044s)
/home/xen/src/gnomeweb-plone/parts/plone/PlonePAS/setuphandlers.py:39: DeprecationWarning: portal_groups.getGroupIds is deprecated and will be removed in Plone 3.5. Use PAS searchGroups instead
  existing = gtool.listGroupIds()
Installing wgo.mainpage ... done (0.048s)
Installing wgo.policy ... done (0.041s)
  Set up Products.PloneTestCase.layer.PloneSite in 31.772 seconds.
  Running:
..

Failure in test test_different_levels (wgo.theme.tests.test_footer.FooterFunctionalTestCase)
Traceback (most recent call last):
  File "/usr/local/lib/zope2/Zope-2.10.6-final-py2.4/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/xen/src/gnomeweb-plone/src/wgo.theme/wgo/theme/tests/test_footer.py", line 12, in test_different_levels
    self.assertTrue(self.plone_link in self.browser.contents)
  File "/usr/lib/python2.4/unittest.py", line 309, in failUnless
    if not expr: raise self.failureException, msg
AssertionError

.

Failure in test test_moved_portlets (wgo.theme.tests.test_portlets.PortletsFunctionalTestCase)
Traceback (most recent call last):
  File "/usr/local/lib/zope2/Zope-2.10.6-final-py2.4/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/xen/src/gnomeweb-plone/src/wgo.theme/wgo/theme/tests/test_portlets.py", line 15, in test_moved_portlets
    self.assertFalse(self.isRegistered(left, language))
  File "/usr/lib/python2.4/unittest.py", line 305, in failIf
    if expr: raise self.failureException, msg
AssertionError

.

Failure in test test_related_permission (wgo.theme.tests.test_related.RelatedFunctionalTestCase)
Traceback (most recent call last):
  File "/usr/local/lib/zope2/Zope-2.10.6-final-py2.4/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/xen/src/gnomeweb-plone/src/wgo.theme/wgo/theme/tests/test_related.py", line 36, in test_related_permission
    self.assertTrue("relatedItemsViewlet" in self.browser.contents)
  File "/usr/lib/python2.4/unittest.py", line 309, in failUnless
    if not expr: raise self.failureException, msg
AssertionError

.

Error in test test_anonymous_user_should_not_access_main_page_control_panel (wgo.mainpage.tests.test_controlpanel.TestControlPanelAccess)
Traceback (most recent call last):
  File "/usr/local/lib/zope2/Zope-2.10.6-final-py2.4/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/xen/src/gnomeweb-plone/src/wgo.mainpage/wgo/mainpage/tests/test_controlpanel.py", line 9, in test_anonymous_user_should_not_access_main_page_control_panel
    self.assertFalse(MainPageControlPanel.form_name in self.browser.contents)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5941: ordinal not in range(128)

.

Error in test test_manager_should_access_main_page_control_panel (wgo.mainpage.tests.test_controlpanel.TestControlPanelAccess)
Traceback (most recent call last):
  File "/usr/local/lib/zope2/Zope-2.10.6-final-py2.4/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/xen/src/gnomeweb-plone/src/wgo.mainpage/wgo/mainpage/tests/test_controlpanel.py", line 19, in test_manager_should_access_main_page_control_panel
    self.assertTrue(MainPageControlPanel.form_name in self.browser.contents)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6835: ordinal not in range(128)

.

Error in test test_normal_user_should_not_access_main_page_control_panel (wgo.mainpage.tests.test_controlpanel.TestControlPanelAccess)
Traceback (most recent call last):
  File "/usr/local/lib/zope2/Zope-2.10.6-final-py2.4/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/xen/src/gnomeweb-plone/src/wgo.mainpage/wgo/mainpage/tests/test_controlpanel.py", line 14, in test_normal_user_should_not_access_main_page_control_panel
    self.assertFalse(MainPageControlPanel.form_name in self.browser.contents)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5941: ordinal not in range(128)

..............setup content: create a tarfile ... 
    testpage.tar.gz
    testfolder-defaultview-2.tar.gz
    testfolder.tar.gz
    testfolder-defaultview-1.tar.gz
...done
setup content: import via gsxml ... 
    testpage.tar.gz
    testfolder-defaultview-2.tar.gz
    testfolder.tar.gz
    testfolder-defaultview-1.tar.gz
...done
Fix DefaultView: ...
     set index.html ...
     set testfolder-defaultview-1 ...
...done
.    testpage.tar.gz
    testfolder-defaultview-2.tar.gz
    testfolder.tar.gz
    testfolder-defaultview-1.tar.gz
    testpage.tar.gz
    testfolder-defaultview-2.tar.gz
    testfolder.tar.gz
    testfolder-defaultview-1.tar.gz
Fix DefaultView: ...
     set index.html ...
     set testfolder-defaultview-1 ...
...done
.setup content: create a tarfile ... 
    testpage.tar.gz
    testfolder-defaultview-2.tar.gz
    testfolder.tar.gz
    testfolder-defaultview-1.tar.gz
...done
setup content: import via gsxml ... 
    testpage.tar.gz
    testfolder-defaultview-2.tar.gz
    testfolder.tar.gz
    testfolder-defaultview-1.tar.gz
...done
.setup content: create a tarfile ... 
    testpage.tar.gz
    testfolder-defaultview-2.tar.gz
    testfolder.tar.gz
    testfolder-defaultview-1.tar.gz
...done
setup content: import via gsxml ... 
    testpage.tar.gz
    testfolder-defaultview-2.tar.gz
    testfolder.tar.gz
    testfolder-defaultview-1.tar.gz
...done
..

Failure in test test_theme_installed (wgo.policy.tests.test_setup.TestSetup)
Traceback (most recent call last):
  File "/usr/local/lib/zope2/Zope-2.10.6-final-py2.4/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/xen/src/gnomeweb-plone/src/wgo.policy/wgo/policy/tests/test_setup.py", line 13, in test_theme_installed
    self.assertEquals('Gnome Web Theme', skins.getDefaultSkin())
  File "/usr/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 'Gnome Web Theme' != 'NuPlone'

.
  Ran 27 tests with 4 failures and 3 errors in 164.660 seconds.
Tests generated new (1) garbage:
[<gzip on 0xd0013ec>]
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 1.241 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.015 seconds.
Total: 29 tests, 4 failures, 3 errors



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]