liam.keene | 1 Jan 03:36
Picon

RE: Setup Digest, Vol 27, Issue 1

Dear setup-request@...,

The Hunter Pacific Office will be closed from the 21st of December until the 3rd of January 2008.

I will attend to your email when the office opens next year.

Have a Merry Christmas and Happy New Year!

Michael Ang | 1 Jan 06:26
Favicon

buildout: add python library

Hi,
  How do add into buildout.cfg so it install additional python library
into ${zope2:location}/lib/python
e.g I have pychart.tgz to be download and install to the instance.

Thanks.

:]Michael
<<<<<<<<<<

liam.keene | 1 Jan 13:08
Picon

RE: Setup Digest, Vol 27, Issue 2

Dear setup-request@...,

The Hunter Pacific Office will be closed from the 21st of December until the 3rd of January 2008.

I will attend to your email when the office opens next year.

Have a Merry Christmas and Happy New Year!

liam.keene | 2 Jan 13:07
Picon

RE: Setup Digest, Vol 27, Issue 3

Dear setup-request@...,

The Hunter Pacific Office will be closed from the 21st of December until the 3rd of January 2008.

I will attend to your email when the office opens next year.

Have a Merry Christmas and Happy New Year!

tlacy | 2 Jan 21:50

3.0 (build 7416) to 3.0.4 upgrade


Is it necessary to re-create the Account Name and Password when upgrading
from v3.0 to v3.0.4?
Is this an upgrade or a completely new installation?

Thanks,
--

-- 
View this message in context: http://www.nabble.com/3.0-%28build-7416%29-to-3.0.4-upgrade-tp14585915s15482p14585915.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Bontempo, Daniel | 3 Jan 19:34
Picon
Favicon

PATH problem in Windows Plone 3.0.4 install

After doing a plain vanilla install of Plone 3.0.4 on our Windows XP box, and letting the installer make all the choices, I had trouble running python from the command line.

I found that the PATH used '/Plone/' instead of '/Plone 3/'. I manually modified the PATH to use ''/Plone 3/' and solved the problem.

Is this a problem with the installer, or did I miss some important option or switch?

Also Plone was put under 'Program
Files’ directory, and some scripts like the generator in DIYPloneStyle are intolerant of spaces in path names.

Should we have used something outside of program files? Are there security issues placing things in directories directly off the root?

Any help appreciated

deb193 | 3 Jan 20:01
Picon
Favicon

PATH problem in Windows Plone 3.0.4 install


After doing a plain vanilla install of Plone 3.0.4 on our Windows XP box, and
letting the installer make all the choices, I had trouble running python
from the command line.

(stuff about Python and PATH deleted. The PATH was from a piror installation
of Plone - mystery solved.)

BUt, Plone was put under 'Program FIles' directory by default, and 'Plone
3', and some scripts like the generator in DIYPloneStyle are intolorant of
spaces in path names.

Should we have used something outside of program files? Are there security
issues placing things in directories directly off the root?

Any help appreciated
--

-- 
View this message in context: http://www.nabble.com/PATH-problem-in-Windows-Plone-3.0.4-install-tp14602515s15482p14602515.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Walter Landry | 4 Jan 20:15
Favicon

AttributeError:batchedFolderContents when migrating

Hello,

I am trying to migrate a Plone instance currently running on Debian
sarge (Zope 2.7.5, Plone 2.0.4) to Debian etch (Zope 2.9.6, Plone
2.5.1).  After reading

  https://weblion.psu.edu/trac/weblion/wiki/UpgradePloneTwoZeroToTwoFive

and

  http://plone.org/documentation/manual/upgrade-guide/version/2.0-2.1

I used the following upgrade path.

1) Copy the Data.fs from Zope 2.7.5, Plone 2.0.4 to an instance
   running Zope 2.7.6, Plone 2.1.3.

2) Add a new root user with zopectl because we have lost the passwords
   for the administrative users.

