From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MFufAgAkXV9QDgAA0tVLHw (envelope-from ) for ; Sat, 12 Sep 2020 19:39:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iFWZOP8jXV8seQAAB5/wlQ (envelope-from ) for ; Sat, 12 Sep 2020 19:39:43 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C89879400C7 for ; Sat, 12 Sep 2020 19:39:42 +0000 (UTC) Received: from localhost ([::1]:43990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHBN7-0006Zm-Rn for larch@yhetil.org; Sat, 12 Sep 2020 15:39:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kH43R-0005gi-WE for emacs-orgmode@gnu.org; Sat, 12 Sep 2020 07:50:54 -0400 Received: from mx1.riseup.net ([198.252.153.129]:43578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kH43P-0001pm-Kn for emacs-orgmode@gnu.org; Sat, 12 Sep 2020 07:50:53 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4BpWCr5xYvzFdrs for ; Sat, 12 Sep 2020 04:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1599911448; bh=Rz0yTofeXKU2plAOqm6CwvPDP4RZ6FhZLh6a5TAMzXg=; h=Date:From:To:Subject:From; b=UpBS4JBhGaNu5GPyvHrRlGm4Du2uFjWogB0/825j1AseejVGwA62/na1H6dst9RCi Yb4zjNFek63kX/TnflcTfim3GkHNb9ofAbGMAOgW758Q1SP5xPZCC4XuMaYZdl0MAB QGPjRtnxkORVtygIi7BPD3gbR8n3vIDlu1CxLSbc= X-Riseup-User-ID: 334500D2F393AB239F5A9F3833AF4D4C0128A262943EEEDF8629ACF6D83517B7 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4BpWCr0zgNzJmhZ for ; Sat, 12 Sep 2020 04:50:47 -0700 (PDT) Date: Sat, 12 Sep 2020 13:50:43 +0200 From: swedebugia To: emacs-orgmode@gnu.org Subject: Bug: org-table-import fails to import xlxs files Message-ID: <20200912135043.0354bac4@parabola> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=swedebugia@riseup.net; helo=mx1.riseup.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/12 07:50:49 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 12 Sep 2020 15:37:29 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=UpBS4JBh; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: CZ927Wff+E49 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