RogueEdit / pyRogue

Educational Project
GNU Affero General Public License v3.0
51 stars 37 forks source link

Question: Attention needed #150

Closed Michael-Bourke closed 1 month ago

Michael-Bourke commented 2 months ago

Am I doing something wrong, or is there a bug?

Error in enumLoader.__load_data(). [Errno 2] No such file or directory: 'C:\Users\Michael\Downloads\onlineRogueEditor-main\data/pokemon.json' Something went wrong. 'NoneType' object is not subscriptable

image

image

Followed the following steps to install:

How to run from code

  1. Install python
  2. Download the source code
  3. Extract the source code
  4. Open a terminal, navigate into your [extracted_folder]/src/
  5. Install all the requirements using python according to setup - python3 -m pip install -r requirements.txt
  6. Now you should be able to run main.py - python3 main.py
JulianStiebler commented 2 months ago

You are missing a file. Have you moved the data/ files aswell? it seems you only have the ones we are generating on runtime. Atleast you are missing 2 important data files from what i see and potentially data in extra.json

Please redownload the current up2date release or source code. Or browse the src/ folder of our repo and fetch your missing pokemon.json and it appears you are also missing moves.json and have a too small extra.json

Theoreitcally the program only needs those 3 for sure, the other ones are generated in runtime. grafik

I highly recommend to just update because the official packed release for sure has all files correctly. Also V0.3.2 has a brand new item feature aswell so its also worthwhile.

There actually was no time where i ever missed the .json's to include so not sure what happened at you.

grafik

This is how every release looks. and the /src/data/ folder even has all aswell.

The other .jsons present at youre folder are generated on runtime. But it definetly needs pokemon.json - extra.json - moves.json


If you look at the main repo of ours; grafik

You see they are theyre for a longer time so no idea what happened ^^ And in release no one else complaint so i shouldnt forgotten them and i looked, the importnat 3 files are for sure there.