Re: [BUG] 9.5.1 cannot export specific table [9.5 (9.5-g0a86ad @ /gnu/store/qhqhlclxnqsxazs88wrmqz2vi5abcgm0-emacs-org-9.5/share/emacs/site-lisp/org-9.5/)]

2021-12-26 Thread Ihor Radchenko
"Dr. Arne Babenhauserheide"  writes:

> I tried 9.5.2, but the error is still there:
>
> org-ascii-table-cell: Wrong type argument: wholenump, -2

Oops. That commit was only on main. Not on "stable" bugfix branch.

I just cherry-picked the commit to bugfix. Sorry for the confusion.

Best,
Ihor



Re: [BUG] 9.5.1 cannot export specific table [9.5 (9.5-g0a86ad @ /gnu/store/qhqhlclxnqsxazs88wrmqz2vi5abcgm0-emacs-org-9.5/share/emacs/site-lisp/org-9.5/)]

2021-12-26 Thread Dr. Arne Babenhauserheide

"Dr. Arne Babenhauserheide"  writes:

> Ihor Radchenko  writes:
>> "Dr. Arne Babenhauserheide"  writes:
>>> In org 9.5.1 I get problems exporting a table. Trying to export
>>> https://hg.sr.ht/~arnebab/draketo/browse/politik/gnu-linux-desktop-share.org
>>> as ascii or running the embedded gnuplot source block fails with
>>> wholenump error.
>>> ...
>>> Debugger entered--Lisp error: (wrong-type-argument wholenump -2)
>>>   make-string(-2 32)
>>>   org-ascii-table-cell((table-cell (:begin 14...
>>
>> Thanks for reporting!
>>
>> It should have been fixed after 895e0baad. Can you update Org an try
>> again?
>
> I can update org once the new version is in Guix.

I tried 9.5.2, but the error is still there:

org-ascii-table-cell: Wrong type argument: wholenump, -2

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de


signature.asc
Description: PGP signature


Re: [BUG] 9.5.1 cannot export specific table [9.5 (9.5-g0a86ad @ /gnu/store/qhqhlclxnqsxazs88wrmqz2vi5abcgm0-emacs-org-9.5/share/emacs/site-lisp/org-9.5/)]

2021-12-20 Thread Dr. Arne Babenhauserheide

Ihor Radchenko  writes:

> "Dr. Arne Babenhauserheide"  writes:
>> In org 9.5.1 I get problems exporting a table. Trying to export
>> https://hg.sr.ht/~arnebab/draketo/browse/politik/gnu-linux-desktop-share.org
>> as ascii or running the embedded gnuplot source block fails with
>> wholenump error.
>> ...
>> Debugger entered--Lisp error: (wrong-type-argument wholenump -2)
>>   make-string(-2 32)
>>   org-ascii-table-cell((table-cell (:begin 14...
>
> Thanks for reporting!
>
> It should have been fixed after 895e0baad. Can you update Org an try
> again?

I can update org once the new version is in Guix.

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de


signature.asc
Description: PGP signature


Re: [BUG] 9.5.1 cannot export specific table [9.5 (9.5-g0a86ad @ /gnu/store/qhqhlclxnqsxazs88wrmqz2vi5abcgm0-emacs-org-9.5/share/emacs/site-lisp/org-9.5/)]

2021-12-20 Thread Ihor Radchenko
"Dr. Arne Babenhauserheide"  writes:

> In org 9.5.1 I get problems exporting a table. Trying to export
> https://hg.sr.ht/~arnebab/draketo/browse/politik/gnu-linux-desktop-share.org
> as ascii or running the embedded gnuplot source block fails with
> wholenump error.
> ...
> Debugger entered--Lisp error: (wrong-type-argument wholenump -2)
>   make-string(-2 32)
>   org-ascii-table-cell((table-cell (:begin 14...

Thanks for reporting!

It should have been fixed after 895e0baad. Can you update Org an try
again?

Best,
Ihor



[BUG] 9.5.1 cannot export specific table [9.5 (9.5-g0a86ad @ /gnu/store/qhqhlclxnqsxazs88wrmqz2vi5abcgm0-emacs-org-9.5/share/emacs/site-lisp/org-9.5/)]

2021-12-20 Thread Dr. Arne Babenhauserheide


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.


In org 9.5.1 I get problems exporting a table. Trying to export
https://hg.sr.ht/~arnebab/draketo/browse/politik/gnu-linux-desktop-share.org
as ascii or running the embedded gnuplot source block fails with
wholenump error.

In org 9.5.0 it still works (noticed because I ran a secondary Emacs
after updates while the original Emacs was still running 9.5.0 — writing
this report from the original Emacs with 9.5).

Scanning file 
/home/arne/Schreibtisch/arnebab-org/politik/gnu-linux-desktop-share.org
Scanning document... done
gnuplot-mode 0.7-beta -- determining gnuplot version ..
Warning: could not determine gnuplot version, guessing 3.7
gnuplot-mode 0.7-beta (gnuplot 3.7) -- report bugs as issues at 
https://github.com/emacsorphanage/gnuplot/
executing Gnuplot code block...
org-ascii-table-cell: Wrong type argument: wholenump, -2

Example-code:

 
#+begin_src gnuplot :var data=gnu-linux-per-kw :file 
gnu-linux-desktop-share.png :exports results
reset
set title "GNU/Linux users per 1000 Windows users"
set ylabel "GNU/Linux desktop share / GNU/kw
set terminal png size 420,320
plot data u 1:2 notitle with lines lw 2 lt rgb "#1E90FF"
#+end_src

#+RESULTS:
[[file:gnu-linux-desktop-share.png]]

The source of this graph is data I collected over the past decade
every July from 
[[http://www.netmarketshare.com/os-market-share.aspx?qprid=9][OS market 
share]]. They do browser detection, so the
data is far from perfect, but at least they have data we can use:

#+name: gnu-linux-per-kw
| 2008 | 8.6 | GNU/Linux users per 1000 Windows users (GNU/kw) |
| 2009 |  11 | GNU/kw  |
| 2010 |  10 | GNU/kw  |
| 2011 |  11 | GNU/kw  |
| 2012 |  12 | GNU/kw  |
| 2013 |  14 | GNU/kw  |
| 2014 |  19 | GNU/kw  |
| 2015 |  18 | GNU/kw  |
| 2016 |  22 | GNU/kw  |
| 2017 |  25 | GNU/kw  |
| 2018 |  21 | GNU/kw  |
| 2019 |  24 | GNU/kw  |
| 2020 |  41 | GNU/kw  |
| 2021 |  20 | GNU/kw  |


(just C-c C-c in the gnuplot block)

Backtrace:

Debugger entered--Lisp error: (wrong-type-argument wholenump -2)
  make-string(-2 32)
  org-ascii-table-cell((table-cell (:begin 14 :end 63 :contents-begin 14 
:contents-end 61 :post-blank 0 :parent (table-row (:type standard :begin 1 :end 
64 :contents-begin 2 :contents-end 63 :post-blank 0 :post-affiliated 1 :parent 
(table (:begin 1 :end 337 :type org :tblfm nil :contents-begin 1 :contents-end 
337 :value nil :post-blank 0 :post-affiliated 1 :parent (section ... #33)) #15 
(table-row (:type standard :begin 64 :end 85 :contents-begin 65 :contents-end 
84 :post-blank 0 :post-affiliated 64 :parent #33) (table-cell ... ...) 
(table-cell ... ...) (table-cell ... ...)) (table-row (:type standard :begin 85 
:end 106 :contents-begin 86 :contents-end 105 :post-blank 0 :post-affiliated 85 
:parent #33) (table-cell ... ...) (table-cell ... ...) (table-cell ... ...)) 
(table-row (:type standard :begin 106 :end 127 :contents-begin 107 
:contents-end 126 :post-blank 0 :post-affiliated 106 :parent #33) (table-cell 
... ...) (table-cell ... ...) (table-cell ... ...)) (table-row (:type standard 
:begin 127 :end 148 :contents-begin 128 :contents-end 147 :post-blank 0 
:post-affiliated 127 :parent #33) (table-cell ... ...) (table-cell ... ...) 
(table-cell ... ...)) (table-row (:type standard :begin 148 :end 169 
:contents-begin 149 :contents-end 168 :post-blank 0 :post-affiliated 148 
:parent #33) (table-cell ... ...) (table-cell ... ...) (table-cell ... ...)) 
(table-row (:type standard :begin 169 :end 190 :contents-begin 170 
:contents-end 189 :post-blank 0 :post-affiliated 169 :parent #33) (table-cell 
... ...) (table-cell ... ...) (table-cell ... ...)) (table-row (:type standard 
:begin 190 :end 211 :contents-begin 191 :contents-end 210 :post-blank 0 
:post-affiliated 190 :parent #33) (table-cell ... ...) (table-cell ... ...) 
(table-cell ... ...)) (table-row (:type standard :begin 211 :end 232 
:contents-begin 212 :contents-end 231 :post-blank 0 :post-affiliated 211 
:parent #33) (table-cell ... ...) (table-cell ... ...) (table-cell ... ...)) 
(table-row (:type standard :begin 232 :end 253 :contents-begin 233 
:contents-end 252 :post-blank 0 :post-affiliated 232 :parent #33)