I want to ask if the windows installer is available for Lektor. I am still struggling with cmd!
there is (was?) a possibility to install Lektor under Windows https://www.getlektor.com/docs/installation/#command-line-application but I wouldn't count on it as it is probably not tested nearly as well as the Linux version. Use the WSL.
A coworker of mine is getting this error when trying to run "lektor build" on Windows 10:
OSError: [WinError 17] The system cannot move the file to a different disk drive: 'C:\Users\xxxxx\AppData\Local\Lektor\Cache\builds\5c6b4943d1e300e6f4a569e14f69f994\.__transe8mhexjg' -> 'C:\Users\xxxxx\AppData\Local\Lektor\Cache\builds\5c6b4943d1e300e6f4a569e14f69f994\index.html'
We also noticed that the directory that is mentioned in the error message does not exist. AFAIK it should be automatically created by Lektor, right?
I cannot reproduce the error on my local Windows 10 machine – for me everything just worked. Has anyone seen this kind of error before and can point me into any direction?
hello, trying to implement the categories as per doc https://www.getlektor.com/docs/guides/categories/ but the checkbox does not work at all. it gives error as follows
multiWidgets.jsx:47 Uncaught TypeError: Cannot read property 'props' of undefined at onChangeHandler (multiWidgets.jsx:47)
My interim solution is hardcoding the alert into a function, and using a field to enable/disable the alert on each Page. I'd really like this to be something a non-tech person can update though.
I would do something like this: First create a template that renders the error message as a string only without any HTML around it. You then can create a separate page that only contains the alert message and assign the new template to this page.
Hi, I've tried to install Lektor 3.2 on macOS 11.2.3, but got an error with bulding cryptography module, full output here https://pastebin.com/qwAGAmPZ
If there some workaround to install Lektor correctly?
Hey there, I am trying to create a plugin for lektor; I have content (page), which has a custom field
vimeo_id and I would like to access that while on the Plugin, the idea is: if the content does not have an attachment (provided thumbnail) use BeautifulSoup to grab the thumbnail from the vimeo website.
I can't seem to reach the fields, I am introspecting
context['this'] but can't seem to find them; and I am doing it on
on_process_template_context any hints on the right direction?
_datathe correct way about this?
Attachmentsbe created on the fly? So in my previous example, I want to download the vimeo thumbnail, and ideally create an Attachment out of it and store it in the content folder.