google-code-export / django-photologue

Automatically exported from code.google.com/p/django-photologue
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

[Broken tests] after fresh install because of missing res/ directory #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install photologue 2.2 with python setup.py install
2. run test (python manage.py test photologue)

What is the expected output? What do you see instead?
We are getting the error (trace attached)

What version of the product are you using? On what operating system?
Using photologue 2.2 installed using the command python manage.py install
This is running on top of Django 1.0.2 and Python 2.5

I think this is because the setup.py script didn't copy the "res/"
directory with the package and it's trying to access to that directory
later on in the file "site-packages/photologue/tests.py":
{{{
RES_DIR = os.path.join(os.path.dirname(__file__), 'res'))
}}}

Copying the "res/" directory to "site-packages/photologue/" fixed that issue.

This should be documented or done by the setup.py script.

Original issue reported on code.google.com by andre.mi...@gmail.com on 27 May 2009 at 6:06

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by justin.d...@gmail.com on 22 Jul 2009 at 12:25

GoogleCodeExporter commented 9 years ago
This should be fixed in r389.

Original comment by justin.d...@gmail.com on 23 Jul 2009 at 5:47