Shugabuga / Silica

A static site generator for MobileAPT repos.
https://silica.shuga.co/
Other
160 stars 38 forks source link

Error by running index.py #16

Closed 10Meisterbaelle closed 5 years ago

10Meisterbaelle commented 5 years ago

Silica Compiler 1.1.0 Traceback (most recent call last): File "index.py", line 226, in <module> main() File "index.py", line 53, in main tweak_release = PackageLister.GetTweakRelease() File "/home/nepeta/Downloads/Silica-master/util/PackageLister.py", line 55, in GetTweakRelease with open(self.root + "Packages/" + tweakEntry + "/silica_data/index.json", "r") as content_file: FileNotFoundError: [Errno 2] No such file or directory: '/home/nepeta/Downloads/Silica-master/util/../Packages/Test/silica_data/index.json'

Shugabuga commented 5 years ago

Duplicate of #15.

10Meisterbaelle commented 5 years ago

It's different, compare the errors.

Shugabuga commented 5 years ago

I did. They're both errors caused by a missing or mal-formatted index.json file for the package. Python just complains slightly differently.

10Meisterbaelle commented 5 years ago

How do I create a index.json file, It didn't create one automattically.

Shuga notifications@github.com schrieb am Fr. 4. Okt. 2019 um 17:49:

I did. They're both errors caused by a missing or mal-formatted index.json file for the package. Python just complains slightly differently.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Shugabuga/Silica/issues/16?email_source=notifications&email_token=AK6KPAGHNFNQZN345FAT2O3QM5QXXA5CNFSM4I4K5ACKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAMCVHI#issuecomment-538454685, or mute the thread https://github.com/notifications/unsubscribe-auth/AK6KPACI6G5BL23NITFWSI3QM5QXXANCNFSM4I4K5ACA .

Shugabuga commented 5 years ago

Look at the README for an example of an index.json file. It'll go in the package's silica_data file.

This has to be done for every package.