Git Product home page Git Product logo

Comments (5)

cooperq avatar cooperq commented on May 28, 2024

I think this is fixed now

from crocodilehunter.

alphafox02 avatar alphafox02 commented on May 28, 2024

I’m not sure what was addressed here or how it was fixed, but finally after all this time I got back around to setting up a client / server connection. All code is the latest, database looks good, and with the server started up I got a good key generation by the client api.

I then use the client api to add towers but in terminal I see that nothing is sent despite the local client having tower data in its database. I jump over to the server side and check the project name/tables etc and show no entries. How was this resolved besides doing what the author of the ticket suggests? I’ll try and see if what’s mentioned above works.

from crocodilehunter.

alphafox02 avatar alphafox02 commented on May 28, 2024

I think I see what the person who submitted the ticket means now. Upon creating a new database with a -p and then trying to run Croc Hunter I’m unable to submit/enter info into the local MySQL server database.

There’s a lengthy OperationalError, but it states (1048, “Column ‘api_key’ cannot be null” and so the insert into Tower data fails.

from crocodilehunter.

keldnorman avatar keldnorman commented on May 28, 2024

I have the same problem on a clean installed Ubuntu 20.04 and fresh git clone of the repo from 18 sep 2022

from crocodilehunter.

cooperq avatar cooperq commented on May 28, 2024

Okay I finally looked into this. For some reason I made the api_key and some other fields "NOT NULL" which is not how it should be. I have fixed that and now it should all work. You might need to recreate your database or modify it manually for those changes to take effect. Fixed in 44298d0

from crocodilehunter.

Related Issues (20)

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.