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

Document for Customer Portal doesn't work #240

Open
huembw opened this issue May 18, 2024 · 3 comments
Open

Document for Customer Portal doesn't work #240

huembw opened this issue May 18, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@huembw
Copy link

huembw commented May 18, 2024

Information about bug

Traceback (most recent call last):
  File "apps/frappe/frappe/website/serve.py", line 20, in get_response
    response = renderer_instance.render()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/wiki/wiki/wiki/doctype/wiki_page/wiki_renderer.py", line 45, in render
    html = self.get_html()
           ^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/website/utils.py", line 521, in cache_html_decorator
    html = func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/website/page_renderers/document_page.py", line 50, in get_html
    self.update_context()
  File "apps/frappe/frappe/website/page_renderers/document_page.py", line 65, in update_context
    ret = self.doc.get_context(self.context)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/wiki/wiki/wiki/doctype/wiki_page/wiki_page.py", line 218, in get_context
    wiki_space = frappe.get_doc("Wiki Space", wiki_space_name)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/__init__.py", line 1373, in get_doc
    doc = frappe.model.document.get_doc(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/model/document.py", line 87, in get_doc
    return controller(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/model/document.py", line 128, in __init__
    self.load_from_db()
  File "apps/frappe/frappe/model/document.py", line 174, in load_from_db
    frappe.throw(
  File "apps/frappe/frappe/__init__.py", line 681, in throw
    msgprint(
  File "apps/frappe/frappe/__init__.py", line 646, in msgprint
    _raise_exception()
  File "apps/frappe/frappe/__init__.py", line 597, in _raise_exception
    raise exc
frappe.exceptions.DoesNotExistError: Wiki Space None not found

Module

other

Version

15

Installation method

None

Relevant log output / Stack trace / Full Error Message.

No response

@huembw huembw added the bug Something isn't working label May 18, 2024
@Nihantra-Patel Nihantra-Patel transferred this issue from frappe/erpnext May 20, 2024
@wojosc
Copy link

wojosc commented May 28, 2024

running into same issue after fresh install

ERPNext: v15.25.0 (HEAD)

Frappe Framework: v15.28.0 (HEAD)

Wiki: v2.0.0 (HEAD)

@wojosc
Copy link

wojosc commented May 28, 2024

just found out that creating Wiki Pages in frappe works a little different than usual...
use_wiki

@huembw
Copy link
Author

huembw commented Jun 1, 2024

Not very relevant to that topic, but the toolbox of editing content is placed at the top of page. That's more convenient than its position on app Gameplan
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants