seabird icon indicating copy to clipboard operation
seabird copied to clipboard

There are no rules able to parse the input

Open aerichards opened this issue 5 years ago • 9 comments

Hi there,

I get the following exception when using Seabird to work with any of my .cnv files:

"CNVError: There are no rules able to parse the input. File: [filename]"

Here are a couple of the .cnv files that I'm using: cnv_examples.zip

aerichards avatar Aug 31 '19 10:08 aerichards

(I should add that I'm using Seabird 0.11.2)

aerichards avatar Aug 31 '19 10:08 aerichards

Thanks for making those changes, however I'm still getting the same exception with 0.11.3. It occurs both in shell and in Python script. In the latter this is the code I'm using:

from seabird.cnv import fCNV profile = fCNV(cnvfilepath)

Do you know why I could still be getting this error?

aerichards avatar Sep 02 '19 08:09 aerichards

That works fine now, thanks!

aerichards avatar Sep 02 '19 11:09 aerichards

Thank you for the CNV sample file. Please check if you're using the latest version (0.11.4).

castelao avatar Sep 02 '19 11:09 castelao

Hi again, Many of my other files still throw the same exception. They may differ slightly from the example files I gave above. Here is a sample of these files: cnvexamples2.zip I can attach more if needed.

aerichards avatar Sep 02 '19 13:09 aerichards

Hello, I am experiencing a similar error, "CNVError: There are no rules able to parse the input." when calling "from seabird.cnv import fCNV file = fCNV(entry)"

Only a single file is returning this error, so it is not a terrible inconvenience, but it may be for others in the future. I have attached this file. FYI, I downloaded the seabird package in December 2019.

FK180624_STN002_CTD001_30_JUN_2018_PROC_ALL_Bin_1m_Dwn.zip

Thank you for the code!

NatalyaEvans avatar Jan 03 '20 20:01 NatalyaEvans

Hello, I have exception "CNVError: There are no rules able to parse the input. File: [filename]" too. The header of my .cnv files is xml. Can PySeabird parse these files? my_data.zip

terrss avatar Mar 03 '20 11:03 terrss

Thank you for this awesome package! I am getting this same error on the attached files (and many other probably similar ones) d200504_001.zip

ilebras avatar Mar 29 '21 22:03 ilebras

Hello,

I am just starting to look at some CTD data and am so glad I came across this package! I unfortunately also have the exception 'CNVError: There are no rules to parse the input.' Do you have a sense of what in the data file is creating this flag? Thank you so much for taking a look!

example_file.zip

mmstoll avatar Jan 25 '23 20:01 mmstoll