Giter Club home page Giter Club logo

Comments (6)

terrelsa13 avatar terrelsa13 commented on May 17, 2024 1

@keppo070
I definitely missed a condition where the script was reading the cfg.xyz variable before the media_cleaner_config.py file was imported. This should now be fixed in the master.

Let me know if you have any other issues.

from media_cleaner.

terrelsa13 avatar terrelsa13 commented on May 17, 2024

Tonight is date night with my better half. But I will be able to fix this Tuesday.

I had a feature request a few months ago to allow adding users to the existing config. Those changes are in this latest version. I must have missed something. Restore your old config if you still have it. That should work. If it does not work, the "missing" config variables will need to be added anywhere in the config file to get it going again.

Apologies for the mess up here!

from media_cleaner.

terrelsa13 avatar terrelsa13 commented on May 17, 2024

@keppo070
Question: Does this error occur the first time the script runs (aka during the creation of the config file)?
Or does it occur the second time the script runs (aka after the config file has been created)?

from media_cleaner.

keppo070 avatar keppo070 commented on May 17, 2024

It occurs the first time. I deleted my old media_cleaner_config.py before starting the new media_cleaner.py. The config seems to work... but i'm not sure what is missing or not. I can post the resulting config if that helps.

from media_cleaner.

terrelsa13 avatar terrelsa13 commented on May 17, 2024

From the error it appears it cannot find the media_cleaner_config.py file. But it must be there because you're seeing it.

I bet I have a chicken and egg thing happening somewhere. It appears it is trying to do a dry-run the first time the script is run. That shouldn't happen. The first run should just build a config. The next runs should execute the "cleaning" parts of the script.

Will you verify UPDATE_CONFIG=FALSE and script_behavior=blacklist in the new config file?

from media_cleaner.

keppo070 avatar keppo070 commented on May 17, 2024

https://pastebin.com/i101bEWm my media_player_config.py which was the resulting after the error

I did try to do something with git maybe I got it wrong. I will try with a manual download of media_cleaner.py

no, the same error after downloading it again

from media_cleaner.

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.