3) Log into ZMI and run portal_migration.  This takes an hour or two
   (Data.fs is 20 GB).

4) Delete all of the users in acl_users except root, because otherwise
   I was getting a has_key error later when migrating PlonePAS.

5) Make sure everything works in the new environment

6) copy the Data.fs to an instance running Zope 2.8.7, Plone 2.1.3.

7) I have to convert some indices now.  I click on "portal_catalog",
  then click on "Indexes".  I get an error about "_length".  I modify
  that URL by replacing "manage_catalogIndexes" with
  "manage_convertIndexes".  That gets rid of the error.

8) There are now extra tabs and items viewed by default.  To fix this,
   log into Plone.  Go to the "preferences" tab on the top left, and
   click on "Navigation Settings".  Uncheck "Automatically generate
   tabs".  Check "Filter on workflow state" and "Published".  Hit
   Save.

9) Make sure everything else works

10) Copy the Data.fs to an instance running Zope 2.9.6, Plone 2.5.1
   (the final destination).

11) For some reason, the "root" user that I created earlier does not
    work.  However, if I try "admin" with the "root"'s password, that
    lets me into ZMI.

12) Migrate the portal (takes a few minutes)

13) Migrate ATContentTypes (very quick)

14) Now I get an error

  Error exceptions.AttributeError on here/portlet_recent/macros/portlet: toPortalTime

  This does not make sense to me, because if I look at the source for
  portlet_recent, it is not using toPortalTime.  In any case, I can
  get rid of this error by removing portlet_recent from the list of
  slots.

With that fixed, it mostly works, but I am getting the error
AttributeError:batchedFolderContents whenever I log into the plone
site and look at the Contents tab.

I am attaching the full version information, installed products, and
traceback.  This error looks a lot like

  http://plone.org/products/atvocabularymanager/issues/13

It might also be related to

  http://rhaptos.org/testing/plone25/tasks/ptf031
  http://dev.plone.org/plone/ticket/2577
  http://dev.plone.org/plone/ticket/3118

For reference, the original website is 

  http://geodynamics.org/cig

The Zope 2.9.6/Plone 2.5.1 instance is running (for now) at 

  http:/s-wave.geodynamics.org:8081/cig

Does anyone have an idea of how to fix this problem?

Thank you,
Walter Landry
walter@...

Version Information
-------------------
Plone version: 2.5.1
Zope version: (Zope 2.9.6-final, python 2.4.4, linux2)
Apache version:
CMF version (if known): CMF-1.6.2
Browser(s) and version(s): Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128
Iceweasel/2.0.0.11 (Debian-2.0.0.11-1)
Operating system: linux2
Python version: 2.4.4 (#2, Apr  5 2007, 20:11:18) 
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
Debug mode: No

Installed Products
------------------
ATContentTypes 1.1.3-final installed 
ATReferenceBrowserWidget 1.5 installed 
Archetypes 1.4.1-final installed 
BTreeFolder2 BTreeFolder2-1.0.2  
CMFActionIcons CMF-1.6.2 installed 
CMFCalendar CMF-1.6.2 installed 
CMFCore CMF-1.6.2  
CMFDefault CMF-1.6.2  
CMFDynamicViewFTI 2.1  
CMFFormController 2.0.5 installed 
CMFForum 0.1beta2  
CMFPhoto 0.5.0  
CMFPhotoAlbum 0.5.0  
CMFPlacefulWorkflow 1.0.2 installed 
CMFPlone 2.5.1  
CMFQuickInstallerTool 1.5.9  
CMFSetup CMF-1.6.2  
CMFSin 0.6.1  
CMFTopic CMF-1.6.2  
CMFUid CMF-1.6.2  
COREBlog COREBlog 1.0  
DCWorkflow CMF-1.6.2  
Epoz 0.8.2  
ExtFile 1.4.2  
ExtendedPathIndex 2.4  
ExternalEditor 0.9.2  
ExternalMethod External Method-1-0-0  
FileSystemSite FileSystemSite 1.3  
Five Five 1.3.8  
Formulator Formulator 1.7.0  
GenericSetup GenericSetup-1.1  
GroupUserFolder 3.54 installed 
Hotfix_20050405 Hotfix_20050405  
I18NFolder 2.02  
I18NLayer 0.5.5  
LDAPUserFolder 2.2  
MIMETools   
MailHost MailHost-1-3-0  
Marshall 0.6.6-final  
MimetypesRegistry 1.4.1-final installed 
OFSP OFSP-1-0-0  
PageTemplates PageTemplates-1-4-0  
PasswordResetTool 0.4.1 installed 
Photo Photo 1.2.3  
PlacelessTranslationService 1.3.3  
PloneArticle 2.05  
PloneErrorReporting 1.0 installed 
PloneLanguageTool 1.4  
PlonePAS 2.1 installed 
PloneTranslations 2.6.0  
PluggableAuthService PluggableAuthService-1.4  
PluginIndexes   
PluginRegistry 1.1.1  
PortalTransforms 1.4.1-final installed 
PythonScripts PythonScripts-2-0-0  
ResourceRegistries 1.3.2 installed 
SecureMailHost 1.0.4  
Sessions   
SiteAccess SiteAccess-2-0-0  
SiteErrorLog   
StandardCacheManagers StandardCacheManagers-1-1-0  
TemporaryFolder   
Transience   
ZAAPlugins 2.21  
ZAttachmentAttribute 2.21  
ZCTextIndex   
ZCatalog ZCatalog-2-2-0  
ZGadflyDA   
ZLDAPConnection   
ZLDAPMethods   
ZODBMountPoint   
ZPsycopgDA   
ZReST 1.1  
ZSQLMethods   
ZopeTutorial Zope Tutorial 1.2  
exUserFolder exUserFolder-0-30-0  
generator 1.3.2-final06  
kupu kupu 1.3.8 installed 
statusmessages 2.0.1  
validation 1.4.1-final  

Traceback
---------
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 Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.PageTemplates.ZopePageTemplate, line 255, in _exec
  Module Products.PageTemplates.PageTemplate, line 104, in pt_render
   - <ZopePageTemplate at /cig/folder_contents>
  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 457, in do_optTag_tal
  Module TAL.TALInterpreter, line 442, in do_optTag
  Module TAL.TALInterpreter, line 437, in no_tag
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 780, in do_defineSlot
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 457, in do_optTag_tal
  Module TAL.TALInterpreter, line 442, in do_optTag
  Module TAL.TALInterpreter, line 437, in no_tag
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 728, in do_defineMacro
  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 507, in do_setLocal_tal
  Module Products.PageTemplates.TALES, line 221, in evaluate
   - URL: /cig/folder_contents
   - Line 22, Column 6
   - Expression: <PythonExpr here.batchedFolderContents(suppressHiddenFiles=1)>
   - Names:
      {'container': <PloneSite at /cig>,
       'context': <PloneSite at /cig>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb7258b6c>,
       'here': <PloneSite at /cig>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb2f0deac>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb727bc2c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb2f0deac>,
       'request': <HTTPRequest, URL=http://s-wave.geodynamics.org:8081/cig/folder_contents>,
       'root': <Application at >,
       'template': <ZopePageTemplate at /cig/folder_contents>,
       'traverse_subpath': [],
       'user': <PloneUser 'WalterLandry'>}
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
   - __traceback_info__: here.batchedFolderContents(suppressHiddenFiles=1)
  Module Python expression "here.batchedFolderContents(suppressHiddenFiles=1)", line 1, in <expression>
AttributeError: batchedFolderContents

deesto | 4 Jan 21:36
Picon
Gravatar

dealing with default site objects after upgrades


By default, Plone v2.x sites contain objects that, when migrated to v3, seem
to be untouched by the migration process.  These objects include the
ATContentTypes tool, which I have found to be critical in replacing when
migrating sites: if I don't remove this object and replace it with an
updated ATContentTypes tool object, unless the migrated site contains little
or no content, the migration fails.

Many other seemingly important objects also go untouched, including
archetype_tool, mimetypes_registry, uid_catalog, etc.

This even seems to be true in the Zope root in the ZMI: objects such as
Browser Id Manafer, Session Data Manager, the VHM, and a bunch of
"standard_*" templates exist from the previous version.

First: should site admins be concerned about this at all, since the migrated
sites seem to function okay anyway?

And if so, what v2 objects are recommended to be removed, replaced, etc.,
both from within Plone sites and at the Zope root?

--

-- 
View this message in context: http://www.nabble.com/dealing-with-default-site-objects-after-upgrades-tp14624381s15482p14624381.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Andrew D. Fields | 4 Jan 22:04

Workflow worklist import error

Using ArchGenXML 2.0beta6 I created a workflow called: propmgmt_ru_workflow.

For the most part, it has been a fairly simple process, until I tried to create a Worklist for my workflow.

 

The documentation states:

                You can add more than one state to a worklist, just by specifying the same name for the worklist tagged value.

 

I tried that adding 5 states to one worklist, named: reviewer_queue.

Here is the XML that got generated for that in my definistion.xml file:

<worklist worklist_id="reviewer_queue" title="reviewer_queue">

  <action url="%(portal_url)s/search?review_state=pending_prepwork&review_state=pending_maint&review_state=pending_cleaning&review_state=pending_condition_review&review_state=appreview_hold"

          category="global">Pending reviewer_queue</action>

  <guard>

   <guard-permission>Review portal content</guard-permission>

  </guard>

  <match name="review_state" values="pending_prepwork"/>

  <match name="review_state" values="pending_maint"/>

  <match name="review_state" values="pending_cleaning"/>

  <match name="review_state" values="pending_condition_review"/>

  <match name="review_state" values="appreview_hold"/>

 </worklist>

 

There are a couple of issues with that XML:

1)       The “=” in “review_state=pending” causes this error when I try to import the workflow:

  Module Products.DCWorkflow.exportimport, line 60, in _importBody

  Module Products.DCWorkflow.exportimport, line 150, in parseWorkflowXML

  Module xml.dom.minidom, line 1925, in parseString

  Module xml.dom.expatbuilder, line 940, in parseString

  Module xml.dom.expatbuilder, line 223, in parseString

