OS: Ubuntu 15.04
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.5484 (Git)
Build type: None
Branch: master
Hash: 53320b260eb978861321eeb5021d92aaf97dcf46
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
The usr/lib/freecad//Mod/plugins/ isn't writeable on a standard ubuntu install.
Code: Select all
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "<input>", line 12, in st1
File "/usr/bin/../lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/lib/freecad//Mod/plugins/'
If I manually create the folder and run the script i get:
Code: Select all
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "<input>", line 15, in st1
File "/usr/lib/python2.7/shutil.py", line 302, in move
copy2(src, real_dst)
File "/usr/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/usr/lib/freecad//Mod/plugins//eventfilter.py'