Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolving parent types file, fails when the name contains empty space #331

Closed
MrTango opened this issue Oct 19, 2018 · 0 comments
Closed

Comments

@MrTango
Copy link
Contributor

MrTango commented Oct 19, 2018


--> Content type name (Allowed: _ a-z A-Z and whitespace) [Todo Task]: Todo List Item

--> Content type description: A todo list item

--> Use XML Model [y]: 

--> Dexterity base class (Container/Item) [Container]: Item

--> Should the content type globally addable? [n]: 

--> Parent container name [my_parent_container_type]: Todo List

--> Create a content type class [y]: 

--> Activate default behaviors? [y]: n


Traceback (most recent call last):
  File "/home/maik/.local/bin/mrbob", line 11, in <module>
    sys.exit(main())
  File "/home/maik/.local/lib/python2.7/site-packages/mrbob/cli.py", line 175, in main
    c.render()
  File "/home/maik/.local/lib/python2.7/site-packages/mrbob/configurator.py", line 199, in render
    f(self)
  File "/home/maik/.local/lib/python2.7/site-packages/bobtemplates/plone/content_type.py", line 259, in post_renderer
    _update_ct_types_fti_xml(configurator)
  File "/home/maik/.local/lib/python2.7/site-packages/bobtemplates/plone/content_type.py", line 169, in _update_ct_types_fti_xml
    with open(file_path, 'r') as xml_file:
IOError: [Errno 2] No such file or directory: '/home/maik/develop/src/bobtemplates.plone/tmp/collective.todolist/src/collective/todolist/profiles/default/types/Todo List.xml'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant