Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing hex file sometimes fails on time parsing #30

Open
ghost opened this issue Aug 3, 2019 · 3 comments
Open

Parsing hex file sometimes fails on time parsing #30

ghost opened this issue Aug 3, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 3, 2019

No description provided.

@ghost ghost added this to the Create Haul Point Estimates milestone Aug 3, 2019
@ghost
Copy link
Author

ghost commented Aug 3, 2019

currently unable to pin down why it fails. Sometimes a hex file fails when it's part of a larger processing job, but then when I run it individually, it parses just fine.

@ghost
Copy link
Author

ghost commented Aug 3, 2019

Error as follows

  throw new Error('String \'' + str + '\' could not be parsed as \'' + pattern + '\'');
        ^
Error: String '-2019-04-18-HH-28-55' could not be parsed as '-yyyy-MM-dd-hh-mm'
    at extractDateParts (C:\Todd.Hay\Code\OceanTS\node_modules\date-format\lib\index.js:114:9)

@ghost
Copy link
Author

ghost commented Aug 5, 2019

Appears to have been that I had an incorrectly named log file in the OceanTS\logs directory named:

app.-2019-04-18-HH-28-55.log

Once I removed that and the other log files that still had the HH tag in them, everything runs correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants