Most Powerful Open Source ERP

officejs BootLoader gadget error in "nice editor" tutorial

  • Last Update:2020-06-08
  • Version:001
  • Language:en
1 - 6 of 6 records
Summary

Hi

I am following the tutorial 

https://www.erp5.com/documentation/P-OJS.Tutorial.OfficeJS.ERP5.Application

At the first stage there is reuqiement to create a website where value for the field "default pages" "officejs BootLoader Gadet" is set

Error is seen on making this setting (image attached).

In case of using the gear icon following error is seen

 

ERP5 / Web Sites / OfficeJS Nice Editor /

Logged In as : zope

 

Site Error

An error was encountered while publishing this resource.

Error Type: Unauthorized
Error Value: No accessible views available for '/erp5/portal_selections'


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 error.

For more detailed information about the error, please refer to the error log.

If the error persists please contact the site maintainer. Thank you for your patience.


Show Error Log Entry

 

Hello,

if the bootloader gadget can't be found this means that erp5_officejs bt is missing. You can automatically install this bt an all needed for the tutorial by using the OFFICEJS SDK configurator.

Please go to the favorites menu on top left of your ERP5 instance -> Configure your Site -> OFFICEJS SDK Configure. Then follow the steps and wait for the installation. This should solve your issue.

Regards,

Roque

Hello

It works after installation of the suggested BT

I didn't go through the configuration steps that you suggested as it was not found.

However, I think I am past the problem zone.

Cheers

Chetan

Hello

There is no "Add Web Section:" under "Action" although in the portal_type "Web Site" following are listed in the "Allowed Content Type"

File
Image
Role Definition
Static Web Section
Web Section

I have done one cycle of "erp5/ERP5Site_reindexAll" in the meantime.

Regards,

Chetan

At the stage of creating manifest, error is seen as in the attached image

 

Attachments:

On setting values for manifest URL following is seen

 

Site Error Log Site Error Log at  /erp5/error_log

Exception traceback

 

 

 

Time 2020/06/08 04:51:32.185692 UTC
User Name (User Id) zope (zope)
Request URL https://hostname/erp5/web_site_module/officejs_nice_editor/app/Base_createAppConfigurationManifest
Exception Type AttributeError
Exception Value 'NoneType' object has no attribute 'find'

Traceback (innermost last):

  • Module Products.ERP5Type.patches.WSGIPublisher, line 265, in transaction_pubevents
    yield
  • Module Products.ERP5Type.patches.WSGIPublisher, line 442, in publish_module
    response = _publish(request, new_mod_info)
  • Module Products.ERP5Type.patches.WSGIPublisher, line 375, in publish
    bind=1)
  • Module ZPublisher.mapply, line 77, in mapply
    if debug is not None: return debug(object,args,context)
  • Module Products.ERP5Type.Timeout, line 120, in deadlined_call_object
    return call_object(object, args, request)
  • Module ZPublisher.Publish, line 48, in call_object
    result=apply(object,args) # Type s<cr> to step into published object.
  • Module Products.ERP5Type.patches.PythonScript, line 179, in __call__
    return self._orig_bindAndExec(args, kw, None)
  • Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  • Module Products.PythonScripts.PythonScript, line 344, in _exec
    result = f(*args, **kw)
  • Module script, line 43, in Base_createAppConfigurationManifest
    <PythonScript at /erp5/Base_createAppConfigurationManifest used for /erp5/web_site_module/officejs_nice_editor/app>
    Line 43
    configuration_file_reference = getElementFromContent("configuration_manifest", router_content)
  • Module script, line 9, in getElementFromContent
    <PythonScript at /erp5/Base_createAppConfigurationManifest used for /erp5/web_site_module/officejs_nice_editor/app>
    Line 9
    start = content.find(before) + len(before)

AttributeError: 'NoneType' object has no attribute 'find'