[Community-desktop] problem with desktop always asking forlogindetails when already in...

michael nt milne michael.milne at gmail.com
Tue Oct 31 09:01:40 CST 2006


After logging for unauthorised was switched on I am getting these errors.
The user can see the folder stucture in the site and can also log in using
the browser and create content there.

Traceback (innermost last):
  Module ZPublisher.Publish, line 114, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 40, in call_object
  Module Products.DavPack, line 132, in PUT
  Module Products.CMFCore.PortalFolder, line 390, in PUT_factory
  Module Products.ATContentTypes.lib.constraintypes, line 291, in
invokeFactory
Unauthorized: Disallowed subobject type: File

Traceback (innermost last):
  Module ZPublisher.Publish, line 114, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 40, in call_object
  Module Products.DavPack, line 132, in PUT
  Module Products.CMFCore.PortalFolder, line 390, in PUT_factory
  Module Products.ATContentTypes.lib.constraintypes, line 291, in invokeFactory
Unauthorized: Disallowed subobject type: Image

Traceback (innermost last):
  Module ZPublisher.Publish, line 105, in publish
  Module ZPublisher.BaseRequest, line 461, in traverse
  Module ZPublisher.HTTPResponse, line 685, in unauthorized
Unauthorized: <strong>You are not authorized to access this resource.</strong>



On 10/31/06, michael nt milne <michael.milne at gmail.com> wrote:
>
> I don't get an error in the event log but I notice this in the Plone site
> browser error log. I tried to add a PloneExFile through Enfold and have this
> working on my laptop. I can add an ExFile using the browser. I changed the
> settings in content_type registry under application and changed this to file
> to make it work on my laptop. However on the server I had to create the
> application predicate which was strange. It wasn't there already. By the
> way, if I try and copy a word doc into a PloneArticle folder it works but
> doesn't go across as an ExFile, just a normal file. I have turned of
> unauthorised now to try and capture more information.
>
> Thanks
>
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 114, in publish
>   Module ZPublisher.mapply, line 88, in mapply
>   Module ZPublisher.Publish, line 40, in call_object
>   Module Products.CMFFormController.FSControllerPageTemplate
> , line 102, in __call__
>   Module Products.CMFFormController.BaseControllerPageTemplate, line 46, in _call
>   Module Shared.DC.Scripts.Bindings, line 311, in __call__
>   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>
>   Module Products.CMFCore.FSPageTemplate, line 195, in _exec
>   Module Products.CacheSetup.patch_cmf, line 18, in FSPT_pt_render
>   Module Products.CacheSetup.patch_utils, line 9, in call_pattern
>   Module Products.CMFCore.FSPageTemplate
> , line 134, in pt_render
>   Module Products.CacheSetup.patch_cmf, line 56, in PT_pt_render
>   Module Products.CacheSetup.patch_utils, line 9, in call_pattern
>   Module Products.PageTemplates.PageTemplate, line 104, in pt_render
>
>    - <FSControllerPageTemplate at //attachmentfield_prefs_form used for //home>
>   Module TAL.TALInterpreter, line 206, in __call__
>   Module TAL.TALInterpreter, line 250, in interpret
>   Module Products.CacheSetup.patch_interpreter
> , line 81, in do_useMacro
>   Module TAL.TALInterpreter, line 250, in interpret
>   Module TAL.TALInterpreter, line 426, in do_optTag_tal
>   Module TAL.TALInterpreter, line 411, in do_optTag
>   Module TAL.TALInterpreter
> , line 406, in no_tag
>   Module TAL.TALInterpreter, line 250, in interpret
>   Module Products.CacheSetup.patch_interpreter, line 81, in do_useMacro
>   Module TAL.TALInterpreter, line 250, in interpret
>   Module TAL.TALInterpreter
> , line 426, in do_optTag_tal
>   Module TAL.TALInterpreter, line 411, in do_optTag
>   Module TAL.TALInterpreter, line 406, in no_tag
>   Module TAL.TALInterpreter, line 250, in interpret
>   Module TAL.TALInterpreter
> , line 734, in do_defineSlot
>   Module TAL.TALInterpreter, line 250, in interpret
>   Module TAL.TALInterpreter, line 426, in do_optTag_tal
>   Module TAL.TALInterpreter, line 411, in do_optTag
>   Module TAL.TALInterpreter
> , line 406, in no_tag
>   Module TAL.TALInterpreter, line 250, in interpret
>   Module TAL.TALInterpreter, line 742, in do_defineSlot
>   Module TAL.TALInterpreter, line 250, in interpret
>   Module TAL.TALInterpreter
> , line 426, in do_optTag_tal
>   Module TAL.TALInterpreter, line 411, in do_optTag
>   Module TAL.TALInterpreter, line 406, in no_tag
>   Module TAL.TALInterpreter, line 250, in interpret
>   Module Products.CacheSetup.patch_interpreter
> , line 81, in do_useMacro
>   Module TAL.TALInterpreter, line 250, in interpret
>   Module TAL.TALInterpreter, line 734, in do_defineSlot
>   Module TAL.TALInterpreter, line 250, in interpret
>   Module TAL.TALInterpreter
> , line 426, in do_optTag_tal
>   Module TAL.TALInterpreter, line 411, in do_optTag
>   Module TAL.TALInterpreter, line 406, in no_tag
>   Module TAL.TALInterpreter, line 250, in interpret
>   Module TAL.TALInterpreter
> , line 734, in do_defineSlot
>   Module TAL.TALInterpreter, line 250, in interpret
>   Module TAL.TALInterpreter, line 651, in do_loop_tal
>   Module Products.PageTemplates.TALES, line 206, in setRepeat
>   Module Products.PageTemplates.TALES
> , line 221, in evaluate
>    - URL: file:AttachmentField/skins/attachmentfield/attachmentfield_prefs_form.cpt
>    - Line 167, Column 16
>    - Expression: standard:'atool/listHandlerValues'
>    - Names:
>       {'container': <PloneSite at />,
>
>        'context': <ATFolder at //home>,
>        'default': <Products.PageTemplates.TALES.Default instance at 0x011AEE68>,
>        'here': <ATFolder at //home>,
>        'loop': <Products.PageTemplates.TALES.SafeMapping
>  object at 0x108FD990>,
>        'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x011A5030>,
>        'nothing': None,
>        'options': {'args': (),
>                    'state': <
> Products.CMFFormController.ControllerState.ControllerState object at 0x108A4DD0>},
>        'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x108FD990>,
>        'request': <HTTPRequest, URL=
> https:///attachmentfield_prefs_form>,
>        'root': <Application at >,
>        'template': <FSControllerPageTemplate at //attachmentfield_prefs_form used for //home>,
>        'traverse_subpath': [],
>
>        'user': }
>   Module Products.PageTemplates.Expressions, line 185, in __call__
>   Module Products.PageTemplates.Expressions, line 180, in _eval
>   Module Products.PageTemplates.Expressions, line 85, in render
>
>   Module Products.AttachmentField.AttachmentService, line 144, in listHandlerValues
>   Module Products.AttachmentField.AttachmentHandler, line 571, in getGUIIndexProgramCommand
> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
>
>
>
>
> On 10/30/06, Chris Johnson <chris at enfoldsystems.com> wrote:
> >
> >  Michael:
> >
> >
> >
> > Are you seeing error in the plone event.log.
> >
> >
> >
> > Also you may need to go to the plone  error_log tool and remove
> > unauthorized from the 'Ignored exception types' list. Then recreate the
> > issue.
> >
> >
> >
> > Also installing verbose security can help trouble shoot permissions
> > issues.
> >
> >
> >
> >
> >
> > regards,
> > Chris Johnson
> > Enfold Systems
> > http://www.enfoldsystems.com
> > Office +1 713 942 2377 ext 114
> > Fax +1 832 201 8856
> >   ------------------------------
> >
> > *From:* community-desktop-bounces at lists.enfoldsystems.com [mailto:
> > community-desktop-bounces at lists.enfoldsystems.com] * On Behalf Of *michael
> > nt milne
> > *Sent:* Monday, October 30, 2006 12:08 PM
> > *To:* community-desktop at lists.enfoldsystems.com
> > *Subject:* Re: [Community-desktop] problem with desktop always asking
> > forlogindetails when already in...
> >
> >
> >
> > Hi
> >
> > No further advice on this at all?
> >
> > On 10/27/06, *michael nt milne* <michael.milne at gmail.com> wrote:
> >
> > Hi-Thanks for the reply. I'm using the general login to the ZMI pass
> > which I can create content with on the site through the browser.
> >
> > On 10/27/06, mark at enfoldsystems.com <mark at enfoldsystems.com> wrote:
> > > This generally means that the username you specified does not have
> > > permission to create items.  Unfortunately, Plone doesn't always
> > correctly
> > > differentiate between 'unauthorized' and 'forbidden' and ED prompts
> > for
> > > credentials whenever 'unauthorized' is returned.
> > >
> > > Hopefully an enfold staffer more knowledgable than me in such matters
> > will
> > > also follow up and let you know how to actually resolve it.
> > >
> > > Cheers,
> > >
> > > Mark
> > >   -----Original Message-----
> > >   From: community-desktop-bounces at lists.enfoldsystems.com
> > > [mailto: community-desktop-bounces at lists.enfoldsystems.com]On Behalf
> > Of
> > > michael nt milne
> > >   Sent: Friday, 27 October 2006 2:25 AM
> > >   To: community-desktop at lists.enfoldsystems.com
> > >   Subject: [Community-desktop] problem with desktop always asking for
> > > logindetails when already in...
> > >
> > >
> > >   Hi
> > >
> > >   I'm using the latest versions of Enfold Desktop on Plone 2.1.3 and
> > Zope
> > > 2.8.7.
> > >
> > >   I've got a session set up to access my Plone site and it lists all
> > the
> > > folders etc and lets me edit content, change folder names etc. However
> > when
> > > I try and copy across images or files I keep getting the login and
> > password
> > > box coming up with my details already entered. When I click ok nothing
> > > happens and the box just comes up again and again. In the background
> > it
> > > looks like the file is about to be copied across but this doesn't
> > happen.
> > >
> > >   Any ideas?
> > >
> > >   Thanks
> > >
> > >   --
> > >   michael
> > >
> > >
> >
> >
> > --
> > michael
> >
> >
> >
> >
> > --
> > michael
> >
>
>
>
> --
> michael




-- 
michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.enfoldsystems.com/pipermail/community-desktop/attachments/20061031/efae0803/attachment-0051.htm 


More information about the Community-desktop mailing list