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

TestUploader.test_02_upload() raises 'No suitable OFS backend for uploading found' Exception #51

Open
dgraziotin opened this issue Mar 3, 2012 · 3 comments

Comments

@dgraziotin
Copy link
Contributor

@rgrp, this is happening under Mac OS X Lion.

dpm.tests.test_upload.TestUploader.test_02_upload()

Error
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 318, in run
    testMethod()
  File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/dgraziotin/Projects/dpm/dpm/tests/test_upload.py", line 42, in test_02_upload
    self.uploader.upload(self.csv, destspec)
  File "/Users/dgraziotin/Projects/dpm/dpm/upload.py", line 21, in upload
    backend = self.load_ofs_backend(upload_spec)
  File "/Users/dgraziotin/Projects/dpm/dpm/upload.py", line 36, in load_ofs_backend
    raise Exception(msg)
Exception: No suitable OFS backend for uploading found
@dgraziotin
Copy link
Contributor Author

Should OFS be inserted in dpm's dependencies, then? (http://pypi.python.org/pypi/ofs/0.1)

@dgraziotin
Copy link
Contributor Author

After OFS is installed, the same happens for Pairtree (http://pypi.python.org/pypi/Pairtree)

When both OFS and Pairtree are installed (through pip in my case), the errors disappear.

@rufuspollock
Copy link
Contributor

Instead we should disable test_upload until we have rewritten it.

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

No branches or pull requests

2 participants