Comments (4)
Thanks a lot for reporting.
What config or command line arguments do you use? I did not manage to reproduce.
Maybe the following change can help...
--- a/lazygal/genpage.py
+++ b/lazygal/genpage.py
@@ -92,7 +92,8 @@ class WebalbumBrowsePage(WebalbumPage):
super().__init__(dir, size_name, self.media.name)
self.add_dependency(self.webalbum_media.resized[size_name])
- if webalbum_media.original:
+ if webalbum_media.original \
+ and self.dir.newsizers[size_name] != 'original':
self.add_dependency(self.webalbum_media.original)
# Depends on source directory in case an image was deleted
from lazygal.
I was just testing lazygal with no particular command line argument apart from the directory to scan as shown above.
With --debug
I get this extra line which may or may not indicate something?
Trying loading gallery configs:
PersistentIndex(b'/lazygal_output/index.json') build needed: never built
Applying the patch above didn't change anything, I get the same error.
from lazygal.
This should fix the issue.
from lazygal.
Thanks for the fix, it seems to work just fine now. 👍
from lazygal.
Related Issues (17)
- lazygal video transcode fails if no audio HOT 1
- Support for HEIF/HEIC images HOT 8
- Lazygal fails on background color with cannot write mode RGBA with JPEG HOT 4
- Gif image support
- DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12 HOT 1
- Import from multiple source directories HOT 4
- feature request, enlarge images and remove margine
- Incorrect number of images in subdir HOT 3
- Next/Previous image overlap main image HOT 1
- filtering out tags
- Access arbitrary image metadata from templates
- auto space thumbnail page
- Minor typo "dl_asset" HOT 1
- feature request ffmpeg hwaccel HOT 4
- video tests fail if ffmpeg/ffprobe are not in PATH HOT 2
- test_usercomment_empty_and_encoding fails on Fedora rawhide 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 lazygal.