Comments (5)
from cwr-dataapi.
Sorry I couldn't take a look sooner.
For what I can gather a line in the file is missing the SD Type, composed of two alphanumeric letters at the end of a group header (a GRH row).
Could you please verify that?
The parser is very strict, so something like that can break the parsing.
from cwr-dataapi.
I have provided different CWR file including the one you have included in tests/example folder as input. Then also I am getting the same error.
There is a note in CWR functional document that states
"Submission / Distribution Type is used only in the case of audio-visual transactions. This field
will be ignored for CWR transactions".
SD_Type is a non mandatory field according to CWR functional document.
from cwr-dataapi.
I've set the SD type as optional, also uploaded a new version to Pypi with the latest changes. Could you try it now?
Sorry it is taking so long, but I do this on my spare time.
from cwr-dataapi.
After taking a better look, the problem won't be solved in the short term. There are some problems with the grammar used by the parser and acknowledgement files, which are related to this issue.
from cwr-dataapi.
Related Issues (20)
- Divide the main dictionary encoder into sub-parsers HOT 1
- Make sure the dictionary decoder handles all the fields
- Add parser tests with real files
- Missing Character Set in HDR throws ParseException
- Add exception errors to the parser setup
- Defining blank rules on configuration files
- Improving the at_least_x rules on the config files HOT 1
- Lookup fields give ambiguous error messages
- Return to original value tests for parsers
- The parser is unable to handle big files HOT 2
- Re-enable Python 2.6 tests HOT 1
- Change the parser library HOT 2
- Getting pyparsing.ParseException while reading .V21 file HOT 4
- Check that all the model classes are being correctly parsed HOT 1
- The parser is unable to use the correct encoding on Python 3 HOT 1
- Add makefile for common scripts HOT 3
- Can't be installed as a dependency on python 2.6 HOT 1
- Create a DSL for record configuration HOT 5
- Dictionary encoder and CWR objects HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cwr-dataapi.