AW: [Zope-CMF] CMFCalendar_02b -- Cannot find default view

Damir Bartakovic damir@stud.fbi.fh-darmstadt.de
Wed, 13 Feb 2002 12:46:34 +0100


Hmm, don't know what's wrong.
I made a fresh Zope 2.5 installation and only added CMF 1.2 and still the
same problem.

So i tried to get the CVS version. I followed the INSTALL_CVS.txt.

cvs -d :pserver:anonymous@cvs.zope.org:/cvs-repository login
Logging in to :pserver:anonymous@cvs.zope.org:2401/cvs-repository
CVS password:

and get
***
cvs login: failed to open /root/.cvspass for reading: No such file or
directory
cvs [login aborted]: fatal error: exiting
***
I never used CVS before so I don't know is that a problem with me or with
the Zope CVS Server?
I used "ananymous" as password.

Anyway,
***
cvs -d :pserver:anonymous@cvs.zope.org:/cvs-repository \
       checkout -d CMF-head CMF
***
worked and I get all the directories in CMF-head. This ones I copied in m=
y
Products directory and restarted Zope and *aaaaaaahhhhhhh* still the same
problem.

Did you tried it with Zope 2.5 ? I really don't have an idea anymore wher=
e
the problem could be.
I didn't installed ZPT but this is default with 2.5.
What I am doing is creating an event and going on view.
So ideas?

Traceback (innermost last):
  File /usr/local/Zope-2.5.0_2/lib/python/ZPublisher/Publish.py, line 150=
,
in publish_module
  File /usr/local/Zope-2.5.0_2/lib/python/ZPublisher/Publish.py, line 114=
,
in publish
  File /usr/local/Zope-2.5.0_2/lib/python/Zope/__init__.py, line 158, in
zpublisher_exception_hook
    (Object: abc)
  File /usr/local/Zope-2.5.0_2/lib/python/ZPublisher/Publish.py, line 98,=
 in
publish
  File /usr/local/Zope-2.5.0_2/lib/python/ZPublisher/mapply.py, line 88, =
in
mapply
    (Object: view)
  File /usr/local/Zope-2.5.0_2/lib/python/ZPublisher/Publish.py, line 39,=
 in
call_object
    (Object: view)
  File /usr/local/Zope-2.5.0_2/lib/python/Products/CMFCore/PortalContent.=
py,
line 176, in view
    (Object: abc)
  File /usr/local/Zope-2.5.0_2/lib/python/Products/CMFCore/PortalContent.=
py,
line 163, in __call__
    (Object: abc)
  File /usr/local/Zope-2.5.0_2/lib/python/Products/CMFCore/utils.py, line
119, in _getViewFor
    (Object: abc)
Not Found: (see above)

thanks
Damir







-----Urspr=FCngliche Nachricht-----
Von: Andrew Sawyers [mailto:andrew@zope.com]
Gesendet: 12 February 2002 17:13
An: Damir Bartakovic; Danny Morgan; zope-cmf@zope.org
Betreff: RE: [Zope-CMF] CMFCalendar_02b -- Cannot find default view


Damir,
Try getting the latest release (CMF1.2 final); everything is updated in i=
t.
I believe the problem is that the zpt_calendar skin path wasn't in your
skins preferences; but I'm not sure.
I've had 0 problems on fresh installations from CVS, but prior to the 1.2
release I don't think the zpt skins were being installed by default due t=
o
CMFDecor not being in the CMF release.
Andrew

-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Damir Bartakovic
Sent: Thursday, February 07, 2002 6:09 AM
To: Danny Morgan; zope-cmf@zope.org
Subject: AW: [Zope-CMF] CMFCalendar_02b -- Cannot find default view


Hi Andrew, hi Morgan,

I have exactly the same problem on a Zope 2.5 with CMF 1.2beta installati=
on.
I checked "portal_types" --> Event --> Actions. There I have as Action
"event_view".
I found also event_view under portal_skins --> zpt_calendar.
I am already using ZPT for my Zope Site so this shouldn't be the problem.
Could anybody find a solution for that?


This has not that much to do with my problem but maybe the "Version.txt" =
of
the CMF Calendar and CMF itself should be updated, it can be quite confus=
ing
if you just download the latest version and an older version is mentioned=
 in
the file.

cheers
Damir


-----Urspr=FCngliche Nachricht-----
Von: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]Im Auftrag
von Andrew Sawyers
Gesendet: 07 January 2002 18:15
An: Danny Morgan; zope-cmf@zope.org
Betreff: RE: [Zope-CMF] CMFCalendar_02b -- Cannot find default view


Events are definately viewable outside of a calendar; with a Head checkou=
t
and 2.4.x it works properly;
I've not tested on 2.5; but doubt there's any issues with that.
Can you check in the types tool what's listed as the default view for an
Event?
It should have a view action or event_view.

Some documentation is available at:

http://cmf.zope.org/Members/andrew/projects/CMFCalendar

http://cmf.zope.org/Members/frankmc/UsingCalendarTag


Thanks,
Andrew

-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Danny Morgan
Sent: Monday, January 07, 2002 11:50 AM
To: zope-cmf@zope.org
Subject: [Zope-CMF] CMFCalendar_02b -- Cannot find default view


Within a cmf site I have added a CMF Event, mardigras; an error occurs wh=
en
I attempt to view it (both on my Win98/Zope2.5/CMF1.1 and on the setup at
mysite.zopesites.com)


My guess is that it is only meant to be displayed within a calendar, but =
I
have yet to find a calendar object to add. Clues? A pointer to documentat=
ion
that covers CMFCalendar?


Thanks,

Danny




=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Zope Error

Zope has encountered an error while publishing this resource.

Error Type: Not Found
Error Value: Cannot find default view for "/anthill/mardigras"

Troubleshooting Suggestions

    * The URL may be incorrect.
    * The parameters passed to this resource may be incorrect.
    * A resource that this resource relies on may be encountering an erro=
r.

For more detailed information about the error, please refer to the HTML
source for this page.

If the error persists please contact the site maintainer. Thank you for y=
our
patience.

Traceback (innermost last):
  File C:\streamgardens\lib\python\ZPublisher\Publish.py, line 151, in
publish_module
  File C:\streamgardens\lib\python\ZPublisher\Publish.py, line 115, in
publish
  File C:\streamgardens\lib\python\Zope\__init__.py, line 158, in
zpublisher_exception_hook
    (Object: mardigras)
  File C:\streamgardens\lib\python\ZPublisher\Publish.py, line 99, in
publish
  File C:\streamgardens\lib\python\ZPublisher\mapply.py, line 88, in mapp=
ly
    (Object: view)
  File C:\streamgardens\lib\python\ZPublisher\Publish.py, line 40, in
call_object
    (Object: view)
  File C:\a_streamgarden\lib\python\Products\CMFCore\PortalContent.py, li=
ne
247, in view
    (Object: mardigras)
  File C:\a_streamgarden\lib\python\Products\CMFCore\PortalContent.py, li=
ne
234, in __call__
    (Object: mardigras)
  File C:\a_streamgarden\lib\python\Products\CMFCore\PortalContent.py, li=
ne
227, in _getDefaultView
    (Object: mardigras)
Not Found: (see above)




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf

See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests


_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf

See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests



_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf

See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests