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

Edit Print Design Document Blank Page #400

Open
ghulamostafa opened this issue Feb 3, 2025 · 0 comments
Open

Edit Print Design Document Blank Page #400

ghulamostafa opened this issue Feb 3, 2025 · 0 comments

Comments

@ghulamostafa
Copy link

I have installed print_designer 1.4.3 on ERPNext. When I try to edit any print format using the print_designer, it shows blank page. The console shows the following error:

Uncaught SyntaxError: expected expression, got '<'
    eval dom.js:33
    js assets.js:27
    eval_assets assets.js:82
    execute assets.js:111
    execute assets.js:109
    promise callback*execute assets.js:108
    require assets.js:15
    require assets.js:14
    load_print_designer print_designer.js:180
    on_page_show print_designer.js:10
    trigger_page_event pageview.js:106
    Page pageview.js:98
    jQuery 7
    change_to container.js:81
    show pageview.js:58
    with_page pageview.js:22
    show pageview.js:52
    with_doctype model.js:242
    show pageview.js:51
    render_page router.js:331
    render router.js:305
    route router.js:157
    push_state router.js:503
    set_route router.js:379
    set_route router.js:368
    set_route router.js:579
    primary_action print_designer.js:70
    set_primary_action dialog.js:192
    jQuery 8
    set_primary_action dialog.js:185
    make dialog.js:57
    <anonymous> dialog.js:17
    printDesignerDialog print_designer.js:14
    load_print_designer print_designer.js:203
    on_page_show print_designer.js:10
    trigger_page_event pageview.js:106
    Page pageview.js:98
    jQuery 7
    change_to container.js:81
    show pageview.js:58
    callback pageview.js:40
    e request.js:85
    200 request.js:133
    call request.js:305
    jQuery 3
[Property Valuation PrintDesign:1:1](https://mysite.dev/app/print-designer/Property%20Valuation%20PrintDesign)
Uncaught (in promise) TypeError: frappe.ui.PrintDesigner is not a constructor
    load_print_designer print_designer.js:181
    on_page_show print_designer.js:10
    trigger_page_event pageview.js:106
    Page pageview.js:98
    jQuery 7
    change_to container.js:81
    show pageview.js:58
    with_page pageview.js:22
    show pageview.js:52
    with_doctype model.js:242
    show pageview.js:51
    render_page router.js:331
    render router.js:305
    route router.js:157
    push_state router.js:503
    set_route router.js:379
    set_route router.js:368
    set_route router.js:579
    primary_action print_designer.js:70
    set_primary_action dialog.js:192
    jQuery 8
    set_primary_action dialog.js:185
    make dialog.js:57
    <anonymous> dialog.js:17
    printDesignerDialog print_designer.js:14
    load_print_designer print_designer.js:203
    on_page_show print_designer.js:10
    trigger_page_event pageview.js:106
    Page pageview.js:98
    jQuery 7
    change_to container.js:81
    show pageview.js:58
    callback pageview.js:40
    e request.js:85
    200 request.js:133
    call request.js:305
    jQuery 3

Could it be related to cache? I have run the bench --site all migrate command. I have restarted all of the containers as well. I have tried to clear the browser cache history also.

Also this is in the console with 404 with the URL https://mysite.dev/assets/print_designer/dist/js/print_designer.bundle.HOZH2B33.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant