pelican build integration is failing

pelican build integration is failing because the pelican executable is either not installed or not on the PATH at build time
B
brianthelion13d ago
Others have complained about this in #pages-help
HIA
Hello, I’m Alastair!13d ago
To confirm, you've done this?
Select Environment variables (advanced) and set the PYTHON_VERSION variable with the value of 3.7.
B
brianthelion13d ago
Here's the build log
16:13:56.732 HEAD is now at 9fd0fbe Create README.md
16:13:56.733
16:13:56.813
16:13:56.814 Using v2 root directory strategy
16:13:56.837 Success: Finished cloning repository files
16:13:57.542 Detected the following tools from environment:
16:13:57.543 Executing user command: pelican content
16:13:57.552 /bin/sh: 1: pelican: not found
16:13:57.560 Finished
16:13:57.560 Note: No functions dir at /functions found. Skipping.
16:13:57.560 Validating asset output directory
16:13:57.561 Error: Output directory "output" not found.
16:13:58.762 Failed: build output directory not found
16:13:56.732 HEAD is now at 9fd0fbe Create README.md
16:13:56.733
16:13:56.813
16:13:56.814 Using v2 root directory strategy
16:13:56.837 Success: Finished cloning repository files
16:13:57.542 Detected the following tools from environment:
16:13:57.543 Executing user command: pelican content
16:13:57.552 /bin/sh: 1: pelican: not found
16:13:57.560 Finished
16:13:57.560 Note: No functions dir at /functions found. Skipping.
16:13:57.560 Validating asset output directory
16:13:57.561 Error: Output directory "output" not found.
16:13:58.762 Failed: build output directory not found
Note /bin/sh: 1: pelican: not found
C
Cyb3r-Jak313d ago
Is your repo public?
B
brianthelion13d ago
I selected pelican in the Pages setup dialog Yes, public It cloned just fine
HIA
Hello, I’m Alastair!13d ago
Can you share it?
B
brianthelion13d ago
@HardlyWorkin' No special settings should be required if I used the setup wizard
B
brianthelion13d ago
GitHub
GitHub - brianthelion/coacru.bike
Contribute to brianthelion/coacru.bike development by creating an account on GitHub.
B
brianthelion13d ago
Empty repo Still shouldn't fail on /bin/sh: 1: pelican: not found See other reports of this bug https://discord.com/channels/595317990191398933/1207732802825621588
HIA
Hello, I’m Alastair!13d ago
That's why It fails because it doesn't know what version of Pelican to use You need at minimum a requirements.txt
B
brianthelion13d ago
The documentation makes it seem like pelican will be provided by the build container Why bother using the setup wizard if I need to configure my own build environment?
HIA
Hello, I’m Alastair!13d ago
It will be, assuming that your project is a valid pelican project Provided, as in it will install tools for you. It won't pick versions for you Also because you may rely on a feature that only exists in certain versions. If Pages then installed a different version, your project wouldn't build
C
Cyb3r-Jak313d ago
This is was a complaint with the v1 pages build image because it would auto install everything like ruby/go etc for projects that didn’t need them. So V2 is more on demand installing
B
brianthelion13d ago
Are the "minimum requirements" for each builder documented somewhere?
B
brianthelion13d ago
This is WAY too deep to have to look to discover that I need a requirements.txt for this thing to work https://developers.cloudflare.com/pages/framework-guides/deploy-a-pelican-site/
Cloudflare Docs
Deploy a Pelican site · Cloudflare Pages docs
Pelican is a static site generator, written in Python. With Pelican, you can write your content directly with your editor of choice in …
HIA
Hello, I’m Alastair!13d ago
I would say, for it to handle building a Pelican Site, I would at minimum expect your repo to include a Pelican project?
B
brianthelion13d ago
This is less about the site and more about a thing not making sense to a developer who uses Python on the daily. My expectation after using the setup wizard was that the build container would have what i needed in it The build output showed that to be untrue The docs were not helpful
HIA
Hello, I’m Alastair!13d ago
The docs do ask you to Create a Pelican project first?
Cloudflare Docs
Deploy a Pelican site · Cloudflare Pages docs
Pelican is a static site generator, written in Python. With Pelican, you can write your content directly with your editor of choice in …
B
brianthelion13d ago
If the build output had said, for example, "You need to include a requirements.txt" then I would have just done that instead of complaining in here Agree, but that's buried too far down The build failure should tell me what's wrong
HIA
Hello, I’m Alastair!13d ago
I would generally say it is a good idea to read the docs if you find an error, if not before you start
B
brianthelion13d ago
Yeah nobody does that Tools are SOOO idiomatic these days Every tool like Pages does pretty much the same thing in the same way Defacto standards have appeared organically New tools need to conform or go unused I decided to try your tool. It did not conform Now I provide feedback (1) Your builder should say what the problem actually is
HIA
Hello, I’m Alastair!13d ago
I don't work at Cloudflare, I'm just a community member
B
brianthelion13d ago
(2) Your docs need to bring the minimum requirements to the front Does anybody in here actually work at CF?
HIA
Hello, I’m Alastair!13d ago
The setup instructions are the 3rd line on the page?
B
brianthelion13d ago
That page is WAY too deep in the docs The minimum requirements should be in the builders table at the top level of the docs tree
HIA
Hello, I’m Alastair!13d ago
It's in Framework Guides -> Deploy a Pelican Site? And first result if you search Pelican
B
brianthelion13d ago
Cloudflare Docs
Build configuration · Cloudflare Pages docs
You may tell Cloudflare Pages how your site needs to be built as well as where its output files will be located.
B
brianthelion13d ago
This is the page you end up at when you walk through the wizard. It takes you there as you're trying to configure your Page immediately after GH integration. That table should say what the minimum file tree in the repo requires Do we know who the Product Manager on Pages is?
HIA
Hello, I’m Alastair!13d ago
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
From An unknown user
From An unknown user
From An unknown user
Want results from more Discord servers?
Add your server
More Posts
Elevated number of 524Hey guys, we are seeing a lot of 524 responses, while the origin looks completely healthy. Any cluesonly "t" on response - AI Rest APIhey! I'm currently getting the following response on the second message to the AI: REST API responseEmail obfuscated when using HTMLRewriterHi, I'm using HTMLRewriter to parse some html data, when deployed I see parsed text has email obfusc"No deployment available" when deploying from Github ActionsMy setup is pretty straightforward. I have a Remix app with a simple build step (`remix vite:build`)Pages deployments failing (wrangler deploy)I'm attempting to deploy to an existing Remix (vite with cf) to Pages. Everything has been smooth unworkers-rs repo RA feature detectionDoes anyone else have the problem that rust-analyzer doesn't properly detect the enabled features inDynamically import incompatible packages for dev onlyI am currently dynamically importing a package that is incompatible in workers just during developmeDeploy by pushHello is it possible to deploy changes with git push like it's on vercel for my worker? or i have maAre the api docs for updating worker settings wrong?Specifically looking at this request: https://developers.cloudflare.com/api/operations/worker-scriptHow to access worker queue producer bindings in local development?At boot I see this message: ``` wrangler.toml changed... Using vars defined in .dev.vars Your workeNeed some help on collecting coverage in workers.I know that the coverage via V8 is not possible, but via istanbul it does not collect coverage as weHey there! I'm having some trouble with an SSL free certificate on my website. CloudFlare is active.So I've been trying for days now but I can't get the certification of the SSL.Identity theft reportHow can I contact Cloudflare support to remove from their platform a page that is impersonating a paZero Trust - How to filter Web Socket trafficHi, I'm using an app (iray server) that uses the same port (9090) for the web UI dashboard and WebSoCan you forward certain requests from a Cloudflare Pages site to a different domain?Hello! I'm looking to see if I could deploy a site using PayloadCMS with Cloudflare Pages. They haveHi! I want to pwd-protect my Page. How to do it with Functions?I have a static page set up, live, working. I want to add password protection to the page. I found aSet different domain for public domain and fucntions APII have a site on cloudflare pages using pages functions. the functions also acts like an rest Api vaCloudfare - Pterodactyl Name-Servershow can i connect cloudflare to pterodactyl? because when i put the cloudfare name-servers the nodeerrorIdk why i cant use warp on pc When i installed the app then it said my pc missed something to instalCloudflare HTML Email FormHello. I've created a custom website for a small business (more like customized as I used a template