Error while installing ERPNext app on bench in dockerized development set up AttributeError: 'NoneType' object has no attribute 'options'

I’m not able to replicate this.

  • if bench is init without specifying --frappe-branch it installs frappe on develop branch. refer: bench init --help
  • if get-app doesn’t specify --branch it gets develop branch. refer bench get-app --help
  • both frappe and erpnext must be on branch with same name. e.g. version-12

edit .devcontainers/docker-compose.yml. you need to publish mariadb ports to host.
If on windows and using docker-machine, you will need to find out how to connect mysql workbench to docker machine instead of localhost

1 Like