microelly2 / freecad-pluginloader

GNU Lesser General Public License v3.0
10 stars 7 forks source link

References to private home folder #4

Open kkoksvik opened 9 years ago

kkoksvik commented 9 years ago

Some off refs. in pluginloader.py line 426,427

os.system("cd /home/thomas/tmp; 7z x "+zipfilename+" PCB >/tmp/aa") zipextract="/home/thomas/tmp/PCB"

microelly2 commented 9 years ago

yes, there is another problem too: I have to port it to windows

nachtelb commented 9 years ago

Yeah, please port it. :)

bug-linuxpfad-windows

microelly2 commented 9 years ago

What is the value of User parameter:Plugins/configfile? Menu Tools -> Edit Parameters ... bn_672 In your case it should be C:/Programme(x86)/FreeCAD0.15/Mod/plugins/pluginkoaderconfig.yaml

nachtelb commented 9 years ago

status-nach-pfad

The functional path for 32-Bit-Version is C:/Program Files (x86)/FreeCAD 0.15/Mod/plugins/pluginloaderconfig.yaml I doesnt work with "Programme". I installed 32Bit-Version - for 64 Bit Version it should be without " (x86)". I tried also %PROGRAMFILES(x86)%/FreeCAD 0.15/Mod/plugins/pluginloaderconfig.yaml but it failed.

microelly2 commented 9 years ago

I have running it on my stick with this pathname F:/FreeCAD_0.16.4924_x86_dev_bin/Mod/plugins/pluginloaderconfig.yaml what if you move the yaml file to a "good" folder (without spaces and bracket)?

microelly2 commented 9 years ago

I have tested this

fn="C:/Program Files (x86)/LibreOffice 4/license.txt" yy=open(fn).read() print yy

and it works, so brackets and white spaces don't make trouble.