Running PartitionFinder in Linux

146 views
Skip to first unread message

bjzhong bjzhong

unread,
Nov 27, 2014, 8:26:30 AM11/27/14
to partiti...@googlegroups.com
Hi Rob,

I downloaded the mac version of PartitionFinder, and tried to use it in Linux. But I got some errors shown as below. Do you have any suggestions?

Many thanks,

Bojian


Traceback (most recent call last):

File "/home/zl/桌面/PartitionFinderV1.1.1_Mac/PartitionFinder.py", line 23, in <module>

sys.exit(main.main("PartitionFinder", "DNA"))

File "/home/zl/桌面/PartitionFinderV1.1.1_Mac/partfinder/main.py", line 320, in main

cfg.load_base_path(args[0])

File "/home/zl/桌面/PartitionFinderV1.1.1_Mac/partfinder/config.py", line 217, in load_base_path

self.init_logger(self.base_path)

File "/home/zl/桌面/PartitionFinderV1.1.1_Mac/partfinder/config.py", line 240, in init_logger

handler = logging.FileHandler(os.path.join(pth, "log.txt"), 'a')

File "/usr/local/lib/python2.7/logging/__init__.py", line 911, in __init__

StreamHandler.__init__(self, self._open())

File "/usr/local/lib/python2.7/logging/__init__.py", line 936, in _open

stream = open(self.baseFilename, self.mode)

IOError: [Errno 13] Permission denied: '/home/zl/\xe6\xa1\x8c\xe9\x9d\xa2/\xe6\x9c\xaa\xe5\x91\xbd\xe5\x90\x8d\xe6\x96\x87\xe4\xbb\xb6\xe5\xa4\xb9/log.txt'

Rob Lanfear

unread,
Nov 27, 2014, 10:20:32 AM11/27/14
to partiti...@googlegroups.com
Hi Bojian,

This looks like a permissions problem similar to the one described here: 


My guess is that you don't have root access on the machine you are using. If so, this is something you'd need to sort out with your sysadmins.

Cheers,

Rob
Reply all
Reply to author
Forward
0 new messages