Skip to content

to run the program by sudo  #18

Description

@icltc

when I ran the program in the first time, it reported this:
File "/home/kyah/MLO-master/model/trials/trial.py", line 91, in initialise
results_folder, images_folder = self.create_results_folder()

ValueError: too many values to unpack

when I found the code in the find and add a return value to this function, it turned out a new error message
File "/home/kyah/MLO-master/model/run.py", line 110, in save_run_data
with open(self.results_folder_path + '/run_data.txt', 'w') as run_data:

IOError: [Errno 2] No such file or directory: '/data/log/2013-01-31_22-38-41/run_data.txt'

then I try sudo sh run_mlo,sh, it works....
I believe it's because it cannot create a folder without a sudo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions