Giter VIP home page Giter VIP logo

Comments (16)

dsaffo avatar dsaffo commented on June 26, 2024

Can you provide the line number and file the error is from.

from datacomets.

michael-sky avatar michael-sky commented on June 26, 2024

As I recall, it said parse:1

from datacomets.

dsaffo avatar dsaffo commented on June 26, 2024

So it's coming from the backend and likely means Pyulog is failing to read the file somehow. I'm not sure I can debug this one without the log file. Could you share it?

from datacomets.

michael-sky avatar michael-sky commented on June 26, 2024

Unfortunately I cannot share the particular log file. However, I might be able to find another one and test with that as well. I will also look into the parsing with python.

from datacomets.

dsaffo avatar dsaffo commented on June 26, 2024

I understand that no worries, if you can run the ulog2csv command it is most likely a network issue and not a issue with the log.

from datacomets.

michael-sky avatar michael-sky commented on June 26, 2024

It is definitely not an issue with the log. It doesn’t fail every time. If I try multiple times, it will succeed at some point.

from datacomets.

dsaffo avatar dsaffo commented on June 26, 2024

I see, definitely a network issue then, I am working on a javascript parser which would solve these issue but if it seems like it will take a lot of time I will invest more time into better netcode.

from datacomets.

michael-sky avatar michael-sky commented on June 26, 2024

The log is fine, if I try multiple times with the same log, eventually it will succeeed.

from datacomets.

dsaffo avatar dsaffo commented on June 26, 2024

With the larger logs i have noticed it can sometimes fail to send all the data to the python sever correctly. With a JavaScript parser that step is not necessary any more and there shouldn't be network failures since everything would happen on the client side.

from datacomets.

dsaffo avatar dsaffo commented on June 26, 2024

In the mean time, I could setup datacomets to accept pre-processed logs. This way for very large logs you can parse them separately with a quick python command and then load the log into data comets. This would also be faster for very large logs since you dont have to deal with the network. Less convenient but a stop gap for now, what do you think?

from datacomets.

michael-sky avatar michael-sky commented on June 26, 2024

Sounds great. Please let me know if I can be of any assistance.

from datacomets.

michael-sky avatar michael-sky commented on June 26, 2024

@dsaffo I missed the comment about preprocessed logs. How would I preprocess the logs then? It doesn't seem to be the "parsing" that fails, but the uploading. Which would still have to take place as the server is plotting?

Please correct me if I am wrong.

from datacomets.

michael-sky avatar michael-sky commented on June 26, 2024

Keep in mind, that when I say "local server", it is a server I started using your suggestion with gunicorn.

from datacomets.

dsaffo avatar dsaffo commented on June 26, 2024

from datacomets.

dsaffo avatar dsaffo commented on June 26, 2024

Actually after doing so more research I think I will try to implement this plugin instead https://github.com/blueimp/jQuery-File-Upload/blob/master/README.md#features. It features file chunking and progress bars so might get 2 for 1 solution here.

from datacomets.

michael-sky avatar michael-sky commented on June 26, 2024

@dsaffo That would definitely be the preferred solution.

from datacomets.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.