dreamhost

Installing python2.6 and assorted libraries on DreamHost

Hi everyone, I managed to install python2.6 on DreamHost following this guide. I also tried to easy_install "lxml" but it fails horribly. Anyone ever accomplished this? TIA ...

Rails controllers not working

Hi Guys, I've just started on rails, got it all setup on my DreamHost account with Passenger, except the demo controller I've created isn't working. I ran: $ script/generate controller demo index The files are all there, but when I go to http://rails.mysite.com/demo/index I get the 'We're sorry, but something went wrong' message. The...

Python 2.4 inline if statements

I am setting up an existing django project on a dreamhost web server, so far I have got everything to work correctly. However I developed under python 2.5 and dreamhost by default uses python 2.4. The following line seems gives a syntax error because of the if keyword: 'parent': c.parent.pk if c.parent is not None else None ...

Why is Django/FastCGI/Apache logging HTTP status code 200 for every request, even 404s?

Edit: I have now discovered that the status code is returned correctly, it just isn't recorded correctly in Apache's access.log. Title amended. This is still a problem. Any ideas? Original question follows. Hi all. I run the following stack: Django(svn) on WSGI on FastCGI on Apache on Dreamhost. Every page served by Django returns HTTP...

problems doing the Django tutorial on Dreamhost using Passengers

I have looked and I could not find this question before, and it surprises me. I am reasonably proficient in Python, and I used Dreamhost for a number of years. Now I would like to learn Django. They are finally supporting it using Passenger. Which I do not know what is. Following the instructions on Dreamhost I installed Django. Then I...

Script to install and compile Python, Django, Virtualenv, Mercurial, Git, LessCSS, etc... on Dreamhost

The Story After cleaning up my Dreamhost shared server's home folder from all the cruft accumulated over time, I decided to start afresh and compile/reinstall Python. All tutorials and snippets I found seemed overly simplistic, assuming (or ignoring) a bunch of dependencies needed by Python to compile all modules correctly. So, starting...

Comet and long polling requests on DreamHost?

Is there any solution for running these kind of operations on DreamHost or other shared hosting environments where I don't have access to tweak apache? ...

Leaving Github, how to change the origin of a Git repo?

I'm hosting a project in Github, but now I purchased a plan with Dreamhost that includes shell access and Git. Github [Origin] / \ pull/ \pull /push push\ / \ Laptop Dreamhost (cloned) (cloned) I would like to delete my repo from Github, and starting push...

Rails Dreamhost Cron Job

I'm trying to get some cron jobs going through Dreamost using their panel. I'm also using rake to execute these jobs My rake files are located in app/lib/tasks/example.rake But I don't know what code to give the panel to execute them ...

Web2py default app

I am planning to publish my site soon on Dreamhost using passenger WSGI as mentioned in the dreamhost setup documentation. My issue is that I am wanting www.mydomain.com to go directly to my new application, instead of needing to go to web2py.mydomain.com/MyApp/Default. What is the best way to solve this issue? Do I use DNS redirects ...

Is there a way to limit the amount of memory that "git gc" uses?

I'm hosting a git repo on a shared host. My repo necessarily has a couple of very large files in it, and every time I try to run "git gc" on the repo now, my process gets killed by the shared hosting provider for using too much memory. Is there a way to limit the amount of memory that git gc can consume? My hope would be that it can t...

Datamapper at dreamhost

Has anyone had success with Datamapper and Dreamhost? Anytime it makes a request to the database, I get the 500 internal server error. Dreamhost has no clue and isn't answering a support ticket. I have confirmed the gem is installed, and the connection is made. If I enter invalid connection credentials, passenger kicks out an error. ...

What are the drawbacks to hosting a git repository with WebDAV instead of SSH?

I have a large git repository that I am hosting with Dreamhost. It has grown slowly over time and have had no problems with it until just now. It has no problem pushing and pulling but when I try to clone from the remote the pack-objects process is getting a kill signal 9. From what I have read this is dreamhost killing the process becau...

How to host Redmine on Dreamhost?

I was able to install redmine on dreamhost without any problems. I followed the directions from the dreamhost wiki and it is up and running. The problem is that it is very slow. So slow that it errors out sometimes. It gives a pipe broken error. Is there anything that can be done to improve the performance and eliminate the broken pipe e...

Auto initialization for a django app on apache/fcgi

Hello, We are implementing a web service that is hosted in Dreamhost VS, uses Apache with FCGID running a Django application. Our key issue is that the initialization of our application is extreamly long (10 sec) to enable very fast responces. We would like to be able to have a process running waiting for users at all times in a post...

Deploying a Rails app on dreamhost issue

So I'm at a loss with this one. My error is: Missing these required gems: jrails You're running: ruby 1.8.7.72 at /usr/bin/ruby1.8 rubygems 1.3.6 at /home/ryann/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8 Run rake gems:install to install the missing gems. I have unpacked jrails in my vendor directory and frozen my local rails environment. ...

Uploading Django Development to Dreamhost/Passenger first time "Could no import"

Hi, I've been developing on my laptop. Now, I've uploaded my development project from Django 1.2/Python 2.7 up to Dreamhost created using the Passenger setup. I am using South for migration. I modified settings.py to access MySQL. Got Admin working. Questions: 1) Where is the std out shown when you hit the site? (all my print st...

Connectivity and signed-applications in Adobe AIR

I need a little insight into some authentication issues in adobe AIR. Three related facts that fit into my question: Whenever accessing my https:// site from my AIR application, I get the untrusted site warning When I build an AIR app, I don't have a paid-for certificate, so I sign it myself for now My site (that gives the untrusted wa...

How can I improve the performance of this query?

Recently I had this question, and everything worked properly until I sent it to my server at DreamHost. The query bellow seems to take too long to execute and I can't figure out why so many rows are processed at once. In my local server the same query was executed in 0.3 seconds. SELECT feed_entries . * FROM feed_entries WHERE id IN (...

SOAP Client On Dreamhost

Hi Everyone I really really need help. Been trying to get this on and off for over a month now and still no luck. I need to enable the soap php extension in Dreamhost. Preferrably the native PHP soap, but something like NUSOAP will do too, just have no idea how to make it happen and how to use it. Someone please help. Thanks! ...