theochem / horton

HORTON: Helpful Open-source Research TOol for N-fermion systems
http://theochem.github.io/horton/
GNU General Public License v3.0
94 stars 40 forks source link

Missing references.bib #260

Closed matt-chan closed 7 years ago

matt-chan commented 7 years ago

We're missing the references.bib in the release I think, at the very least on OSX. I'd fix it, but I don't know the process for making a release =S.

Sophie got this when running nosetests. It's the only error.

Failure: IOError ([Errno 2] No such file or directory: ‘/Users/kervazo/Library/Python/2.7/share/horton/references.bib’) ... ERROR

======================================================================
ERROR: Failure: IOError ([Errno 2] No such file or directory: ‘/Users/kervazo/Library/Python/2.7/share/horton/references.bib’)
----------------------------------------------------------------------
Traceback (most recent call last):
 File “/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py”, line 407, in loadTestsFromName
   module = resolve_name(addr.module)
 File “/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/util.py”, line 312, in resolve_name
   module = __import__(‘.’.join(parts_copy))
 File “/Users/kervazo/Library/Python/2.7/lib/python/site-packages/horton/__init__.py”, line 33, in <module>
   from horton.part import *
 File “/Users/kervazo/Library/Python/2.7/lib/python/site-packages/horton/part/__init__.py”, line 24, in <module>
   from horton.part.base import *
 File “/Users/kervazo/Library/Python/2.7/lib/python/site-packages/horton/part/base.py”, line 27, in <module>
   from horton.log import log
 File “/Users/kervazo/Library/Python/2.7/lib/python/site-packages/horton/log.py”, line 743, in <module>
   biblio = Biblio(context.get_fn(‘references.bib’))
 File “/Users/kervazo/Library/Python/2.7/lib/python/site-packages/horton/log.py”, line 637, in __init__
   self._load(filename)
 File “/Users/kervazo/Library/Python/2.7/lib/python/site-packages/horton/log.py”, line 641, in _load
   with open(filename) as f:
IOError: [Errno 2] No such file or directory: ‘/Users/kervazo/Library/Python/2.7/share/horton/references.bib’

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)
tovrstra commented 7 years ago

Nice catch! Should we have another beta release, or should we go right for the final release?

matt-chan commented 7 years ago

Let's just do a final release! If anything else comes up we can always issue a bug fix!

Matt

On Tue, 4 Jul 2017 at 17:38 Toon Verstraelen notifications@github.com wrote:

Nice catch! Should we have another beta release, or should we go right for the final release?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/theochem/horton/issues/260#issuecomment-312906795, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_-NWnXt2DjQKm6WL0BX2r6FNcN32d6ks5sKlx6gaJpZM4ONUTq .

-- Matt

Sent from my phone

tovrstra commented 7 years ago

Hmm, this is not just a file missing from the repository. It seems that it is installed in a different place than where HORTON eventually tries to find it. Could she also send the output of her setup.py?

tovrstra commented 7 years ago

@matt-chan We'll need some more info to get this sorted out. (I've seen this bug before but I could never reproduce when I had access to OSX.)