Giter VIP home page Giter VIP logo

deepblu-tools's People

Contributors

atdotde avatar bluppfisk avatar dependabot[bot] avatar stijnvanhoey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deepblu-tools's Issues

Unquoted & character in notes

Converting Srodriguez32's log from deepblu produces ill-formed xml (that Subsurface fails to parse) because in is post dive notes, he has a &-character that needs translation to &.

Backup errs if birthday not added to deepblu.

I closed the other issue after it successfully downloaded (after I added my birthday to deepblu). (Thanks for responding so quickly!) Iโ€™m not sure if this is a bug or not, but I would note that it erred until I added it to their system. See below.

% deepblu-backup -u "[email]" -p "[password]" Getting published logs Loading first 100 published logs from Deepblu API... Found all the published logs! Traceback (most recent call last): File "/usr/local/bin/deepblu-backup", line 8, in <module> sys.exit(main()) ^^^^^^ File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/deepblu_tools/bin/cli.py", line 109, in main logbook = dm.DeepbluLogBook(posts, deepblu_user, max_posts=max_logs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/deepblu_tools/models/deepblu/log_book.py", line 28, in __init__ self.owner = deepblu_user.to_person_type() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/deepblu_tools/models/deepblu/user.py", line 44, in to_person_type birthdate=um.EncapsulatedDateTimeType(self.birthday.isoformat()), ^^^^^^^^^^^^^ AttributeError: 'DeepbluUser' object has no attribute 'birthday' %

Error in running backup from pip3.

Any thoughts why I might be getting the error below? Tried on MacOS & two different Linux boxes with the same result.

$ deepblu-backup -u "[e-mail addres]" -p "[password]"
Getting published logs
Loading first 100 published logs from Deepblu API...
Found all the published logs!
Traceback (most recent call last):
  File "/home/aroberts/.local/bin/deepblu-backup", line 8, in <module>
    sys.exit(main())
  File "/home/aroberts/.local/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/aroberts/.local/lib/python3.9/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/aroberts/.local/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/aroberts/.local/lib/python3.9/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/aroberts/.local/lib/python3.9/site-packages/deepblu_tools/bin/cli.py", line 109, in main
    logbook = dm.DeepbluLogBook(posts, deepblu_user, max_posts=max_logs)
  File "/home/aroberts/.local/lib/python3.9/site-packages/deepblu_tools/models/deepblu/log_book.py", line 28, in __init__
    self.owner = deepblu_user.to_person_type()
  File "/home/aroberts/.local/lib/python3.9/site-packages/deepblu_tools/models/deepblu/user.py", line 38, in to_person_type
    sex=getattr(um.SexType, self.gender.upper()),
  File "/usr/lib/python3.9/enum.py", line 405, in __getattr__
    raise AttributeError(name) from None
AttributeError: OTHER
$ 

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.