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

Use TOC file in Namespace - Specified Depth errors -Finished but download failed #131

Open
rgleason opened this issue Jun 8, 2024 · 4 comments

Comments

@rgleason
Copy link

rgleason commented Jun 8, 2024

OpenCPN Basic User Manual
Entire Manual has been updated. We need to create portable User Manuals in epub, html & pdf.
We are using this Table of Contents in the namespace

This TOC has the following code using skipns to avoid writing all of the rest of the OpenCPN Manuals.

{{indexmenu>:opencpn:manual_basic#4|msort nsort nojs skipns=/(opencpn:manual_advanced|opencpn:manual_plugins|opencpn:user_community|opencpn:development_community|opencpn:development_manual|opencpn:editor_manual|opencpn:supplementary_hardware|opencpn:supplementary_software|opencpn:user_corner|opencpn:toc|opencpn:toc_manual_basic|opencpn:toc_manual_advanced)/}}

I have tried with the shorter more direct TOC code (without using skipns=) with similar results

{{indexmenu>:opencpn:manual_basic#4|msort nsort nojs}}

We navigate to this TOC and then select Admin in upper right, then Site Export.

  • Set Namespace: opencpn:manual_basic:toc
  • Parent Namespace: opencpn:manual_basic:toc
  • Export Type: This page only
  • Use TOC file in namespace checked
  • Render Engine: (Blank, xhtml, ckgedit, dw2pdf, epub, all work with "This page only")
  • Export Template: Dokuwiki
  • Disable all JS/CSS plugins checked (also unchecked works too)
  • All other checks are unchecked.

Selecting "This page only" works for us, creating epub, pdf and html.
Selecting "Specified depth" set as 1 or 2 (up to 5) results in "Finished but download failed."

We think we have tried everything to get this to build the manuals. Is it a new bug?
Do you have any suggestions?
If you need access I can provide it.

2016 Exporting Issue
2018 Exporting pages to Single Page Html with Indexmenu created TOC page
2018 Doluwiki Forum SiteExport & Dw2pdf updates - PDF creation for Offline Use
2018 Gamma reponse after review, towards resolution
2018 Gamma made a commit "Accept the output of indexmenu plugin as TOC"
2018 Bug: "All sub namespaces" - Processes totally independent from the chosen parent namespace #95
2018 Remove Docuwiki format and have internal links between namespaces that work. #128

@rgleason rgleason changed the title Use TOC file in Namespace - Specified Depth errors -Finished by download failed Use TOC file in Namespace - Specified Depth errors -Finished but download failed Jun 8, 2024
@rgleason
Copy link
Author

rgleason commented Jun 9, 2024

Today, in hope of getting this to export completely without timeout errors on the webserver, I tried a third type of Local installation using Xampp + Dokuwiki + OpenCPN data.

Please see https://forum.dokuwiki.org/d/22292-xampp-dokuwiki-installation which has a more complete description and error logs for everything (apache, mysql, dokuwiki)

I am getting the very same error "Finished but download failed" as with dokuwikistick above.

I have checked everything I could think of and this is a terrible disappointment.

@rgleason
Copy link
Author

rgleason commented Jun 10, 2024

Now I am thinking that the problem is with siteexport. Site Export tries to push downloads onto your PC across the internet. This local configuration is very different. It is running on a local Windows PC, not using the internet, and all it has to do is to place a file in the Download directory, so the programming and functions that need to be used are very different.

I need to configure SiteExport for that situation, if it is allowed or flexible enough. How can this be done?

@rgleason
Copy link
Author

rgleason commented Jul 12, 2024

Are these the answers to the problem?

#124

#122

f161d4f

Extract this into C:\xampp\htdocs\dokuwiki\lib\plugins\siteexport

replacing the files in the folder.

@rgleason
Copy link
Author

rgleason commented Jul 13, 2024

Local Install

When installing xampp locally into Windows 11 C:\xampp\ and then downloading your online dokuwiki with filezilla FTP and copying this into C:\xampp\htdocs\dokuwiki

PHP is located in C:\xampp\php
Make sure php.ini has

; Transparent output compression using the zlib library
; Valid values for this option are 'off', 'on', or a specific buffer size
; to be used for compression (default is 4KB)

zlib.output_compression=Off   <<<---------------TURNED ON

Then download and extract f161d4f
into C:\xampp\htdocs\dokuwiki\lib\plugins\siteexport

Actually here is the zip file
#124 (comment)

Disconnect from internet and Disable AV & FW
Open xampp as admin. Turn on apache and mysql.
Browser to http://localhost/dokuwiki

Follow the rest of Dokuwiki instructions.

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