opened
VINXIS
username_0
Yo i dunno if u r still working on this but I figured i'd try some stuff with it and see some results

I tried running step 1 however i was getting this error:
```py
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-5-7e5bd69e56b2> in <module>
     45 #     try:
     46     start = time.time()
---> 47     read_and_save_osu_file(mname.strip(), filename=os.path.join(mapdata_path, str(k)), divisor=divisor);
     48     end = time.time()
     49     print("Map data #" + str(k) + " saved! time = " + str(end - start) + " secs");

A:\Users\oykxf\Documents\osumapper\ipynb\osureader.py in read_and_save_osu_file(path, filename, divisor)
    327 #
    328 def read_and_save_osu_file(path, filename = "saved", divisor=4):
--> 329     osu_dict, wav_file = read_osu_file(path, convert = True);
    330     data, flow_data = get_map_notes(osu_dict, divisor=divisor);
    331     timestamps = [c[1] for c in data];

A:\Users\oykxf\Documents\osumapper\ipynb\osureader.py in read_osu_file(path, convert, wav_name, json_name)
     20     subprocess.call(["node", "load_map.js", "jq", path, json_name]);
     21 
---> 22     with open(json_name, encoding="utf-8") as map_json:
     23         map_dict = json.load(map_json); # not "loads" it is not a string
     24 

FileNotFoundError: [Errno 2] No such file or directory: 'temp_json_file.json'
```

i created a temp_json_file.json in the same directory with an empty object, and then got this error as a result:
```py
Number of filtered maps: 146
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-6-7e5bd69e56b2> in <module>
     45 #     try:
     46     start = time.time()
---> 47     read_and_save_osu_file(mname.strip(), filename=os.path.join(mapdata_path, str(k)), divisor=divisor);
     48     end = time.time()
     49     print("Map data #" + str(k) + " saved! time = " + str(end - start) + " secs");

A:\Users\oykxf\Documents\osumapper\ipynb\osureader.py in read_and_save_osu_file(path, filename, divisor)
    327 #
    328 def read_and_save_osu_file(path, filename = "saved", divisor=4):
--> 329     osu_dict, wav_file = read_osu_file(path, convert = True);
    330     data, flow_data = get_map_notes(osu_dict, divisor=divisor);
    331     timestamps = [c[1] for c in data];

A:\Users\oykxf\Documents\osumapper\ipynb\osureader.py in read_osu_file(path, convert, wav_name, json_name)
     24 
     25         if convert:
---> 26             mp3_file = os.path.join(file_dir, map_dict["general"]["AudioFilename"]);
     27             subprocess.call([GLOBAL_VARS["ffmpeg_path"], "-y", "-i", mp3_file, wav_name]);
     28 

KeyError: 'general'
```

Any idea as to what I should do?
Issue with step 1
issue
created
VINXIS
username_0
nvm i completely forgot to install dependencies for node!!!! Sorry for small brain issue
comment
closed
VINXIS
username_0
issue