Coder Social home page Coder Social logo

piabetes's People

Contributors

martianmellow12 avatar

Watchers

 avatar  avatar  avatar

piabetes's Issues

Foods occasionally throws an error due to regex failure

An error is thrown occasionally talking about regex errors. The error is as follows:
Traceback (most recent call last): File "main.py", line 627, in <module> response = parse_carbs(query_carbs(request))+parse_fiber(query_fiber(request)) File "main.py", line 412, in parse_carbs main = 'Qty: '+amount.group(0)+'\nCarbs: '+carbs.group(0)+'\n' AttributeError: 'NoneType' object has no attribute 'group'

Typo: Dietary Fiber

It has been noted that Dietary Fiber is misspelled as Diatery Fiber when responses are sent. Don't worry, the information sent is as accurate as it would be without the typo. This will be fixed in v1.5, though the library entries will be misspelled until the library updates itself (which occurs on the first of every month at 3:00 AM).

Adding Support For Multiple Texting APIs

As TextMagic can be somewhat annoying to set up, I've decided that I'm going to implement multiple APIs and allow the user to pick which one they want to use. An alternative to TextMagic would be Twilio, for example, which is better suited for individuals, but possibly a bit more expensive. I plan to implement modules for each API that can simply be installed and used.

Occasional Crashing

For some reason, some requests will crash Piabetes. I've not been able to find a pattern, and this occurs in both standard and developer mode. If you ever send a normal request and it gives an error, please notify me so that I can add it to the table and hopefully find a pattern.

Log Saving

I should've implemented this since v1.0, but in light of the current bug that is plaguing the system, I figure that now is as good as any other time to implemented actual log files. v1.51 only prints out the log to the monitor if it's plugged in, and without a monitor it's impossible to view previous logs. This will create a "Logs" folder, and save said logs here. This will be released in v1.52 as soon as it's implemented, so hopefully this will help isolate and fix the bug causing occasional crashes.

User-specific data is sometimes deleted during update

I noticed when updating my system to 1.52 that my api keys, whitelist, and config file were all deleted. This doesn't occur on mac, so I'm assuming the issue is related to the filesystem. This will be fixed ASAP, but the updater will have to be manually downloaded, which means you will have to re-install Piabetes on whatever host device you're using.

Updates: Automatic Vs. Manual

I'm trying to decide which update system would be better to use for Piabetes. I could have it update itself automatically whenever one is available, which would make maintenance easier for users, but manual updates allow users to decide when they would like to update, as if they're happy with the current version, they may not want to update. Any suggestions would be greatly appreciated.

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.