Skip to content

OSError when I run run_tracker.py #6

@ghost

Description

Describe the bug
Hi, french student in cognitive science here. I am having trouble while installing your script. I am a beginner in Python (and some kind of beginner in Shell), so I am probably doing it wrong.

While installing optracker, using git clone and after installing requirements.txt modules, I run the script using python ./run_tracker.py and obtain this error :

- Starting openSource Tracker v.1.3.6
+ Text Libray loaded
Traceback (most recent call last):
  File "run_tracker.py", line 4, in <module>
    run()
  File "/Users/naybu/Desktop/opensource-tracker/optracker/optracker.py", line 174, in run
    myOptracker = Optracker()
  File "/Users/naybu/Desktop/opensource-tracker/optracker/optracker.py", line 16, in __init__
    self.createRootfolder()
  File "/Users/naybu/Desktop/opensource-tracker/optracker/optracker.py", line 154, in createRootfolder
    self.createFolder(self.zero.OP_ROOT_FOLDER_PATH_VALUE)
  File "/Users/naybu/Desktop/opensource-tracker/optracker/optracker.py", line 146, in createFolder
    os.mkdir(folder)
**OSError: [Errno 30] Read-only file system: '/optracker\\'**

To Reproduce
Steps to reproduce the behavior:

  1. Install optracker using git clone
  2. Install requirements (in the optracker directory)
  3. Run run_tracker.py

Expected behavior
I expected run_tracker to run to continue the tutorial on the readme.

Desktop (please complete the following information):

  • OS: Mac OS X 11.1 (Big Sur)
  • Python 2.7
  • Same trouble on Python 3.8

Additional context
I have the same issue if I install the script using PIP. Also, I installed requirements in the optracker directory, because I had permission issues while installing in default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions