[Zope] Installing NEOBoard

Adam Getchell AdamG@hrrm.ucdavis.edu
Wed, 6 Nov 2002 18:20:13 -0800


Hello all,

Sorry, I just re-read the trace and saw I had identical products in
different directories (back from when I was trying to figure out where
NEOBoard needed to be installed).

So, I removed ActivePak, CMFPlone, DCWorkflow, and Formulator from
/home/zope/Products and restarted Zope.

I read the traceback some more, saw that it was looking for the
CachingPolicyManager module (file).

So (I know this is a horrible hack), I downloaded CMF-1.3, and copied
CachingPolicyManager.py to /usr/local/lib/zope/lib/python/Products/CMFCore,
restarted, saw it was looking for CMFCore/interfaces/CachingPolicyManager
and copied that as well. This then lead to
Products.CMFCore.ActionProviderBase, ActionInformation, Expression, (which
fixed DCWorkFlow), until I got this traceback:

By now, I had a horrible mix of CMF1.2 and CMF1.3, so I just swapped in the
contents of CMF-1.3, and was pleasantly surprised to find it just worked!

So, I learned to:

1) Read the source
2) Upgrade CMF manually

NEOBoard still doesn't work though ;-)

Well, I find again the notes I make in preparation to asking a question
helps solve the question.

--Adam
 

-----Original Message-----
From: Adam Getchell [mailto:AdamG@hrrm.ucdavis.edu] 
Sent: Wednesday, November 06, 2002 5:28 PM
To: zope@zope.org
Cc: 'wankyu@neoqst.com'
Subject: RE: [Zope] Installing NEOBoard


I went back a little farther: I'm running CMF 1.2 and tried installing Plone
first (so I could retry the NeoBoard+Plone install) in:

/usr/local/lib/zope/lib/python/Products

These four folders for Plone:

ActivePak
CMFPlone
DCWorkflow
Formulator

ActivePak is broken, and gives this traceback:

Traceback (most recent call last):
  File
"/usr/ports/www/zope/w-zope-2.5.1p1/Zope-2.5.1-src/lib/python/OFS/Applicatio
n.py", line 531, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/home/zope/Products/ActivePak/__init__.py", line 2, in ?
    from Products.CMFPlone.PloneUtilities import log
  File "/home/zope/Products/CMFPlone/__init__.py", line 4, in ?
    from Products.CMFCore import CachingPolicyManager, DirectoryView, utils
ImportError: cannot import name CachingPolicyManager

DCWorkflow is broken, and gives this traceback:

Traceback (most recent call last):
  File
"/usr/ports/www/zope/w-zope-2.5.1p1/Zope-2.5.1-src/lib/python/OFS/Applicatio
n.py", line 531, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/home/zope/Products/DCWorkflow/__init__.py", line 19, in ?
    import DCWorkflow, States, Transitions, Variables, Worklists, Scripts
  File "/home/zope/Products/DCWorkflow/DCWorkflow.py", line 44, in ?
    from Transitions import TRIGGER_AUTOMATIC, TRIGGER_USER_ACTION, \
  File "/home/zope/Products/DCWorkflow/Transitions.py", line 29, in ?
    from Guard import Guard
  File "/home/zope/Products/DCWorkflow/Guard.py", line 27, in ?
    from Expression import Expression, StateChangeInfo, createExprContext
  File "/home/zope/Products/DCWorkflow/Expression.py", line 25, in ?
    from Products.CMFCore.Expression import Expression
ImportError: No module named Expression

Any suggestions for fixes?

Thanks,
-----Original Message-----
From: Adam Getchell [mailto:AdamG@hrrm.ucdavis.edu] 
Sent: Wednesday, November 06, 2002 1:59 PM
To: zope@zope.org
Cc: 'wankyu@neoqst.com'
Subject: [Zope] Installing NEOBoard


Hi all,

I have Zope 2.5.1 running on OpenBSD 3.1, with separate INSTANCE_HOME:

Zope Version
(Zope 2.5.1 (OpenBSD package zope-2.5.1p1) , python 2.1.2, openbsd3) Python
Version 2.1.2 (#1, Apr 12 2002, 18:58:54) [GCC 2.95.3 20010125 (prerelease)]
System Platform openbsd3 SOFTWARE_HOME /usr/local/lib/zope/lib/python
INSTANCE_HOME /home/zope CLIENT_HOME /home/zope/var 

This site currently hosts two other sites, so I know Zope is working.

I've placed the NeoBoard 1.1a folder in:

/usr/local/lib/zope/lib/python/Products
/home/zope/Products
/home/zope/Products/lib/python/Products

None of these locations gives me the NeoBoard or NeoBoard Skin Folder upon
restart. Where should it be installed?

***************************	
* Adam Getchell					AdamG@hrrm.ucdavis.edu
* System Architect/Programmer			(530) 752-1584
* Human Resources Information Systems	http://www.hr.ucdavis.edu/
***************************	
"Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu


_______________________________________________
Zope maillist  -  Zope@zope.org http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

_______________________________________________
Zope maillist  -  Zope@zope.org http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )