Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why test errors in live server (but appears to be working fine), but not on dev server #68

Closed
alexlittle opened this issue Nov 11, 2013 · 5 comments
Labels

Comments

@alexlittle
Copy link
Member

No description provided.

@alexlittle
Copy link
Member Author

Seems to be because fixtures aren't exported to PyPi package...

@alexlittle
Copy link
Member Author

This still isn't fixed....

@alexlittle alexlittle reopened this Nov 14, 2013
@alexlittle
Copy link
Member Author

because not exporting .json files too?

@alexlittle
Copy link
Member Author

Still get 1 error:

ERROR: test_course_download_file_found (oppia.tests.CourseResourceTest)

Traceback (most recent call last):
File "/home/www/env/local/lib/python2.7/site-packages/oppia/tests.py", line 337, in test_course_download_file_found
resp = self.api_client.get(self.url+"20/download/", format='json', data=self.auth_data)
....
....
File "/home/www/env/local/lib/python2.7/site-packages/django/template/base.py", line 771, in _resolve_lookup
(bit, current)) # missing attribute
VariableDoesNotExist: Failed lookup for key [LANGUAGES] in u'[{'False': False, 'None': None, 'True': True}, {}, {}, {'block': <Block Node: content. Contents: [<Text Node: '\n

\n <'>, <django.template.defaulttags.URLNode object at 0x2d2dc50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x2d2de90>, <Text Node: '
\n <'>, <django.template.defaulttags.URLNode object at 0x3015050>, <Text Node: '" method="post">\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x2d2d990>, <Text Node: '\n <select '>, <django.templatetags.i18n.GetLanguageInfoListNode object at 0x2d2df90>, <Text Node: '\n '>, <For Node: for language in languages, tail_len: 3>, <Text Node: '\n </select'>, <django.template.defaulttags.URLNode object at 0x2f2e310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x2f2e2d0>, <Text Node: '\n '>, , <Text Node: '\n \n '>, , <Text Node: '\n \n </d'>]>}]'

@alexlittle alexlittle reopened this Nov 14, 2013
@alexlittle
Copy link
Member Author

Due to course file not found...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant