I been using calabash-android for long time with real device, but never had this kind of slow testing procedure.I mean it used to go really in seconds to test my scenarios, but now it takes more than 1 minute .. It is the same laptop, only difference I tested on 15.04 Ubuntu before. Now I'm on
Ubuntu 14.04.03LTS 64bit
... Is it library missing or update to be made? or is Calabash got slower. Have no idea why its doing this...
please can u suggest how to get my speed back?
Thanks in advance
We've actually recently made speed improvements to the queries, so the framework itself shouldn't be the cause of any new slowness. Which version are you using? Should be 0.6.0.
If you're saying you've downgraded your OS from 15.04 to 14.04, that would probably be my first guess. Is there any difference in log output from before if you run with -v for verbose?
Never mind, I found out that Ruby version is old and reason cause installing Ruby through sudo new version was wrong way, cause it's not setting latest version to default. So I had to install RVM Ruby Version Manager and install latest ruby and set latest ruby version --default and re-install my Calabash-Android.
Related
I am a new to python. I am have installed Python27 and Vpython on my windows 64-bit W8.1 laptop.
The python version was Py27 32-bits and Vpython 32-bits. After installation I thought I could directly run an example program from the VIDLE (File -> Open -> bounce). But I realized there is lot more to install to get this working.
So I googled the errors and found that I has to install Numpy and WxPython which I was able to complete successfully. But now I have this error shown below
"The Polygon module is not installed,
so the text and extrusion objects are unavailable.
The ttfquery and/or FontTools modules are not installed,
so the text object is unavailable."
I googled for this but was not able to arrive at anything.
Should I install Polygon module, FontTools and ttfquery module?
I was not able to fond a proper link to do any of the above. Kindly help me out. I have a hit a wall.
Thanks!!
Hopefully was able to solve the issue.
The problem was with the way how I installed Vpython. I should have accidentally selected "custom installation" instead of "full installation".
Also the version of numpy that comes with default set-up did not support for me. Hence I used the pip to update the version and now everything is up and running.
I am able to get the example programs to work.
Also the 64-bit version is not working still. So its always safe to stick on to 32-bit version even if your machine is 64-bit
You're working with an older version of VPython that is no longer supported. See the first page of vpython.org.
I'm working on making my first very simple rails app, and I think I'm running into trouble because I have both rvm and rbenv installed.
I'm not actually sure if it's related to that, but I thought it might be --
I'm trying to run the command: sudo rake gems:install
and I'm getting this error message:
Could not find rake-11.1.1 in any of the sources
I ran bundle update rake and bundle install, and when I write 'which rake' - I get this: (which is why I thought it might be related to the fact that I have both rvm and rbenv included in my bash_profile)
/.rvm/gems/ruby-2.1.2/bin/rake
If this is the issue --- what will happen if I uninstall rvm? I don't really understand what it does well enough to understand what it will do to my existing code.
Thanks!
rvm is a great toolset for managing multiple ruby versions. I think of it like a tackle box for fishing: You've got different ruby versions, 1.9.3, 2.0.0, 2.2.3, etc. like the layers on the tackle box. rvm keeps a different directory for each version of ruby you have installed.
If you rvm use 2.2.3 you're telling your shell to point to ~/.rvm/rubies/ruby-2.2.3/bin/ruby (check which ruby to be sure).
If you rvm use system and then which ruby you'll see /usr/local/bin/ruby, or the system-installed version
You can put different gems (tackle/bait/tools) in each one. This is immensely useful if you're developing on multiple ruby apps/gems at the same time.
If you rvm implode you'll clean all the .rvm/ruby installs out of your system. This is a good, safe way to keep your system ruby untainted, which is more of a hassle to reinstall.
Go ahead and try reinstalling rvm and bundle-installing.
I've been researching this for hours. I can't seem to get it to work.
The issues is that I'm on OSX10.10, running Python 3.3. Everything worked great on 10.9.
I'm not even sure how to test it. I've done just about every step that has been suggested. Making new symlinks, linking and unlinking with Homebrew. Doing a custom install.
I'm just stuck. Anyone been able to sort this out?
In summary, I've uninstalled Pillow (and therefore PIL) and then installed the libjpeg files. Then I reinstalled Pillow with PIP.
This issue is that the gist for Homebrew install Python 3.3 isn't working right. When I upgraded to Python 3.4 everything worked fine.
Recommend looking at this gist to revise and see what can be done to address this if you need 3.3
https://gist.github.com/dnozay/231a037d53e14052ccd6
I'm asking this question because I'm having problems installing Little Snitch 3.1 on Mac OS X Mountain Lion 10.8.3. Indeed, I'm getting the following error:
Error removing quarantine on ...: python version 2.7.5 can't run /usr/bin/xattr. Try the alternative(s):
/usr/bin/xattr-2.5 (uses python 2.5)
/usr/bin/xattr-2.6 (uses python 2.6)
/usr/bin/xattr-2.7 (uses python 2.7)
Run man python for more information about multiple version support in
Mac OS X.
Mountain Lion comes with Python 2.7.2. I updated Python to version 2.7.5 using the instructions found here:
http://wolfpaulus.com/jounal/mac/installing_python_osx
Personally, I understand neither what the quarantine is nor what xattr does!
The help I got from Little Snitch Support was:
"Without MacPorts option to switch back to previous versions, it would be best for you to reinstall your 10.8.3 system files from the OS X Installer Disk to hopefully recover the python installation."
Yet, I followed Wolf Paulus' instructions because I wanted to avoid having several version of Python on my Mac. I just wanted the latest stable version, i.e. 2.7.5. I also suspect that doing what Little Snitch Support proposes is really going to make things messy on my Mac!
Any help in understanding the problem or, even better, solving the issue would be greatly appreciated.
Thank you.
I'm still a complete beginner in the field of web development and I'm trying to set up the Django environment. I'm reading "the definitive guide to django" to start my practice.
I'm running Snow Leopard (10.6.2) on a macbook 2.1GHz. It came with Python 2.6.1. Since Snow Leopard cam with Python 2.6.1 preinstalled, so I didn't do any extra set up. Maybe it needs more setup, please let me know. But I've ran it, and it works.
I installed django straight right from the book. I've ran it, and so far it works.
The Database configuration is the one stifling me.
I tried installing MySQL with MySQLdb module for python, but it had complications with the difference between 32 & 64 bit architecture (either mysql had 64 and python had 32 OR vice versa; Either way, I couldn't figure it out). I've read many forums and tinkered with it for hours, still couldn't fix it and I just gave up.
So I tried the next best thing (or so I thought), Let's try to set up Postgre instead. So, I went to the official Postgre website and picked the Mac OS X installment package. I download it, extract it, and all it had was an ".app" installer and a "README". I ran the installer, blah blah blah, I followed the instruction, it did this, it did that. At the end, apparently Postgre is installed.
I didn't feel completely sure if it was installed, so I searched around the internet for some answers. Well, I found the official documentation for installing Django for Mac, but the steps to install
Postgre was completely different. Maybe the ".app" installer did most of the configuration listed in those steps, I don't know.
Then I went to the terminal and type in:
psql -V
(to check which version of Postgre I just installed)
AND
sudo -u postgres pg_ctl start
(to run the database)
'psql' or 'pg_ctl' commands could not be found. To me, this is kind of saying Postgre was not installed or there are some setup I still need to do.
So I started looking at the first steps of installing Postgre from the given instruction by Django (link above). From the instruction it says to edit the '~/.profile', even after unhiding all the files and directories, I still can't find it under my user directory.
At this point I'm just kind of frustrated and don't know where to go. I was wondering if I can get some direction/tips/howto/anythingreallyatthispoint.
I can't really install psycopg2 until I have Postgre running, but from the looks of it, it doesn't look so bad to install it (or so I hope).
Many Many thanks in advance for any help ^_^
-Tri
If you're just getting started, I would try sqlite first. It's file based, so there is almost no configuration. Later, if you want to upgrade to a real database, then it won't be any harder than what you're attempting now.
the easiest way to install these apps would be via macports (http://www.macports.org/). in my experience, the installation was fast and clean. the geodjango installation documentation has a good section on this: http://geodjango.org/docs/install.html#macports.
I suspect the only problem you are having is not setting path. Add this to your ~/.bash_profile:
export PATH=/Library/PostgreSQL/8.4/bin:$PATH
Now you should be able to run the command line tools like psql.
I just spent a couple hours going through multiple different walkthroughs. This was the one that eventually worked:
first install postgress with the dmg:
http://www.enterprisedb.com/products-services-training/pgdownload#osx
then follow this tutorial:
http://stubblog.wordpress.com/2009/06/07/installing-psycopg2-on-osx/
then put this in terminal export DYLD_LIBRARY_PATH=/Library/PostgreSQL/9.3/lib:$DYLD_LIBRARY_PATH
And I'm pretty sure those were the important parts of what I did..
if you get errors try sudo pip uninstall psycopg2 then sudo pip install psycopg2
if you keep getting errors about ".... something < 10.4", reinstall pip. I think I used something like brew install python to update python... if you don't have homebrew, get it. I'm pretty sure that's what got rid of that error.. it may have been a manual install of pip3 though.
Sorry this is all over the place, it should get you a bit closer though. At least, if you (like me) have had none of the other tutorials work.