Comments (3)
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.
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.
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)
- Handling/retry of 500 errors? HOT 7
- Do you have a Kofi/PayPal/Venmo? HOT 2
- BUG - v2.6 still shows v2.5 HOT 3
- BUG - unhelpful error message when insufficient API scopes HOT 12
- use format checking in config file creation
- move test run completion message to after cleanup complete message
- verbose mode for easier troubleshooting
- BUG - upgrade instructions in --version are wrong
- Quieter mode? HOT 1
- add tests for -qq and -qqq
- add boosts only option HOT 6
- Include tests on pypi distribution HOT 2
- fix typo in docs HOT 2
- ERROR: unsupported operand type(s) for +=: 'NoneType' and 'int' HOT 11
- clearer config information
- Mention cleantoots in the docs HOT 2
- Optionally include media attachments in archives HOT 1
- add tests for media archiving
- Remove favorites HOT 1
- Not deleting replies / mentions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ephemetoot.