Code Monkey home page Code Monkey logo

Comments (6)

mattjwarren avatar mattjwarren commented on August 28, 2024

I'm poking around for the 'correct' way to fix it, I'll update here if I figure it out.

from eveapi.

mattjwarren avatar mattjwarren commented on August 28, 2024

I have a 'workaround', not sure if this is how it should be done.

Snippet of code in tag_start changed to

            for hdr_idx,col in enumerate(self.container._cols):
                                    try:
                                            if col == attributes[row_idx]:
                                                    fixed.append(_autocast(col, attributes[row_idx+1]))
                                                    row_idx += 2
                                            else:
                                                    fixed.append(None)
                                    except IndexError:
                                            pass

This 'seems' to work - though this is the first time I've tried to use the eve api so not sure of the consequences of my actions - just ignoring the missing values.

from eveapi.

ntt avatar ntt commented on August 28, 2024

Hehe, that will still mess things up, and slows things down a bit too (exceptions that are triggered are rather expensive).

Pushed a fix that ought to work. Let me know if it works so I can close this :)

from eveapi.

mattjwarren avatar mattjwarren commented on August 28, 2024

:P I had a feeling it wasn't quite the way to do it. I'll try the fix tomorrow and let you know :)

from eveapi.

mattjwarren avatar mattjwarren commented on August 28, 2024

Works ok for me, I no longer get the issue I was having when pulling from the Killlog

from eveapi.

ntt avatar ntt commented on August 28, 2024

great. thanks :)

from eveapi.

Related Issues (16)

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.