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

Quiqr Desktop (quiqr_0.17.14_linux_x86_64.AppImage) Sync-to-Folder fails #512

Open
jhardin-impsec opened this issue Oct 20, 2024 · 0 comments

Comments

@jhardin-impsec
Copy link

jhardin-impsec commented Oct 20, 2024

Quiqr Desktop (quiqr_0.17.14_linux_x86_64.AppImage) Sync-to-Folder fails using the Quiqr Community "Scroll" template with no changes when using Hugo 0.101.0+extended:

jhardin@davinci ~/appimages $ ./quiqr_0.17.14_linux_x86_64.AppImage 
console init
Sending serverDown.
Starting Hugo Server...

Sending serverLive.
Start building sites … 
hugo v0.101.0-466fa43c16709b4483689930a4f9ac8add5c9f66+extended linux/amd64 BuildDate=2022-06-16T07:09:16Z VendorInfo=gohugoio

                   | EN   
-------------------+------
  Pages            |   9  
  Paginator pages  |   0  
  Non-page files   |   0  
  Static files     | 116  
  Processed images |   0  
  Aliases          |   0  
  Sitemaps         |   1  
  Cleaned          |   0  

Built in 484 ms
Watching for changes in /home/jhardin/Quiqr/sites/quiqr-scroll-template-5330/main/{archetypes,assets,content,layouts,static,themes}
Watching for config changes in /home/jhardin/Quiqr/sites/quiqr-scroll-template-5330/main/config.toml
Environment: "development"
Serving pages from memory
Web Server is available at http://localhost:13131/ (bind address 127.0.0.1)
Press Ctrl+C to stop
(node:14038) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
START FOLDER SYNC
-----------------
  from is:     /home/jhardin/Quiqr/sites/quiqr-scroll-template-5330/main

  destination path:    /home/jhardin/websites/quiqr_scroll_template
  override BaseURL:    
-----------------

IPC_MAIN_FAIL: publisherDispatchAction {
  key: 'publisherDispatchActionResponse',
  token: '0b84c980-5820-b001-3af5-f33bf9253044',
  response: { error: 'Something went wrong.' }
}
START FOLDER SYNC
-----------------
  from is:     /home/jhardin/Quiqr/sites/quiqr-scroll-template-5330/main

  destination path:    /home/jhardin/websites/quiqr_scroll_template
  override BaseURL:    
-----------------

IPC_MAIN_FAIL: publisherDispatchAction {
  key: 'publisherDispatchActionResponse',
  token: 'e3151e8b-0c83-feb1-6224-ef06dad9ccb5',
  response: { error: 'Something went wrong.' }
}
START FOLDER SYNC
-----------------
  from is:     /home/jhardin/Quiqr/sites/quiqr-scroll-template-5330/main

  destination path:    /home/jhardin/websites/quiqr_scroll_template
  override BaseURL:    
-----------------

IPC_MAIN_FAIL: publisherDispatchAction {
  key: 'publisherDispatchActionResponse',
  token: 'a7925f9f-ad16-2430-5a23-12ebd4319bc7',
  response: { error: 'Something went wrong.' }
}

Reverting to Hugo 0.88.0 base (the default, I was trying the latest version the Quiqr template import UI allowed) does not fix it:

jhardin@davinci ~/appimages $ ./quiqr_0.17.14_linux_x86_64.AppImage 
console init
Sending serverDown.
Starting Hugo Server...

Sending serverLive.
hugo v0.88.0-ACC5EB5B linux/amd64 BuildDate=2021-09-02T09:27:28Z VendorInfo=gohugoio

                   | EN   
-------------------+------
  Pages            |   9  
  Paginator pages  |   0  
  Non-page files   |   0  
  Static files     | 116  
  Processed images |   0  
  Aliases          |   0  
  Sitemaps         |   1  
  Cleaned          |   0  

Built in 434 ms
Watching for changes in /home/jhardin/Quiqr/sites/quiqr-scroll-template-5330/main/{archetypes,assets,content,layouts,static,themes}
Watching for config changes in /home/jhardin/Quiqr/sites/quiqr-scroll-template-5330/main/config.toml
Environment: "development"
Serving pages from memory
Web Server is available at http://localhost:13131/ (bind address 127.0.0.1)
Press Ctrl+C to stop
START FOLDER SYNC
-----------------
  from is:     /home/jhardin/Quiqr/sites/quiqr-scroll-template-5330/main

  destination path:    /home/jhardin/websites/quiqr_scroll_template
  override BaseURL:    
-----------------

IPC_MAIN_FAIL: publisherDispatchAction {
  key: 'publisherDispatchActionResponse',
  token: '5e06a277-2aca-f37a-7fa8-16cb1ede4be2',
  response: { error: 'Something went wrong.' }
}
START FOLDER SYNC
-----------------
  from is:     /home/jhardin/Quiqr/sites/quiqr-scroll-template-5330/main

  destination path:    /home/jhardin/websites/quiqr_scroll_template
  override BaseURL:    
