Dreamhost PS installation problems.

40 views
Skip to first unread message

wonderfullyrich

unread,
Oct 20, 2009, 9:04:38 AM10/20/09
to Django users
I'm trying to use a mix between the http://wiki.dreamhost.com/Django#Setup
and http://webhostingreal.com/content/view/18/1/ (which looks slightly
more recent then the wiki) to setup django on a PS server with
Dreamhost. I'm stuck at the easy_install portion.

I realize dreamhost might not be the most django friendly provider,
but I'd like to see if I can get it working as imagining the pain of
forklifting to a new Private Server is hard to imagine right now.

I've installed the virtualenv based on the info from
http://wiki.dreamhost.com/Python#Virtualenv . For whatever reason,
even after I "source .bash_profile" it's still not got the right path.

Can anyone give me a hint as to what might be going on and how to fix
it?

I'm getting the following error message:

[clarke]$ cd ~/django/
[clarke]$ ~/local/bin/easy_install django_src
Processing django_src
Running setup.py -q bdist_egg --dist-dir /home/.roflmao/
wonderfullyrich/django/django_src/egg-dist-tmp-yKloQV
zip_safe flag not set; analyzing archive contents...
django.templatetags.__init__: module references __path__
django.contrib.admindocs.views: module references __path__
django.contrib.auth.tests.views: module references __file__
django.contrib.admin.__init__: module references __path__
django.contrib.gis.gdal.tests.test_ds: module references __file__
django.contrib.gis.tests.layermap.tests: module references __file__
django.contrib.gis.tests.geoapp.tests: module references __file__
django.core.management.sql: module references __file__
django.core.management.base: module references __path__
django.core.management.__init__: module references __file__
django.core.management.__init__: module references __path__
django.core.management.commands.loaddata: module references __file__
django.core.servers.basehttp: module references __path__
django.template.loaders.app_directories: module references __file__
django.db.__init__: module references __path__
django.db.models.loading: module references __file__
django.utils.autoreload: module references __file__
django.utils.version: module references __path__
django.utils.translation.trans_real: module references __file__
django.views.i18n: module references __file__
django.test._doctest: module references __file__
django.test._doctest: module MAY be using inspect.getsourcefile
django.test.simple: module references __file__
django.conf.__init__: module references __file__
django.conf.project_template.manage: module references __file__
error: Setup script exited with error: mkpath: 'name' must be a string
(got u'/home/.roflmao/wonderfullyrich/django/django_src/egg-dist-tmp-
yKloQV')


Thanks,
Rich

Richard Jeong

unread,
Oct 22, 2009, 2:54:04 AM10/22/09
to Django users
As a follow up, does anyone know of a individual/group that I can pay to help me resolve this error?  As this is work related I need to get it resolve and I can't afford to leave dreamhost right now.  I'd like to see if I can find someone who can spend an hour or two an help me find out if it's problem that's resolveable or if I'm totally screwed until Dreamhost get's it's act together.

Cheers,
Rich
----
rje...@spamcop.net
skype: rjeong
blog: blog.wonderfullyrich.net
http://imgs.xkcd.com/comics/beliefs.jpg

Daniel Roseman

unread,
Oct 22, 2009, 6:11:17 AM10/22/09
to Django users
On Oct 20, 2:04 pm, wonderfullyrich <wonderfullyr...@gmail.com> wrote:
> I'm trying to use a mix between thehttp://wiki.dreamhost.com/Django#Setup
> andhttp://webhostingreal.com/content/view/18/1/(which looks slightly
> more recent then the wiki) to setup django on a PS server with
> Dreamhost.  I'm stuck at the easy_install portion.
>
> I realize dreamhost might not be the most django friendly provider,
> but I'd like to see if I can get it working as imagining the pain of
> forklifting to a new Private Server is hard to imagine right now.
>
> I've installed the virtualenv based on the info fromhttp://wiki.dreamhost.com/Python#Virtualenv. For whatever reason,
> even after I "source .bash_profile" it's still not got the right path.
>
> Can anyone give me a hint as to what might be going on and how to fix
> it?
>
> I'm getting the following error message:
>
> [clarke]$ cd ~/django/
> [clarke]$ ~/local/bin/easy_install django_src
<snip>
> error: Setup script exited with error: mkpath: 'name' must be a string
> (got u'/home/.roflmao/wonderfullyrich/django/django_src/egg-dist-tmp-
> yKloQV')
>
> Thanks,
> Rich

If you're using virtualenv, you should use 'source bin/activate' to
activate the virtual environment and use its path definitions.

Note that both of the guides you link to are written for the normal
Dreamhost shared hosting, rather than the private server. Since on PS
you have root access, you should just be able to follow the standard
Django installation instructions.
--
DR.
Reply all
Reply to author
Forward
0 new messages