./run Doesn't Work

Bug #1580667 reported by Svetlana Belkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RedNotebook
Invalid
Undecided
Unassigned

Bug Description

When I try to use the "./run" command in the README.md to run locally (to work on my repsin of RN), I get this error:

svetlana@svetlana-desktop:~/Dropbox/ELNrednotebook$ ./run
Traceback (most recent call last):
  File "rednotebook/journal.py", line 126, in <module>
    setup_logging(dirs.log_file)
  File "rednotebook/journal.py", line 88, in setup_logging
    file_logging_stream = open(log_file, 'w')
IOError: [Errno 13] Permission denied: u'/home/svetlana/.rednotebook/rednotebook.log'

But oddly enough, when I use sudo with the command it runs. This is why I brought up that PR on Github.

Revision history for this message
Jendrik Seipp (jendrikseipp) wrote : Re: [Bug 1580667] [NEW] ./run Doesn't Work

It seems you don't have write permissions in your home folder or the
.rednotebook folder. You'll probably have to use chown or chmod to fix this.

Revision history for this message
Svetlana Belkin (belkinsa) wrote :

I tried to change the permissions on the .rednotbook folder (home folder is fine) but it's still says that root is the owner, group, and user.

Revision history for this message
Jendrik Seipp (jendrikseipp) wrote : Re: [Bug 1580667] Re: ./run Doesn't Work

chown should change this.

Revision history for this message
Svetlana Belkin (belkinsa) wrote :

chown worked. Thanks.

Changed in rednotebook:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.