-----------------

IPC_MAIN_FAIL: publisherDispatchAction {
  key: 'publisherDispatchActionResponse',
  token: '9442291b-9601-d00e-598c-4e8920f704bb',
  response: { error: 'Something went wrong.' }
}

Manually publishing using Hugo extended_101 does appear to work, albeit with a warning:

jhardin@davinci ~/Quiqr/sites/quiqr-scroll-template-5330/main $ ~/Quiqr/tools/hugobin/extended_0.101.0/hugo --destination ~/websites/quiqr_scroll_template/
WARN 2024/10/20 11:18:40 Module "hugo-scroll" is not compatible with this Hugo version; run "hugo mod graph" for more information.
Start building sites … 
hugo v0.101.0-466fa43c16709b4483689930a4f9ac8add5c9f66+extended linux/amd64 BuildDate=2022-06-16T07:09:16Z VendorInfo=gohugoio

                   | EN   
-------------------+------
  Pages            |   9  
  Paginator pages  |   0  
  Non-page files   |   0  
  Static files     | 116  
  Processed images |   0  
  Aliases          |   0  
  Sitemaps         |   1  
  Cleaned          |   0  

Total in 542 ms
jhardin@davinci ~/Quiqr/sites/quiqr-scroll-template-5330/main $ ls -l ~/websites/quiqr_scroll_template/
total 64
-rw-r--r-- 1 jhardin jhardin  3520 Oct 20 11:18 404.html
drwxr-xr-x 2 jhardin jhardin  4096 Oct 20 11:18 css
-rw-r--r-- 1 jhardin jhardin 15406 Oct 20 10:45 favicon.ico
drwxr-xr-x 2 jhardin jhardin 12288 Oct 20 10:45 fonts
drwxr-xr-x 2 jhardin jhardin  4096 Oct 20 10:45 images
-rw-r--r-- 1 jhardin jhardin 10373 Oct 20 11:18 index.html
drwxr-xr-x 2 jhardin jhardin  4096 Oct 20 11:18 js
drwxr-xr-x 2 jhardin jhardin  4096 Oct 20 11:18 services
-rw-r--r-- 1 jhardin jhardin   284 Oct 20 11:18 sitemap.xml

N.B. Hugo 0.131.0+extended fails horribly, but I think there's already an issue open for that:

jhardin@davinci ~/Quiqr/sites/quiqr-scroll-template-5330/main $ ~/Quiqr/tools/hugobin/extended_0.131.0/hugo --destination ~/websites/quiqr_scroll_template/
Start building sites … 
hugo v0.131.0-bfbee17932ff24009008aa94cdd75c0c41f59279+extended linux/amd64 BuildDate=2024-08-02T09:03:48Z VendorInfo=gohugoio

ERROR render of "page" failed: "/home/jhardin/Quiqr/sites/quiqr-scroll-template-5330/main/themes/hugo-scroll/layouts/_default/baseof.html:3:6": execute of template failed: template: _default/single.html:3:6: executing "_default/single.html" at <partial "head.html" .>: error calling partial: execute of template failed: template: _internal/opengraph.html:38:9: executing "_internal/opengraph.html" at <partial "_funcs/get-page-images" .>: error calling partial: execute of template failed: template: partials/_funcs/get-page-images.html:22:10: executing "partials/_funcs/get-page-images.html" at <$imgParams>: range can't iterate over c
ERROR render of "home" failed: "/home/jhardin/Quiqr/sites/quiqr-scroll-template-5330/main/themes/hugo-scroll/layouts/_default/baseof.html:3:6": execute of template failed: template: index.html:3:6: executing "index.html" at <partial "head.html" .>: error calling partial: execute of template failed: template: _internal/opengraph.html:38:9: executing "_internal/opengraph.html" at <partial "_funcs/get-page-images" .>: error calling partial: execute of template failed: template: partials/_funcs/get-page-images.html:22:10: executing "partials/_funcs/get-page-images.html" at <$imgParams>: range can't iterate over c
Total in 605 ms
Error: error building site: render: failed to render pages: render of "404" failed: "/home/jhardin/Quiqr/sites/quiqr-scroll-template-5330/main/themes/hugo-scroll/layouts/_default/baseof.html:3:6": execute of template failed: template: 404.html:3:6: executing "404.html" at <partial "head.html" .>: error calling partial: execute of template failed: template: _internal/opengraph.html:38:9: executing "_internal/opengraph.html" at <partial "_funcs/get-page-images" .>: error calling partial: execute of template failed: template: partials/_funcs/get-page-images.html:22:10: executing "partials/_funcs/get-page-images.html" at <$imgParams>: range can't iterate over c
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