Git Product home page Git Product logo

Comments (4)

allejok96 avatar allejok96 commented on August 14, 2024

Thanks for taking time and filling in the bug reports. Must find some better way to test the scripts before releasing. I have identified the problem and will fix it later.

But what do you mean by logging and "all of the output"? Like all files/links created or more info about what is indexed or what? Or more warnings when something's not right, which I know is lacking a bit...

from jw-scripts.

leejk421 avatar leejk421 commented on August 14, 2024

Sounds good. For logging, just basic logging is fine. I was just wanting the scripts console output written to a file. I tried dumping the output by using the > redirect operator, but it wouldn't work for some reason. Could be my error. Ideally I'd like to capture errored or successful runs from your script, then have Automator send me an email on failures. Something like this poster is doing: https://stackoverflow.com/questions/22520948/how-to-view-stdout-of-script-run-within-automator
But I know nothing of Python.

from jw-scripts.

allejok96 avatar allejok96 commented on August 14, 2024

The automator job you have would have generated a log file with only the category names, VODChildren and so on if I understand it correctly... Now I know nothing about macOS, but I think it's shell is bash. So in bash you would do 2> to send standard error messages aka stderr to a file or &> to send both stdout and stderr.

So the output is good enough for you already? The problem was just getting it into a file, right?

Now I've fixed the symlinking issue, please try it out again.

I've also added (back - it existed some time ago) a --clean flag. It will clean out all symlinks like before. Why? Well, the "Latest Videos" will just keep adding up forever.... So once in a while, run a new full re-index with --clean to tidy things up.

from jw-scripts.

leejk421 avatar leejk421 commented on August 14, 2024

Working fine now.

from jw-scripts.

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.