התקנת ערכת נושא

סיכום מבוסס בינה מלאכותית

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.

היתרואו סגור: השבתת טיסות צפויה להימשך בימים הקרובים, אומר מנהל שדה התעופה של לונדון**

היי, תוכל לשתף את ערכת הנושא/הרכיב שאתה מנסה להתקין? תודה!

היי נייט! תודה שהסתכלת. כללתי את קובץ ה-zip עבור הערכה. הצלחתי להפעיל את ה-OOTB, אבל רק כשאני מתקין אותו דרך קובץ zip. הערכה המותאמת אישית כאן עדיין זורקת שגיאה. תודה!

itd.zip (142.8 KB)

אני לא יודע אם זה עוזר אבל אני מקבל את אותה שגיאה ‘אירעה שגיאה: שגיאת ייבוא: about.json אינו קיים, או שהוא לא תקין. האם אתה בטוח שזהו ערכת נושא של Discourse?’ בעת התקנת ערכת נושא או רכיב ערכת נושא ממכשיר. ההתקנה ממאגר git גם זורקת שגיאת 500 על כל אחד מהם.

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:

והאם יש למקם את התיקייה בתיקיית ה-themes במערכת הקבצים או שזה משנה? אני מקבל את אותה התוצאה כאשר אני ממקם את about.json מחוץ לתיקיית itd.

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

מצטער, ייתכן שערבבתי שתי בעיות. בעת ההתקנה “מהמכשיר שלי”, אני מקבל את שגיאת about.json, אז כפי שההודעה הקודמת שלך הציעה, העברתי את about.json מהתיקייה itd והצבתי אותה ‘מחוץ’ לתיקייה. מה שעשיתי. המיקום שבו יש לי את התיקייה שלי, itd, הוא בספריית themes/ יחד עם foundation ו-horizon. אני דוחס את תיקיית itd ואז מתקין. אני עדיין מקבל את השגיאה בנוגע ל-about.json.

לא הצעתי להעביר את הקובץ about.json. הצעתי לבחון את מבנה הקבצים באופן כללי. בדרך כלל __MACOSX אינו חלק ממבנה הערכה. תזדקק רק לתיקיית ה-itd האחרת כקובץ zip.

האם קובץ ה-zip ששיתפתי עובד עבורך?