ExpatError: not well-formed (invalid token): line 361, column 79

2)       If I fix the above (by stripping out the offending “=”). The “match name=” entries don’t seem to have any effect on the “Cataloged variable matches” value.  What it *should* do, is generate a “;” delimited list as in: “pending_prepwork;pending_maint;pending_cleaning;pending_condition_review;appreview_hold”.  Instead, I just get “appreview_hold”  In other words, it ignores the first entries and just sets the “Cataloged variable matches” value to the last entry in the list.

 

So, my questions are:

1)       Is this a bug?

2)       Am I doing something wrong?

3)       For the first issue, what is the correct XML? It looks like the code that generates that line is in WorkflowGenerator.py – if so, I can easily update that and get the code mods to whoever is in charge of that (that code is in ArchGenXML).  Do I need to wrap that in a [CDATA] (since it has embedded “=” symbols)?

4)       Can someone tell me what the correct XML is for importing the “match name=” entries so they update the “Cataloged variable matches” correct?  Or direct me to the code that does that so I can look at it and figure it out that way.

 

I realize this crosses both GenericSetup as well as ArchGenXML but I can’t fix ArchGenXML’s output until I know what GenericSetup expects as input.

 

Plone 3.0.3

--- Best Regards,

Andrew D. Fields
American Village Corp.

Andrew-1aaGRvPkRzjzs492ZWNkEA@public.gmane.org
V: 503.362.0005 x102
F: 503.362.0007
7585 State St.  - Salem, OR - 97317

 


Gmane