Repository navigation
Error running 'quire build' command #1207
|
Hi folks, I'm wondering if someone can assist. I'm trying to run the 'quire build' command and then follow it with 'quire pdf' and 'quire epub' so that I can create these output now that the html version of my project is basically done. When I run the build command, I get a lot of code in return, most of which I ignore, but buried among it is an error about a directory not being empty. This bit: '✗ Build failed in 31.85s\n' + I'm not clear on what it means when it tells me to rename .11ty-vite to ./_site/ - one, because I can't find any file or folder labelled .11ty-vite; two, because there already is a directory called _site; and three, because while it's true that that directory isn't empty, I'm wary of emptying this folder because it seems to be where all my IIIF images live, along with some other figures and files (the figures themselves are also in the _assets folder, but as far as I can tell this is the only place where the IIIF images live, and the thousands of tiles that comprise each one). I have a vague memory of trying to run the build command a few months ago and running into an error then as well, but I'm only now getting around to revisiting this part of the project. Could the fact that I've tried to do this once already be why my _site directory isn't empty? Is the fix as simple as emptying it and running the command again? Any advice appreciated as I'm not sure if I've even interpreted the error correctly. I'm on version 1.0.0-rc.33. |
Replies: 12 comments 9 replies
|
Hi @bronwyn-at-qm, I'm not a developer, I'm just a Quire user (a happy user - I would say - since three years now). I'll try to help you. I understand that the build process is trying to rename the About About your IIIF tiles in Try this fix:
And yes — the non-empty Hope that helps! |
|
Thanks for your help with this @lucafalefoto!! Hi @bronwyn-at-qm, here are a few other things you can try in addition to deleting the
When you run That said, as both @lucafalefoto and you have pointed out, this may very well be a permissions issue. Let us know how experimenting with a new project goes as well as what your IT says. We'll figure it out! |
|
@Erin-Cecele @lucafalefoto Thank you both! I seem to have this working now. The system error I was getting has been resolved by our helpful IT team (an app called Airlock Enforcement was blocking the And I also followed Erin's advice to empty trash in addition to deleting the |
|
Hi @Erin-Cecele I don't recall seeing anything in the error messaging that mentioned that Airlock Enforcement was blocking the build, but at that point I was more focused on the fatal error about the non-empty Thanks for linking to the docs for PDF customisation - I've read through everything about 3 times already but I'm not finding answers to the specific things I'm trying to fix. My HTML version had very little customisation because I was trying to do as much as possible with the standard template, but now I'm diving into CSS as a beginner and it's slightly terrifying. I also seem to have broken something in the web version in the process of making the PDF. Question: If I run I've come this far with the project but I suspect we'd really benefit from some help from a freelance developer, if you know of one. Otherwise I just spend hours troubleshooting problems that I've inadvertently created. There was I thinking this project might not be far from launching, but I feel like I've gone backwards since getting to the point of having a PDF version! |
|
Hi @Erin-Cecele - thanks for persevering with beginners like me! Here's the version information when I run [CLI] Command 'info' called with options { debug: true } I've also run Re: customisation - at the moment the main things I'll need to change are in the catalogue section of the project. It's possible they're straightforward and I haven't found the right bit of the CSS file to amend, but here are two you may be able to help with:
They were the first things I made a note of to fix. Others are less about customisation and more just me needing to go back to the YAML files to tweak some things. For example, some of the images in my project are TIFs, and while they worked fine for the web version, they didn't appear at all in the PDF. So I've converted them, replaced them in the figures folder, updated the figures.yaml to match, and hopefully that works next time I build the PDF. Onwards and upwards, as they say. :) |
|
Hi @bronwyn-at-qm, from what we can tell by your description, the slow loading of the styles when you preview sounds like mostly normal behaviour, especially if you have a large project. This could also potentially be a cookie issue; in that case, you could try a hard refresh (command+shift+R on a Mac) or open another browser to see if that helps. Finally, it's possible that you are not giving the The good news re: these customizations is that they shouldn't be too complicated. The tricky part is finding the right CSS selector for each scenario. Follow our instructions here to view the PDF in a browser: https://quire.getty.edu/docs-v1/pdf/#display-the-pdf-version-in-a-browser, use the web inspector to find the needed selectors, and add the customizations to the For #1: you’d then just apply Thanks for the feedback about the TIFFs. I double-checked our docs, and it is one of the file formats we say is compatible in Quire, but that may only be the case if they are set to Would you still like me to see about hooking you up with a freelancer for support? |
|
Hi @bronwyn-at-qm Thanks for the great update! I totally understand how steep the learning curve is for CSS and HTML. I myself am still learning as I go. Thank you SO much for sharing this fabulous resource!! I am actually going to share it more widely with the community, as many folks could use assistance in this area. Also, it's worth noting that one of our roadmap items is cleaning up the stylesheets so they are easier to parse when doing Interesting that you are still struggling with slow load times. Hmm. I can't remember whether your project is on GitHub, but if it is, feel free to add me as a collaborator. I'm happy to run tests on my system to see if that helps us narrow down the root cause. I'm so excited to see your project once it's finished! Please keep me updated, and feel free to reach out with any other troubleshooting issues or if you need dev recs. |
|
Hi @peterdschneider! Here are some steps to hopefully resolve the issue you are experiencing. I believe the main culprit is the version of Quire you are using on the new computer, but there are a few other precautions I want to take just in case: In the project on your old computer where the changes are correctly reflected in Visual Studio Code, do the following:
On the new computer, do the following:
Let me know if this works. If not, I am happy to hop on a call with you! |
|
new computer is running quire version 1.0.0. I don't see -rc.33 |
|
I've been working in branch 76-125, which I had not yet merged into master because I was still working in it. That branch has all my most recent edits except (a) on the new computer, the ones that don't preview and (b) on the old computer, the test edit, which is in a separate branch. I could merge it now if that is needed, except for my worry about conflicts. But that branch does show in the preview on my new computer. |
|
Hi @peterdschneider, let's hop on a call. I will email you to find a time. |

Thanks for your help with this @lucafalefoto!!
Hi @bronwyn-at-qm, here are a few other things you can try in addition to deleting the
_sitefolder:publicfolderWhen you run
quire build, Quire deletes the old files, builds new temporary ones, copies those to a new folder, and then deletes the temporary files. If your computer is getting full on memory, it can’t create and delete all those new files.That said, as both @lucafalefoto and you have pointed out, this may very well be a permissions issue. Let us know how experimenting with a new project goes as well as what your IT says. We'll figure it out!