Coder Social home page Coder Social logo

masneyb / shotwell-site-generator Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 0.0 7.27 MB

Generates a static HTML site based on the contents of your Shotwell photo/video library.

License: GNU General Public License v3.0

Python 46.88% CSS 1.82% Shell 1.88% HTML 13.79% JavaScript 35.62%
photoframe shotwell static-site

shotwell-site-generator's People

Contributors

masneyb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

shotwell-site-generator's Issues

Ignoring event id -1 with no media

Hi

I'm trying to generate HTML from my Shotwell DB, I've encountered another error:

...
2020-05-25 16:40:11,339 Generating thumbnail /compartido/webshotwell/thumbnails/event/2c/3023.png
2020-05-25 16:40:16,048 Ignoring event id -1 with no media.
Traceback (most recent call last):
  File "./shotwell_site_generator.py", line 113, in <module>
    process_photos(ARGPARSER.parse_args(sys.argv[1:]))
  File "./shotwell_site_generator.py", line 49, in process_photos
    all_media = fetcher.get_all_media(rating)
  File "/home/jesus/git/shotwell-site-generator/media_fetcher.py", line 76, in get_all_media
    self.__fetch_tags(all_media)
  File "/home/jesus/git/shotwell-site-generator/media_fetcher.py", line 227, in __fetch_tags
    all_media["events_by_year"][media["year"]]["tags"].append(row["id"])
KeyError: '1970'

Any clue about what might be the problem? It seems it's looking for an event called '1970', but I have no such event...

no such table: BackingPhotoTable

Hi!

I'm trying to use this tool, looks very promising, but after all night generating thumbnails, I'm stuck at the following error:

Traceback (most recent call last):
  File "./shotwell_site_generator.py", line 110, in <module>
    process_photos(ARGPARSER.parse_args(sys.argv[1:]))
  File "./shotwell_site_generator.py", line 49, in process_photos
    all_media = fetcher.get_all_media(rating)
  File "/home/jesus/git/shotwell-site-generator/media_fetcher.py", line 45, in get_all_media
    self.__fetch_media(all_media, min_rating)
  File "/home/jesus/git/shotwell-site-generator/media_fetcher.py", line 130, in __fetch_media
    for row in cursor.execute(qry, str(min_rating)):
sqlite3.OperationalError: no such table: BackingPhotoTable

During thumbnail generation I got some errors due to broken JPGs, but I don't know how to fix this.

Any idea?

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.