Git Product home page Git Product logo

Comments (3)

hughrun avatar hughrun commented on September 23, 2024

hmm that does look like it's probably an error in your config. Are you able to show me what your config.yaml file looks like? (without the access token!)

from ephemetoot.

rootwyrm avatar rootwyrm commented on September 23, 2024

Ah-ha, so it is... did some more fussing, and it's choking if you don't have everything present, instead of assuming 'absent = unset or null.' Which seems to me should be considered a bug, particularly since the error message isn't enlightening.

  days_to_keep : 30
  keep_pinned : True
  toots_to_keep :
  hashtags_to_keep : !!set { }
  visibility_to_keep :
    - direct

Results in the same 'Unknown ERROR'

  toots_to_keep :
    -

Behaves as expected.

  hashtags_to_keep :
    -

Results in:
🛑 Unknown ERROR deleting toot - 104085338364800829
'list' object has no attribute 'intersection'

... where one would reasonably assume it to follow the same scheme as the other elements, instead of something completely different.

from ephemetoot.

hughrun avatar hughrun commented on September 23, 2024

hmm yes that's probably a reasonable expectation. hashtags_to_keep needs to be a Set rather than a List so we can use an intersection but I can change the code so it initially takes a list and turns it into a Set. Probably also should set some default empty values if something is absent.

from ephemetoot.

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.