emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Error exporting org file in ics format
@ 2015-02-23 11:23 Leandro Noferini
  2015-02-23 12:45 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Leandro Noferini @ 2015-02-23 11:23 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 557 bytes --]

Ciao a tutti,

I found an error trying to export an org file to ics format also via the
standard command Ctrl-C-Ctrl-E and via org-caldav sync process.

In the Message buffer I see this message:

org-ascii--table-cell-width: Args out of range: [nil], 1

The other files are exported normally and the only difference I can see
is in fact the file with error has appointments lasting over the
midnight (because I work at night).

If somebody tells me how to enable debug I could give more details.

-- 
leandro
http://6xukrlqedfabdjrb.onion

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 464 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Error exporting org file in ics format
  2015-02-23 11:23 Error exporting org file in ics format Leandro Noferini
@ 2015-02-23 12:45 ` Nicolas Goaziou
  2015-02-23 13:37   ` Leandro Noferini
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2015-02-23 12:45 UTC (permalink / raw)
  To: Leandro Noferini; +Cc: emacs-orgmode

Hello,

Leandro Noferini <lnoferin@cybervalley.org> writes:

> I found an error trying to export an org file to ics format also via the
> standard command Ctrl-C-Ctrl-E and via org-caldav sync process.
>
> In the Message buffer I see this message:
>
> org-ascii--table-cell-width: Args out of range: [nil], 1
>
> The other files are exported normally and the only difference I can see
> is in fact the file with error has appointments lasting over the
> midnight (because I work at night).

I don't think this is related.

> If somebody tells me how to enable debug I could give more details.

Could you provide an ECM, or even the full file if it doesn't contain
sensitive information?

Thank you.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Error exporting org file in ics format
  2015-02-23 12:45 ` Nicolas Goaziou
@ 2015-02-23 13:37   ` Leandro Noferini
  2015-02-23 17:48     ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Leandro Noferini @ 2015-02-23 13:37 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 995 bytes --]

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:


[...]

>> In the Message buffer I see this message:
>>
>> org-ascii--table-cell-width: Args out of range: [nil], 1
>>
>> The other files are exported normally and the only difference I can see
>> is in fact the file with error has appointments lasting over the
>> midnight (because I work at night).
>
> I don't think this is related.
>
>> If somebody tells me how to enable debug I could give more details.
>
> Could you provide an ECM,

What is an ECM?

> or even the full file if it doesn't contain sensitive information?

I could send you privately, not in list: nothing really sensitive, job
appointments but not to be indexed in the internet for the ethernity!

Another thing I discovered today looking into my org directory is: the
archive file related to this giving error is really big, 12 Mega,
because it contains some parts encrypted using a very gpg key.

-- 
leandro
http://6xukrlqedfabdjrb.onion

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 464 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Error exporting org file in ics format
  2015-02-23 13:37   ` Leandro Noferini
@ 2015-02-23 17:48     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2015-02-23 17:48 UTC (permalink / raw)
  To: Leandro Noferini; +Cc: emacs-orgmode

Leandro Noferini <lnoferin@cybervalley.org> writes:

> What is an ECM?

French acronym for minimal complete example.

>> or even the full file if it doesn't contain sensitive information?
>
> I could send you privately, not in list: nothing really sensitive, job
> appointments but not to be indexed in the internet for the ethernity!

OK. You can also use the following function, which will produce a copy
of the original buffer, with scrambled contents

  (defun scramble-contents ()
    (interactive)
    (let ((tree (org-element-parse-buffer)))
      (org-element-map tree '(code comment comment-block example-block fixed-width
                                   keyword link node-property plain-text verbatim)
        (lambda (obj)
          (cl-case (org-element-type obj)
            ((code comment comment-block example-block fixed-width keyword
                   node-property verbatim)
             (let ((value (org-element-property :value obj)))
               (org-element-put-property
                obj :value (replace-regexp-in-string "[[:alnum:]]" "x" value))))
            (link
             (unless (string= (org-element-property :type obj) "radio")
               (org-element-put-property obj :raw-link "http://orgmode.org")))
            (plain-text
             (org-element-set-element
              obj (replace-regexp-in-string "[[:alnum:]]" "x" obj)))))
        nil nil nil t)
      (let ((buffer (get-buffer-create "*Scrambled text*")))
        (with-current-buffer buffer
          (insert (org-element-interpret-data tree))
          (goto-char (point-min)))
        (switch-to-buffer buffer))))

However make sure you can reproduce the problem on that copy first.


Regards,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-23 17:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-23 11:23 Error exporting org file in ics format Leandro Noferini
2015-02-23 12:45 ` Nicolas Goaziou
2015-02-23 13:37   ` Leandro Noferini
2015-02-23 17:48     ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).