Waztom / xchem-CAR

5 stars 0 forks source link

Time to launch file not found error when executing makemigrations #51

Closed GitGud93 closed 3 years ago

GitGud93 commented 3 years ago

File not found error for the directory logs, which is not what was created according to the instructions (mkdir log). I'm assuming that upon running the python migration script(not sure what this does yet, haven't read up on the commands) it looks for the directory we created to place things in but is looking for a 'logs' directory while we created a 'log' directory? Is this true or am i misunderstanding things?

image

Waztom commented 3 years ago

Oh shoot - sorry, the instruction in the README should be (have updated):

mkdir log && cd log && touch logsfile.log

What is happening, is that you've created the log directory correctly but created the 'logsfile.log' in the 'workspace/CAR' directory. You can cd into the log directory at 'workspace/CAR/log' and create the logsfile.log using touch logsfile.log.

GitGud93 commented 3 years ago

Thanks, though I think the readme is still incorrect as i got the same error. I've changed the code to mkdir logs && cd logs && touch logfile.log

Which didn't cause an error and matches up with the directory required. Running the manage and make migrations code now doesn't return an error however it does return 'No changes detected' is this correct? The subsequent migrate command seems to have worked as well as the remaining pieces of code so it is fixed! :)