XLSX to CSV or .txt "assertion failed" error - excel

I am attempting to convert an Excel file (test.xlsx, created in Office Professional Plus 2013) into either CSV or TXT format using SSCONVERT.
Using the command line, with and without identifying the importer (Gnumeric_Excel:excel_xml).
In either case, ssconvert fails with a message:
** (ssconvert:21953): CRITICAL **: wb_view_save_as: assertion 'IS_WORKBOOK_VIEW (wbv)' failed
** (ssconvert:21953): CRITICAL **: wb_view_workbook: assertion 'IS_WORKBOOK_VIEW (wbv)' failed
(ssconvert:21953): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
No output file is generated.
I cannot find any information on the cause of this error. A reading of the error would lead me to believe that ssconvert isn't believing the file is an .xlsx, but it is.
I've tried various input files with the same issue.
XLS conversions work correctly, however, as my provided file is sent in XLSX, that doesn't help solve my problem.
How can I troubleshoot this issue?

Related

Receiving Unterminated CSV Quoted Field Error while inserting into Postgres using Copy

I am trying to insert CSV file into Postgres using Copy command at the time I am receiving Unterminated CSV Quoted Field error (out of 100 CSV files I am getting this error for 2-5 files).
I will usually identify the error file then I will open the same using Microsoft Excel and I will simply save without doing anything changes. Then I will try to copy the same file again into Postgres, this time it was working the data get inserted. Can anyone please explain how its possible simply opening and saving the file using Excel will resolve this error?

PDF Error 144: Invalid TrueType data found

I'm trying to print a PDF using ipp npm module but I get this error printed on the paper:
PDF Error 144: Invalid TrueType data found
Assert Failed: cmap_off > -1
The Buffer created does not have any issues, if I save it in a file and print it, it works, but not if I send it through ipp.
Does anyone have an idea of what this error could mean?
The issue was happening because of wrong formatting with the PDF itself.

An error occurred saving import/export specification ''

I am new to MS-Access.
The title is the error I get when I try to import an excel sheet into a new table in Access 2016. Note the single empty quote is part of the error message.
I've tried reinstalling, playing around with import options, importing from a CSV, CSV with different encodings, checked the table in excel for errors or inconsistencies.
I have searched and searched without luck. Help would be appreciated.
ADDENDUM:
The CSV I've tried to import is:
CashAccountID,AccountDescription,BankName,BankAccountNumber
301,Primary Checking Account,MegaBank,9017765453
302,Money Market Account,Wells Gargle,3831157490
303,Payroll Account,MegaBank,9835320050
I've encountered the same error and, from trial and error, it appears the issue is related to the size of the Excel file you're importing from. I've had success by splitting the 70MB Excel file into two 35MB files before doing the same import into Excel.
The error message from MS Access is nonsensical - the problem occurs when we're not using an import/export specification at all (and nor are there any saved in the Access I'm running). I think we can put this failure and erroneous error message down as an MS Access bug.

How to resolve Vsam File status error code 93?

When I am trying to access a Vsam Sequential dataset(which is also opened in CICS) from batch, I use EXTEND mode to open the file and append some data to it.
Earlier it was working fine. All of a sudden , it is not working now and I am getting File status : 93 error code which means "Resource not available".
OPEN EXTEND <filename>
Foe KSDS datasets I have used EXCI(external CICS Interface) calls to access from batch even though it was opened in Online.
But I do not know how to do the same for ESDS.
Could someone help me to resolve this error.

ColdFusion cfspreadsheet: error occurred while reading the Excel. The supplied POIFSFileSystem does not contain a BIFF8 'Workbook' entry

In ColdFusion 10 Spreadsheet:
I have a daily routine that reads a few Excel files and stores them in a database. I have recently started receiving a file with some macros. The service cannot read the file. If I open and save the file then it will be read.
Anyone knows what is going on here?
Here is my code:
<cfspreadsheet
action="read"
src="PJM Matrix MM 36-Mo 2014-02-28.xlsx"
query="data"
sheet = "2"
rows="1-588"
columnnames="A,B,C,D,E,F,G,H,I,J,K,L">
Here is the error:
An error occurred while reading the Excel:
java.lang.IllegalArgumentException:
The supplied POIFSFileSystem does not contain a BIFF8 'Workbook' entry.
Is it really an excel file?.
Here is my excel file:
https://dl.dropboxusercontent.com/u/71626816/PJM%20Matrix%20MM%2036-Mo%202014-02-28.xlsx
This error indicates that the spreadsheet you are trying to upload, belongs to a BIFF version prior to BIFF8. Coldfusion doesn't support reading these files. But when you open and save, the file becomes BIFF8 version and will be able to be processed. Currently there is no fix for this.
https://poi.apache.org/faq.html#faq-N10072
POI jars are responsible for reading spreadsheets in CF and they support only BIFF 8 version. Please check response for Q-6 in above url.

Resources