Comments (2)
My current workaround is to set the about page and comment out the ID_OF_HOWTO_PAGE
in the blog-template file.
By the way empty string is not allowed by the system and I get errors at blog generation>
Tried ID_OF_HOWTO_PAGE=''
Error-Message: Traceback (most recent call last):
File "./lazyblorg.py", line 14, in <module>
import config # lazyblorg-global settings from "config.py"
File "/home/andreas/git/lazyblorg/config.py", line 140, in <module>
assert(len(ID_OF_HOWTO_PAGE) > 0)
AssertionError
Tried ID_OF_HOWTO_PAGE=' '
Error-Message: ERROR blog_data_with_id(" ") did not find exactly one result (as expected): [[]]. Maybe you mistyped an internal link id (or there are multiple blog entries sharing IDs)?
Traceback (most recent call last):
File "./lazyblorg.py", line 587, in <module>
statistics_list = lazyblorg.generate_output(generate, marked_for_feed, increment_version)
File "./lazyblorg.py", line 181, in generate_output
return htmlizer.run() # FIXXME: return value?
File "/home/andreas/git/lazyblorg/lib/htmlizer.py", line 205, in run
stats_generated_persistent, stats_generated_tags = self._generate_pages_for_tags_persistent_temporal(tags)
File "/home/andreas/git/lazyblorg/lib/htmlizer.py", line 367, in _generate_pages_for_tags_persistent_temporal
entry)
File "/home/andreas/git/lazyblorg/lib/htmlizer.py", line 1954, in _generate_temporal_article
htmlcontent = self.sanitize_internal_links(htmlcontent)
File "/home/andreas/git/lazyblorg/lib/htmlizer.py", line 1701, in sanitize_internal_links
url = self.generate_absolute_url(targetid)
File "/home/andreas/git/lazyblorg/lib/htmlizer.py", line 1657, in generate_absolute_url
url_for_the_target_id = self._target_path_for_id_without_targetdir(targetid)
File "/home/andreas/git/lazyblorg/lib/htmlizer.py", line 2270, in _target_path_for_id_without_targetdir
entry = self.blog_data_with_id(entryid)
File "/home/andreas/git/lazyblorg/lib/htmlizer.py", line 2375, in blog_data_with_id
raise HtmlizerException(self.current_entry_id, message)
lib.htmlizer.HtmlizerException: 'Entry 2019-10-12-hellofresh - blog_data_with_id(" ") did not find exactly one result (as expected): [[]]. Maybe you mistyped an internal link id (or there are multiple blog entries sharing IDs)?'
from lazyblorg.
Fixed in the master now. For quick workaround, you could remove the two lines in config.org
with the length-check. If you set the strings to empty, make sure that their references in the templates are removed as well.
from lazyblorg.
Related Issues (20)
- RSS Icon missing in repo HOT 1
- Browse by month rather than day HOT 1
- Feed Generation broken HOT 2
- Why require so many timestamps? HOT 3
- Password-protected hidden sharing HOT 3
- Make lazyblorg workflow less tedious HOT 5
- Be able to use #+LINK definitions for URL shortcuts HOT 4
- Why no webp? HOT 1
- Add a customization option for the order of auto-generated article link lists
- Print out hidden URLs when generating blog
- warn if an unknown link type is found
- Replace shell scripts with Makefile? HOT 1
- Broken Tests HOT 2
- Bug: Multi-line description URLs in quote blocks result in wrong formatted HTML descriptions
- Generate a log-file in orgdown format
- Add venv info HOT 3
- Ignore single-line comment instructions HOT 1
- Ability to Schedule posts in the future HOT 1
- Implement Mastodon article preview HOT 1
- Limit tag cloud size HOT 4
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 lazyblorg.