Giter Club home page Giter Club logo

ascii-flyers's People

Contributors

flxai avatar

Stargazers

 avatar

Watchers

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

ascii-flyers's Issues

"Unknown string format" when trying the example

I tried the example from the README

./ascii-flyer.py --title "Brennende Computer" \                             1 ↵ 
                 --description "Daten fangen Feuer? Löschen Sie sie sofort\!" \
                 --datetime "$(date --date='next tuesday 19:23')" \
                 --type "Predigt"\
                 --preview

I get this:

Traceback (most recent call last):
  File "./ascii-flyer.py", line 211, in <module>
    make_pdf_file(PDF_PATH, args)
  File "./ascii-flyer.py", line 184, in make_pdf_file
    draw_text_front(x * box_width + BORDER_H, y * box_height + BORDER_V, c, args, color_fg)
  File "./ascii-flyer.py", line 112, in draw_text_front
    for i, line in enumerate(get_text_invitation_front(args.event_title, args.event_datetime, args.event_type).split('\n')[::-1]):
  File "./ascii-flyer.py", line 92, in get_text_invitation_front
    event_datetime_reparsed = datetime.datetime.strftime(parse(event_datetime), DATE_FORMAT)
  File "/usr/lib/python3/dist-packages/dateutil/parser/_parser.py", line 1356, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "/usr/lib/python3/dist-packages/dateutil/parser/_parser.py", line 648, in parse
    raise ValueError("Unknown string format:", timestr)
ValueError: ('Unknown string format:', 'Di 28. Jan 19:23:00 CET 2020'

requirements.txt missing

The readme says I should install the packages from the requirements.txt. There is no requirements.txt

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.