ubuntu-10.04

Problem launching android AVM/SDK gui using the tools/android executable in the android SDK. Ubuntu 10.04, i686

﹥>﹥吖頭↗ 提交于 2019-11-30 14:58:54
问题 Hi I just installed the android SDK along with Eclipse 3.5 on my i686 Thinkpad T60 running Ubuntu 10.04 (Lucid). (Eclipse was installed via synaptic, i.e. a package from the repository.) I installed the eclipse add on and everything on the Eclipse end seems fine. I also put the android-sdk tools directory on my user PATH. Now launching tools/android without any arguments is supposed to bring up the SDK and AVD manager GUI, but instead I get the following error: Exception in thread "main" java

Problem launching android AVM/SDK gui using the tools/android executable in the android SDK. Ubuntu 10.04, i686

梦想与她 提交于 2019-11-30 12:44:19
Hi I just installed the android SDK along with Eclipse 3.5 on my i686 Thinkpad T60 running Ubuntu 10.04 (Lucid). (Eclipse was installed via synaptic, i.e. a package from the repository.) I installed the eclipse add on and everything on the Eclipse end seems fine. I also put the android-sdk tools directory on my user PATH. Now launching tools/android without any arguments is supposed to bring up the SDK and AVD manager GUI, but instead I get the following error: Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in swt.library.path, java.library.path or the

Emulate/Simulate iOS in Linux [closed]

一笑奈何 提交于 2019-11-30 12:22:34
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 7 months ago . I'm developing a web app that apparently is having problems in iOS devices. The problem is that I don't own an iOS device and I develop in Linux Ubuntu. I'm looking for a way to emulate/simulate this OS in Linux (especially the browser), but haven't found anything. So far, what I

zlib module missing

人走茶凉 提交于 2019-11-30 08:16:53
I have compiled and installed python 2.7 on my ubuntu lucid. But I am unable to install setuptools for python 2.7 because the data decompression module zlib is not present. This is the exact error: Traceback (most recent call last): File "setup.py", line 94, in <module> scripts = scripts, File "/usr/local/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/rohan/setuptools-0

cURL/PHP Request Executes 50% of the Time

a 夏天 提交于 2019-11-30 04:54:50
问题 After searching all over, I can't understand why cURL requests issued to a remote SSL-enabled host are successful only 50% or so of the time in my case. Here's the situation: I have a sequence of cURL requests, all of them issued to a HTTPS remote host, within a single PHP script that I run using the PHP CLI. Occasionally when I run the script the requests execute successfully, but for some reason most of the times I run it I get the following error from cURL: * About to connect() to www

Help installing static binary for wkhtmltopdf

时光怂恿深爱的人放手 提交于 2019-11-30 02:41:43
I am trying to use the static binary of wkhtmltopdf on Ubuntu server 10.0.4. The reason for is that it apparently has a built in modified QT that will allow me to run wkhtmltopdf without an X Server. Result: Once installed (see steps below), when I execute wkhtmltopdf in the terminal, it does not fire up... just returns me to the prompt - like it ran and did something, no error but no output: :/usr/bin$ wkhtmltopdf :/usr/bin$ Same behavior if I put args: :/usr/bin$ wkhtmltopdf http://www.google.com test.pdf :/usr/bin$ Am I doing something wrong --- my understanding that the static binary

How to run a Shell Script by Cron Job

徘徊边缘 提交于 2019-11-29 15:23:44
I have a Shell script like below echo "Hello World" The script is located in /root/scripts/ folder as test.sh I also created a cron job like below 0-59 * * * * ./scripts/test.sh Now the cron job is not printing the content in test.sh every minute. Let me know whether I have given a wrong directory or I have any other problem in my code. I would Be explicit wrt. your directory to execute from e.g. /root/scripts/test.sh . I don't know what cron would regard as the current directory Redirect stdout to a log file e.g. ...test.sh > /tmp/cron.log (you would likely want to redirect stderr at some

running node.js server using upstart causes 'terminated with status 127' on 'ubuntu 10.04'

时光怂恿深爱的人放手 提交于 2019-11-29 14:04:37
i have written an upstart script for ubuntu to launch my node.js server manually or on startup. But it always terminates with status 127 and i can't find more information about what is going wrong. If i execute it manually then it works and i also tested it on ubuntu 12.10 where it also works ... it only fails to work on ubuntu 10.04 which is the production server i'm using. The script: description "" author "" start on started mountall stop on shutdown respawn respawn limit 20 5 # Max open files are @ 1024 by default. Bit few. limit nofile 32768 32768 env HOME=/home/projects/<project_name>

Chrome V8 Bug? Function Acting different after being called a 2nd time

对着背影说爱祢 提交于 2019-11-29 12:43:14
问题 Please take a look at the following JavaScript. I've taken stuff out of it, so you may focus on the essence of the problem. You'll notice that I call the prepPath function twice in a row, passing in the exact same string. In firefox and IE8, this function alerts true each time (as expected). But, in Chromium 5.0.375.127 (55887) Ubuntu 10.04, the function returns true the first time, and false the 2nd call, despite the input remaining exactly the same! <script type="text/javascript"> function

zlib module missing

女生的网名这么多〃 提交于 2019-11-29 11:55:57
问题 I have compiled and installed python 2.7 on my ubuntu lucid. But I am unable to install setuptools for python 2.7 because the data decompression module zlib is not present. This is the exact error: Traceback (most recent call last): File "setup.py", line 94, in <module> scripts = scripts, File "/usr/local/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/local