googlecodetogithub / libgdx-users

Automatically exported from code.google.com/p/libgdx-users
0 stars 0 forks source link

[error] Unable to create directory __libgdx_setup_tmp #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open gdx-setup-ui.jar
2. Config
3. Press "Generate project"

What is the expected output? What do you see instead?
Decompressing projects...
[error] Unable to create directory __libgdx_setup_tmp

What version of the product are you using? On what operating system?
libgdx-nightly-latest.zip/LibGDX Project Setup v2.0.2. Windows 7 Ultimate SP1 
64bit and Windows 7 Ultimate SP1 32bit

Please provide any additional information below.

Original issue reported on code.google.com by toanghet...@gmail.com on 22 Aug 2012 at 3:42

Attachments:

GoogleCodeExporter commented 9 years ago
I also have this problem. I'm on Win7 x64 SP1. I hope there is an easy fix. 

Original comment by veee...@gmail.com on 1 Sep 2012 at 7:58

GoogleCodeExporter commented 9 years ago
You guys should post such issue in the libgdx site, not on libgdx-users.
The tool tries to create a files and folders in the directory it is located. If 
this directory is protected against write operation, such process will fail. It 
can be the case if you put the tool in "C:\" or "C:\Program Files". Just put it 
on the desktop and see if that solves the issue.

Original comment by aurelien.ribon on 10 Sep 2012 at 1:02

GoogleCodeExporter commented 9 years ago
Same thing happened to me...

In other words... Don't open the gdx-setup-ui  from the zip file.  Extract that 
file into a folder, run it, then import the master zip that you downloaded. 
That should fix it.

Original comment by Uturn...@gmail.com on 5 Oct 2012 at 5:31

GoogleCodeExporter commented 9 years ago
On Windows 7 64bits you try to create a folder on 
"C:\Windows\SysWOW64\__libgdx_setup_tmp"

Original comment by r.alo...@gmail.com on 28 Oct 2012 at 5:08

GoogleCodeExporter commented 9 years ago
One working around,

You can create a folder C:\Windows\SysWOW64\__libgdx_setup_tmp, for "window 7 
64bits" and put that /user can delete write etc.... 
It will work and in the end will be delete the folder. that mean you have to 
create a folder every time you want to use this.

Original comment by r.alo...@gmail.com on 28 Oct 2012 at 5:18

GoogleCodeExporter commented 9 years ago
This _might_ be late, but the solution is really simple.
Just place the gdx-setup-ui jar File anywhere(example: Desktop), open cmd (on 
windows) and type 
"java -jar C:\Users\<username>\<folder ex:Desktop>\gdx-setup-ui.jar" and now it 
will work.
Cheers, numpad

Original comment by christia...@gmail.com on 29 Jul 2013 at 8:24

GoogleCodeExporter commented 9 years ago
using cmd instead of execute gdx-setup-ui.jar directly works for me on Windows 
7 64 bits
thanks to Christian :)

Original comment by mia.shopgal on 6 Aug 2013 at 5:01

GoogleCodeExporter commented 9 years ago
decompressing libraries .....
[error] Unexpected end of ZLIB input stream

getting this while when i try to generate the projects 

Original comment by camillo...@gmail.com on 14 Dec 2013 at 2:31

GoogleCodeExporter commented 9 years ago
I've just discovered LibGDX and found the issue : download the Zip file from 
the web site and copy it to "c:\libgdx". Every thing should works fine instead 
of updating LibGDX from the UI ;)

Original comment by renaud.d...@gmail.com on 27 Dec 2013 at 11:28

GoogleCodeExporter commented 9 years ago
No guys... the issue is not solved yet... Please post the solution is found... 
:(

Original comment by rahul.de...@gmail.com on 12 Feb 2014 at 11:25

GoogleCodeExporter commented 9 years ago
Amazing... Just found the solution...

The main thing is -> you are not running the 'gdx-setup-ui.jar' with 
administrator privileges...

* Thus you MUST run this as 'Administrator'...

(Optional solution)
-> Run the 'gdx-setup-ui.jar' & open 'Task Manager'
-> in 'Processes' tab, look for 'javaw.exe'
-> right click - 'Properties' - 'Compatebility' tab
-> tick 'Run his program as an administrator'
-> 'OK' - 'OK'
Good to go now... You can configure now...

Original comment by rahul.de...@gmail.com on 12 Feb 2014 at 11:36

GoogleCodeExporter commented 9 years ago
Thanx rahul it worked 4 me.....

Original comment by gaurav...@gmail.com on 22 Mar 2014 at 5:58

GoogleCodeExporter commented 9 years ago
For me, too, running the JAR from the command prompt solved the problem.

Original comment by alibhai....@gmail.com on 25 Aug 2014 at 5:53