Re: [Zim-wiki] Zim 0.62 still has export bug?

2015-06-13 Thread Joseph Reagle
Could you send me a zip file of your Test? I will upgrade to 0.62 again
and try that.

On 06/13/2015 08:43 AM, Jaap Karssenberg wrote:
> Just trying it out with a small test notebook:
> 
> ./zim.py --export --output=/tmp/zim_export --format=html --overwrite
> ~/Notebooks/Test/ --verbose


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.62 still has export bug?

2015-06-13 Thread Jaap Karssenberg
Just trying it out with a small test notebook:

./zim.py --export --output=/tmp/zim_export --format=html --overwrite
~/Notebooks/Test/ --verbose

works fine for me - it writes out a line for each page exported and each
attachment copied. Without the "--overwrite" an error is thrown.

Regards,

Jaap



On Fri, May 29, 2015 at 1:58 PM, Joseph Reagle 
wrote:

> Let me put a point on this: Does *anyone* successfully update an
> existing HTML export using 0.62?
>
> On 05/28/2015 09:24 AM, Joseph Reagle wrote:
> > # I want to export from the command line
> >
> > - I type the following, see some INFO diagnostics, but nothing is
> > produced (and it completes much faster than using the GUI above)
> >
> > ```
> > zim --export --output=/home/reagle/joseph/zwiki --format=html
> > --overwrite /home/reagle/joseph/zim --verbose
> > INFO: This is zim 0.62
> > INFO: Remove file: /home/reagle/joseph/zim/.zim/tmp
> > INFO: Loading template from: /usr/share/zim/templates/html/Default.html
> > ```
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.62 still has export bug?

2015-05-29 Thread Joseph Reagle
Let me put a point on this: Does *anyone* successfully update an
existing HTML export using 0.62?

On 05/28/2015 09:24 AM, Joseph Reagle wrote:
> # I want to export from the command line
> 
> - I type the following, see some INFO diagnostics, but nothing is
> produced (and it completes much faster than using the GUI above)
> 
> ```
> zim --export --output=/home/reagle/joseph/zwiki --format=html
> --overwrite /home/reagle/joseph/zim --verbose
> INFO: This is zim 0.62
> INFO: Remove file: /home/reagle/joseph/zim/.zim/tmp
> INFO: Loading template from: /usr/share/zim/templates/html/Default.html
> ```

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.62 still has export bug?

2015-05-28 Thread Radek
Hi Joseph,

did you use attachments in your zim?
did they export?
I'm curious if export of attachments is working.  I'm not successful to do so.

On 28 May 2015 at 15:38, Joseph Reagle  wrote:
> On 05/28/2015 09:32 AM, Paulo van Breugel wrote:
>> Just about the command line completing faster, but without actually
>> producing anything.. in my experience it does not overwrite existing
>> folders / files. So try to export it to a new folder.
>
> I'll try that next time I install 0.62 (went back to 0.60). But if
> that's a case, that's a bug as I specified the --overwrite option.
> (Indeed, wouldn't one typically export to the same directory to keep an
> HTML version of one's wiki current?)
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp



-- 
Radek

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.62 still has export bug?

2015-05-28 Thread Radek
Hi Joseph,

did you use attachments in your zim?
did they export?
I'm curious if export of attachments is working.  I'm not successful to do so.

On 28 May 2015 at 15:38, Joseph Reagle  wrote:
> On 05/28/2015 09:32 AM, Paulo van Breugel wrote:
>> Just about the command line completing faster, but without actually
>> producing anything.. in my experience it does not overwrite existing
>> folders / files. So try to export it to a new folder.
>
> I'll try that next time I install 0.62 (went back to 0.60). But if
> that's a case, that's a bug as I specified the --overwrite option.
> (Indeed, wouldn't one typically export to the same directory to keep an
> HTML version of one's wiki current?)
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp



-- 
Radek

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.62 still has export bug?

2015-05-28 Thread Joseph Reagle
On 05/28/2015 09:32 AM, Paulo van Breugel wrote:
> Just about the command line completing faster, but without actually
> producing anything.. in my experience it does not overwrite existing
> folders / files. So try to export it to a new folder.

I'll try that next time I install 0.62 (went back to 0.60). But if
that's a case, that's a bug as I specified the --overwrite option.
(Indeed, wouldn't one typically export to the same directory to keep an
HTML version of one's wiki current?)

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.62 still has export bug?

2015-05-28 Thread Joseph Reagle

I'm giving zim 0.62 (on Ubuntu) another try with updating my export
template and am running into some problems.

# I want to use the Default template with an index (not the
Default_with_index on the side).

- In the GUI I specify a "Index page" 'Index' -- without an extension.
- Zim creates a 'Index.html' -- with an extension.
- But links from pages to "Index" don't work because the files doesn't
exist.
- Specifying 'Index.html' doesn't work either, as Zim creates
"Index.html.html" and pages are linked to the (non-existent) "Index.html" .

# I want to export from the command line

- I type the following, see some INFO diagnostics, but nothing is
produced (and it completes much faster than using the GUI above)

```
zim --export --output=/home/reagle/joseph/zwiki --format=html
--overwrite /home/reagle/joseph/zim --verbose
INFO: This is zim 0.62
INFO: Remove file: /home/reagle/joseph/zim/.zim/tmp
INFO: Loading template from: /usr/share/zim/templates/html/Default.html
```


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.62 still has export bug? (template parameters?)

2014-10-09 Thread Jaap Karssenberg
hi Joseph,

Yes the template system changed in version 0.61 . This was needed to
support multi page export. Unfortunately as a result your template needs to
be updated to make it work again.

Have a look in the manual page for a description is the new parameters. The
default template is a good example how to do a simple page.

Hope this helps

Jaap
On Oct 9, 2014 2:28 PM, "Joseph Reagle"  wrote:

>
> This [1] issue still exists.
>
> > The culprit is that 0.61 warns about existing directories and refuses
> > to export unless they are empty or the user uses `--overwrite`.
> >
> > Even when I manually invoked export with overwrite it failed with
> > errors about variables not found...
>
> [1]: https://lists.launchpad.net/zim-wiki/msg02885.html
>
> What does these parameters even mean? Has the templating system changed?
>
> ```
>
> zim --export --output=/home/reagle/joseph/zwiki --format=html
> --overwrite
> --template=~/.local/share/zim/templates/html/codex-default.html
> /home/reagle/joseph/zim --index-page index
> WARNING: No such parameter: zim
> WARNING: No such parameter: pages.previous
> WARNING: No such parameter: page
> WARNING: No such parameter: pages.index
> WARNING: No such parameter: pages.next
> WARNING: No such parameter: page
> WARNING: No such parameter: page
> WARNING: No such parameter: page
> WARNING: No such parameter: page
> WARNING: No such parameter: zim
> WARNING: No such parameter: pages.previous
> WARNING: No such parameter: page
> WARNING: No such parameter: pages.index
> WARNING: No such parameter: pages.next
> WARNING: No such parameter: page
> WARNING: No such parameter: page
> WARNING: No such parameter: page
> WARNING: No such parameter: page
> WARNING: No such parameter: zim
> ...
>
> ```
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp