emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* (error "Stack overflow in equal")
@ 2013-08-29  5:27 Jambunathan K
  2013-08-29  8:47 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Jambunathan K @ 2013-08-29  5:27 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

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


Export the below file to ODT.  You will see the following stacktrace.

Debugger entered--Lisp error: (error "Stack overflow in equal")
  gethash(((table (:type org :attr_odt (":style \"GriddedTable\"") :parent)) . 0))
  org-export-table-cell-width((table-cell (:parent (table-row (:type standard )))) )
  org-odt-table-cell((table-cell ))
  org-export-data((table-cell ))

Just to remind you, the table is created on fly by manipulating the
tree.  Using an `eq' as predicate in `org-export-table-cell-width'
solves the problem.  I am not sure this would be the right fix though. 

The last I have seen/worked (which is long time back), there was no
caching.

ps: If you aren't seeing the above trace in org repo, just pull from my
repo.

Web URL: http://repo.or.cz/w/org-mode/org-kjn.git
Pull URL: http://repo.or.cz/r/org-mode/org-kjn.git


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: list-table-1.org --]
[-- Type: text/x-org, Size: 181 bytes --]

#+ATTR_ODT: :list-table t
- Row 1
  - 1.1
  - 1.2
  - 1.3
- Row 2
  - 2.1
  - 2.2
  - 2.3

#+ATTR_ODT: :list-table t
- Row 3
  - 3.1
  - 3.2
  - 3.3
- Row 4
  - 4.1
  - 4.2
  - 4.3

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

* Re: (error "Stack overflow in equal")
  2013-08-29  5:27 (error "Stack overflow in equal") Jambunathan K
@ 2013-08-29  8:47 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2013-08-29  8:47 UTC (permalink / raw)
  To: Jambunathan K; +Cc: emacs-orgmode

Hello,

Jambunathan K <kjambunathan@gmail.com> writes:

> Export the below file to ODT.  You will see the following stacktrace.
>
> Debugger entered--Lisp error: (error "Stack overflow in equal")
>   gethash(((table (:type org :attr_odt (":style \"GriddedTable\"") :parent)) . 0))
>   org-export-table-cell-width((table-cell (:parent (table-row (:type standard )))) )
>   org-odt-table-cell((table-cell ))
>   org-export-data((table-cell ))
>
> Just to remind you, the table is created on fly by manipulating the
> tree.  Using an `eq' as predicate in `org-export-table-cell-width'
> solves the problem.  I am not sure this would be the right fix though.

Indeed, predicate has to be `eq', but then, key used (a cons cell) is
invalid. I changed both key and value structure in cache so it can use
`eq' as a predicate.

This should now be fixed. Thank you for reporting it.


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2013-08-29  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-29  5:27 (error "Stack overflow in equal") Jambunathan K
2013-08-29  8:47 ` 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).