Mat-O-Lab / TablesToCSV

Aims to convert tables in pds or Excel Spreedsheets to a uniform CSV format
0 stars 0 forks source link

extraction of xlsx not working #9

Closed ThHanke closed 2 years ago

ThHanke commented 2 years ago

tryed this and it failed

rfechner commented 2 years ago

Problem is, that passing the link as a raw link like "https://github.com/Mat-O-Lab/TablesToCSV/raw/main/examples/Z-Windrepair_Testproben1.xlsx" will result the program to crash.

We are expecting a default link like https://github.com/Mat-O-Lab/TablesToCSV/blob/main/examples/Z-Windrepair_Testproben1.xlsx OR the already fixed link 'https://raw.githubusercontent.com/Mat-O-Lab/TablesToCSV/main/examples/Z-Windrepair_Testproben1.xlsx'.

Real error-checking would include new regex checks and or analyzing the response, in case we received HTML code as response... My suggestion: The given link should not be used, implement code which catches this exact problem and converts the given link to a regular link.

rfechner commented 2 years ago

I implemented a small piece of code, that checks for this exact type of link, then flashes an error message.