emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: swedebugia <swedebugia@riseup.net>
To: emacs-orgmode@gnu.org
Subject: Bug: org-table-import fails to import xlxs files
Date: Sat, 12 Sep 2020 13:50:43 +0200	[thread overview]
Message-ID: <20200912135043.0354bac4@parabola> (raw)

Hi

Thanks for a making this fantastic program!

I think I found a bug.

When trying to import a xslx table into org-mode I get a lot of binary
data instead of a table back.

I would rather either get an error saying it is not supported yet or an
org-table.

Recoll supports xlsx files it seems, so it should be possible
with python 3 at least to make this work also in org-mode. See
https://www.lesbonscomptes.com/recoll/pages/features.html

I found this in Arch:
$ pacman -Ss xlsx
community/python-openpyxl 3.0.5-1
    A Python library to read/write Excel 2007 xlsx/xlsm files

Other ones written in python:
https://github.com/dilshod/xlsx2csv (not that active)
https://github.com/wireservice/csvkit (active)

Also gnumeric can convert it:
The Gnumeric spreadsheet application comes with a command line utility
called ssconvert that can convert between a variety of spreadsheet
formats:

$ ssconvert Book1.xlsx newfile.csv
Unfortunately it is only available with the gnumeric GUI currently
which is ~14MB bloat. 
See
http://stackoverflow.com/questions/10557360/ddg#10580741
Source here https://gitlab.gnome.org/GNOME/gnumeric (active)

Cheers
swedebugia


             reply	other threads:[~2020-09-12 19:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-12 11:50 swedebugia [this message]
2020-09-13  7:40 ` Bug: org-table-import fails to import xlxs files swedebugia
2020-09-13  8:13   ` swedebugia
2020-09-13 17:15 ` Bastien
2020-09-14  6:27   ` swedebugia
2020-09-14 12:39     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200912135043.0354bac4@parabola \
    --to=swedebugia@riseup.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).