LeeWangyeol / blender-webgl-exporter

Automatically exported from code.google.com/p/blender-webgl-exporter
0 stars 0 forks source link

Cannot successfully export in Win 7 #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a new Blender model - with, say, the monkey in it.
2. File menu > Export > WebGL JavaScript
3. Make sure "Native WebGL" is selected
4. Enter "C:\try.js" in location.
5. Press Export.

What is the expected output? What do you see instead?

Output from the console:

Compiled with Python version 2.6.2.
Checking for installed Python... got it!
Traceback (most recent call last):
  File "C:\Users\Theo\AppData\Roaming\Blender
Foundation\Blender\.blender\script
s\WebGLExport.py", line 265, in bevent
    out = file(file_button.val, 'w')
IOError: [Errno 13] Permission denied: 'c:\\try.js'

What version of the product are you using? On what operating system?

Windows 7 << this is probably cause of issue, because WebGL export seems to
work fine in Windows XP.

Python 2.6.5
Blender 2.49b

Please provide any additional information below.

This issue is probably not your fault and looks like it's due to the way
Windows 7 handles file permissions. Unfortunately, I think my Windows 7 is
set up in a fairly normal way.

So it might be worth giving people a heads-up that using the script with
Windows 7 might be an issue....

Original issue reported on code.google.com by t.arm...@gmail.com on 9 May 2010 at 8:06

GoogleCodeExporter commented 8 years ago
Sounds like a permission issue; what happens if you try to save to C:\ from 
(say)
Notepad?

Original comment by giles.th...@gmail.com on 13 May 2010 at 5:11

GoogleCodeExporter commented 8 years ago
You should set python properties (probably c:\Python26\python.exe -> properties 
-> compatibility) to run as administrator!

Original comment by krisho...@gmail.com on 27 Jul 2010 at 9:17

GoogleCodeExporter commented 8 years ago
You could also point it towards any directory under your user directory 
(c:\users\[username]) and it should work

Original comment by stephen....@gmail.com on 31 Jan 2011 at 12:25

GoogleCodeExporter commented 8 years ago
Has this issue been resolved? can we mark it as "Solved"?

Original comment by johnvill...@gmail.com on 28 Apr 2011 at 1:49

GoogleCodeExporter commented 8 years ago
This is a windows7 UAC issue. To fix this you have two main options:

1. You can disable UAC (not really the best option) 

2. You can choose to save in a non restricted area like (my documents) or even 
a folder in your local hard drive like C:\WebGl\try.js and it will work.

Hope this helps someone in the future.

Original comment by wingw...@gmail.com on 24 May 2011 at 4:14

GoogleCodeExporter commented 8 years ago
Then this is a non-issue.

Original comment by johnvill...@gmail.com on 8 Jul 2011 at 5:23