Thema installatie

AI-generated summary

A user, itd-john, is experiencing errors when installing both built-in and custom themes in Discourse. The primary error message is Failed to process hijacked response correctly : Errno::ENOENT : No such file or directory - timeout, and also an about.json import error when installing from a device itd-john. The issue with the custom theme centers around the location of the about.json file; Discourse expects it at the root of the theme’s zip file, but it’s currently nested within a directory Moin. itd-john confirmed they’ve tried moving the file but still encounter the error. [Moin](/t/-/373577/7, /t/-/373577/9) shared a working zip file (itd-1.zip) and noted that directories like __MACOSX should not be included in the theme’s zip archive. NateDhaliwal requested the theme/component being installed, and itd-john provided the initial itd.zip file. There’s a separate, later reported syntax error after a successful installation with the shared zip file Moin. The user has verified dependencies and has a compatible ImageMagick version itd-john.

Het is me meerdere keren niet gelukt om een thema te installeren zonder een foutmelding. Er staan hier verschillende voorbeelden met problemen bij het installeren van een thema, maar geen daarvan past bij mijn situatie. Ook heb ik het forum voor installatie niet bovenaan deze pagina kunnen vinden. Dus, hier is het:

Ik krijg een foutmelding bij elke OOTB-thema-installatie

Failed to process hijacked response correctly : Errno::ENOENT : No such file or directory - timeout

Ik heb meerdere keren opnieuw geĆÆnstalleerd en ook de afhankelijkheden geverifieerd. Ik heb ImageMagick geĆÆnstalleerd en de versie is 7.1.1-47. Ik gebruik Mac Sequoia 15.5.

Dank u wel!

Hallo, kun je het thema/onderdeel delen dat je probeert te installeren? Bedankt!

Hallo Nate! Bedankt dat je ernaar hebt gekeken. Ik heb het zip-bestand voor het thema bijgevoegd. Het is me gelukt om de OOTB werkend te krijgen, maar alleen wanneer ik het via een zip-bestand installeer. Het aangepaste thema hier geeft nog steeds een foutmelding. Bedankt!

itd.zip (142,8 KB)

Ik weet niet of dit helpt, maar ik krijg dezelfde foutmelding ā€˜Er is een fout opgetreden: Import Error: about.json bestaat niet, of is ongeldig. Weet u zeker dat dit een Discourse Thema is?’ bij het installeren van een thema of thema-component vanaf een apparaat. De installatie vanuit een git-repository geeft ook elke keer een 500-fout.

The about.json is in a folder, which is why Discourse doesn’t find it. It exspects it here:

But it’s in one of the folders:

En moet de map in de thema-map in het bestandssysteem worden geplaatst of doet het ertoe? Ik krijg hetzelfde resultaat als ik about.json buiten de itd-map plaats.

I’m not sure I follow you. Why do you choose a folder to install the theme? I simply used the ā€œfrom your deviceā€ install option.


This was the zip I used.
itd-1.zip (126.8 KB)

The installation worked, but there is a syntax error

Sorry, I may have mixed two issues. Installing ā€œfrom your deviceā€, I receive the about.json error so, as your previous post suggested, move the about.json from the itd folder and place it ā€˜outside’ the folder. Which I did. The location I have my folder, itd, is in the themes/ directory with foundation and horizon. I zip the itd folder and then install. I still receive the error regarding the about.json.

Ik heb niet voorgesteld om het about.json-bestand te verplaatsen. Ik stelde voor om naar de bestandsstructuur in het algemeen te kijken. Normaal gesproken maakt __MACOSX geen deel uit van de themastructuur. Je hebt alleen de andere itd-map nodig als zip.

Werkt de zip die ik heb gedeeld voor jou?