Re: [Zope3-Users] MessageBoard tutorial deprecation warnings

2005-11-02 Thread Brad Allen

I think stateful workflow is no longer supported in zope3.

this is a disscusion about stateful workflow.
http://mail.zope.org/pipermail/zope3-dev/2005-October/015997.html


Thanks. Ok, then I will skip the chapter "Approval Workflow for Messages".

I now realize that trying to implement "step13" from SVN was a mistake,
resulting from my confusion about how the "step" directories correlate
with the tutorials in the Zope 3 Developer's Guide.  I made the mistake
of focusing all my attention on just Chapter 13, and not looking
ahead to see that Chapter 14 correlates to "step2" in SVN.
I thought that the "steps" listed within Chapter 13 correlated with
the "step" directories in SVN, and was puzzled when things seemed
not to quite match up.

Now, back to "step1" in the SVN...

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] MessageBoard tutorial deprecation warnings

2005-11-02 Thread Simon Hang
Hi Brad,

You need to install the workflow add-on package for zope3 and try again. URL as below:
http://www.zope.org/Products/Zope3-Packages
Deprecation Warnings are only warning. The code won't break because of warnings.

Cheers,
Simon
On 10/31/05, Brad Allen <[EMAIL PROTECTED]> wrote:
The messageboard tutorial in the Zope 3 Developer's Handbookdoesn't seem to work for me. I'm using the copy fromsvn co svn://svn.zope.org/repos/main/book/trunk
The SVN url listed in the book didn't work, but I'm notsure this is the right one.Anyway, I'm using the "step13" folder, and when I registeredit with my Zope 3.1 instance on Ubuntu, and run Zope, I get
the following in my transcript.log:ConfigurationError: ('Invalid value for', 'interface', "Couldn'timport zope.app.workflow.interfaces, No module named workflow.interfacesin zope.app.workflow.interfaces.IProcessInstanceContainerAdaptable
")I wanted to see more detail on that error, so I imported the offendingmodule at the Python interactive prompt. Along the way severaldeprecation warnings cropped up (see below). Is there a newerversion of this tutorial I'm missing out on, or should I spend
some time trying to clean this up?Thanks![EMAIL PROTECTED]:/var/lib/zope3/instance/sandbox/lib/python$ pythonPython 2.4.2 (#2, Sep 30 2005, 21:19:01)[GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8
)] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import book.messageboard.browser.messageboardbook/messageboard/browser/messageboard.py:22: DeprecationWarning:
ActiveStatus: ActiveStatus is now available inzope.app.component.interfaces.registration. Will be gone in X3.3.  from zope.app.registration.interfaces import ActiveStatusbook/messageboard/browser/messageboard.py:23: DeprecationWarning: ISite:
This interface has been moved to zope.app.component.interfaces. Thereference will be gone in X3.3.  from zope.app.site.interfaces import ISitebook/messageboard/browser/messageboard.py:24: DeprecationWarning:
SiteManager: This class has been moved to zope.app.component.site. Thereference will be gone in X3.3.  from zope.app.site.service import SiteManager, ServiceRegistrationbook/messageboard/browser/messageboard.py:24: DeprecationWarning:
ServiceRegistration: The concept of services has been removed. Useutilities instead. The reference will be gone in X3.3.  from zope.app.site.service import SiteManager, ServiceRegistrationbook/messageboard/browser/messageboard.py:25: DeprecationWarning:
LocalUtilityService: Services have been removed. Use site manager API.The reference will be gone in X3.3.  from zope.app.utility.utility import LocalUtilityService,UtilityRegistrationbook/messageboard/browser/messageboard.py:25: DeprecationWarning:
UtilityRegistration: This class has been moved tozope.app.component.site. The reference will be gone in X3.3.  from zope.app.utility.utility import LocalUtilityService,UtilityRegistrationTraceback (most recent call last):
  File "", line 1, in ?  File "book/messageboard/browser/messageboard.py", line 26, in ?from zope.app.workflow.interfaces importIProcessDefinitionImportHandlerImportError: No module named 
workflow.interfaces>>>___Zope3-users mailing listZope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] MessageBoard tutorial deprecation warnings

2005-11-02 Thread TAHARA Yusei
Hello.

At Mon, 31 Oct 2005 00:53:08 -0600,
Brad Allen wrote:
> 
> 
> The messageboard tutorial in the Zope 3 Developer's Handbook
> doesn't seem to work for me. I'm using the copy from 
> 
> svn co svn://svn.zope.org/repos/main/book/trunk
> 
> The SVN url listed in the book didn't work, but I'm not
> sure this is the right one. 
> 
> Anyway, I'm using the "step13" folder, and when I registered
> it with my Zope 3.1 instance on Ubuntu, and run Zope, I get
> the following in my transcript.log:
> 
> ConfigurationError: ('Invalid value for', 'interface', "Couldn't
> import zope.app.workflow.interfaces, No module named workflow.interfaces
> in zope.app.workflow.interfaces.IProcessInstanceContainerAdaptable")
> 
> I wanted to see more detail on that error, so I imported the offending
> module at the Python interactive prompt. Along the way several
> deprecation warnings cropped up (see below). Is there a newer
> version of this tutorial I'm missing out on, or should I spend
> some time trying to clean this up?

I think stateful workflow is no longer supported in zope3.

this is a disscusion about stateful workflow.
http://mail.zope.org/pipermail/zope3-dev/2005-October/015997.html

Best Regards,
--
Tahara Yusei
[EMAIL PROTECTED]

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users