Resolved: Bug in pp.connector.plone

There is a bug in

Since the issue tracker of the repo is not enabled I post it here.

Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 155, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 337, in publish_module
  Module ZPublisher.WSGIPublisher, line 255, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module Products.PDBDebugMode.wsgi_runcall, line 60, in pdb_runcall
  Module bgp.pp_customizations.browser.pdf, line 21, in __call__
  Module pp.client.plone.browser.pdf, line 176, in __call2__
  Module pp.client.plone.browser.pdf, line 85, in copyResourceFiles
AttributeError: 'function' object has no attribute 'files'.

In pp.client.plone.browser.pdf.ProducePublishView.copyResourceFiles the code fslayer.walk.files() needs to be fslayer.walkfiles()

Which "fs" version is used? I think you need to pin fs=0.5.4 (at least the latest before 1.0).

Thanks, pinning the current version (fs = 2.4.8) fixes it. 0.5.4 breaks, I guess it needs tio be at least 2.0.0. I copied a old version-pin by accident.

1 Like

oh, I ported it already to fs==2....could not recall that^^