-
Notifications
You must be signed in to change notification settings - Fork 205
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
Cannot See Item webpage after installation #1126
Comments
I got similar issue. The reproduce step like following.
and I checked DB lock log. it like following. | Type | Name | Status 2023-04-26 09:02:15 0x7f6e5931c640 INNODB MONITOR OUTPUT Per second averages calculated from the last 12 seconds BACKGROUND THREAD srv_master_thread loops: 0 srv_active, 0 srv_shutdown, 1928096 srv_idle SEMAPHORES LATEST DETECTED DEADLOCK 2023-04-26 08:52:55 0x7f6e592d1640 *** CONFLICTING WITH: RECORD LOCKS space id 471 page no 3 n bits 16 index PRIMARY of table *** (2) TRANSACTION: RECORD LOCKS space id 471 page no 3 n bits 16 index PRIMARY of table *** WE ROLL BACK TRANSACTION (1) TRANSACTIONS Trx id counter 247619 FILE I/O Pending flushes (fsync) log: 0; buffer pool: 0 INSERT BUFFER AND ADAPTIVE HASH INDEX Ibuf: size 1, free list len 0, seg size 2, 0 merges
|
I am on v-14 latest with helpdesk installed.
I have created a website item and when I click on "See on website" button from the sidebar to see how the item looks like, I get the following error
Traceback (most recent call last):
File "apps/frappe/frappe/website/serve.py", line 18, in get_response
response = renderer_instance.render()
File "apps/frappe/frappe/website/page_renderers/document_page.py", line 52, in render
html = self.get_html()
File "apps/frappe/frappe/website/utils.py", line 510, in cache_html_decorator
html = func(*args, **kwargs)
File "apps/frappe/frappe/website/page_renderers/document_page.py", line 61, in get_html
self.update_context()
File "apps/frappe/frappe/website/page_renderers/document_page.py", line 77, in update_context
ret = self.doc.get_context(self.context)
File "apps/erpnext/erpnext/e_commerce/doctype/website_item/website_item.py", line 225, in get_context
self.set_shopping_cart_data(context)
File "apps/erpnext/erpnext/e_commerce/doctype/website_item/website_item.py", line 314, in set_shopping_cart_data
context.shopping_cart = get_product_info_for_website(
File "apps/erpnext/erpnext/e_commerce/shopping_cart/product_info.py", line 34, in get_product_info_for_website
else _set_price_list(cart_settings, None)
File "apps/erpnext/erpnext/e_commerce/shopping_cart/cart.py", line 439, in _set_price_list
party_name = quotation.get("party_name") if quotation else get_party().get("name")
File "apps/erpnext/erpnext/e_commerce/shopping_cart/cart.py", line 530, in get_party
contact.insert(ignore_permissions=True)
File "apps/frappe/frappe/model/document.py", line 276, in insert
self.run_method("after_insert")
File "apps/frappe/frappe/model/document.py", line 914, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1264, in composer
return composed(self, method, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1248, in runner
add_to_return_value(self, f(self, method, *args, **kwargs))
File "apps/helpdesk/helpdesk/helpdesk/doctype/hd_customer/hd_customer.py", line 24, in get_contact_count
customer = frappe.get_doc("HD Customer", doc.links[0].link_name)
File "apps/frappe/frappe/init.py", line 1184, in get_doc
doc = frappe.model.document.get_doc(*args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 74, in get_doc
return controller(*args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 106, in init
self.load_from_db()
File "apps/frappe/frappe/model/document.py", line 149, in load_from_db
frappe.throw(
File "apps/frappe/frappe/init.py", line 525, in throw
msgprint(
File "apps/frappe/frappe/init.py", line 493, in msgprint
_raise_exception()
File "apps/frappe/frappe/init.py", line 442, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.DoesNotExistError: HD Customer Apoorv Soral not found
The text was updated successfully, but these errors were encountered: