Compilation problem in Debain

Asked by arvind ajoy

Hi

Your tool looks like a must-have for any scientist. I am eager to try it out.

I am trying to compile the source DataFinder-2.2.0-RELEASE-220 on a Debian Testing system. However, I get the error listed below. Please let me know how I can solve this issue.

Regards

Arvind Ajoy
Post-Doctoral Associate, Purdue University

testCreateLink (datafinder_test.persistence.adapters.svn.data.adapter_test.DataSubversionAdapterTestCase) ... Traceback (most recent call last):
  File "/usr/bin/nosetests", line 9, in <module>
    load_entry_point('nose==1.1.2', 'console_scripts', 'nosetests')()
  File "/usr/lib/python2.7/dist-packages/nose/core.py", line 118, in __init__
    **extra_args)
  File "/usr/lib/python2.7/unittest/main.py", line 95, in __init__
    self.runTests()
  File "/usr/lib/python2.7/dist-packages/nose/core.py", line 197, in runTests
    result = self.testRunner.run(self.test)
  File "/usr/lib/python2.7/dist-packages/nose/core.py", line 61, in run
    test(result)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 176, in __call__
    return self.run(*arg, **kw)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 223, in run
    test(orig)
  File "/usr/lib/python2.7/unittest/suite.py", line 70, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 74, in run
    test(result)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 176, in __call__
    return self.run(*arg, **kw)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 223, in run
    test(orig)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 176, in __call__
    return self.run(*arg, **kw)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 223, in run
    test(orig)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 176, in __call__
    return self.run(*arg, **kw)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 223, in run
    test(orig)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 176, in __call__
    return self.run(*arg, **kw)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 223, in run
    test(orig)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 176, in __call__
    return self.run(*arg, **kw)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 223, in run
    test(orig)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 176, in __call__
    return self.run(*arg, **kw)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 223, in run
    test(orig)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 176, in __call__
    return self.run(*arg, **kw)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 223, in run
    test(orig)
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 45, in __call__
    return self.run(*arg, **kwarg)
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 138, in run
    result.addError(self, err)
  File "/usr/lib/python2.7/dist-packages/nose/proxy.py", line 135, in addError
    self.result.addError(self.test, self._prepareErr(err))
  File "/usr/lib/python2.7/dist-packages/nose/result.py", line 64, in addError
    exc_info = self._exc_info_to_string(err)
  File "/usr/lib/python2.7/dist-packages/nose/result.py", line 187, in _exc_info_to_string
    return _TextTestResult._exc_info_to_string(self, err, test)
  File "/usr/lib/python2.7/unittest/result.py", line 159, in _exc_info_to_string
    if exctype is test.failureException:
AttributeError: 'NoneType' object has no attribute 'failureException'

Question information

Language:
English Edit question
Status:
Answered
For:
DataFinder Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Guy K. Kloss (guy.kloss) said :
#1

Well, DataFinder is a Python implementation, that does not need to be
compiled, but installed only.

We have recently made an attempt on Debian Squeeze (stable), and were
successful in running the clients. However, we have also been a bit
disappointed that the unit tests didn't run properly. But I can't tell
at the moment what it is/was, that kept them from finishing properly.

I'd love to point you to the notes from my R&D project students, but
unfortunately our uni has got a problem with the virtual machines
running the wiki ... :-( You may however try to track down the pages
describing the setup somewhere under

https://putake.aut.ac.nz/wiki/LabNotebook

Unfortunately, too much of the official documentation on the DataFinder
wiki is a bit terse, outdated, or a bit inaccurate. I'll see if I can
update a bit on that over the upcoming summer months (southern
hemisphere). But we've also been waiting on quite a bit of feedback
from the official developers ...

Also try your luck on the wiki with the official documentation:

https://wiki.sistec.dlr.de/DataFinderOpenSource

Please, keep me posted on where you're getting at with it. It'd be
great to get some of these things sorted out and describe some
procedures for an install on recent Debian versions. The Germans only
seem to be looking at SuSE, and I've got the feeling they haven't
installed a version recently (server and client, particularly server
...), or have just not bothered updating the docs.

Hope that helps,

Guy
(Lecturer, Auckland University of Technology)

Revision history for this message
Tobias Schlauch (tobias-schlauch) said :
#2

If you take a closer look at the stack trace, it looks like a problem of nose... Have you tested another nose version?

 For the moment, we can only confirm that it works on WinXP, Windows7, SLED10, and SLED11 using the library versions listed here: https://wiki.sistec.dlr.de/DataFinderOpenSource/RequiredDevPackages
Unfortunately, our development resources are currently quite limited. Thus, we have not been able to test it seriously on other platforms/libraries including Python2.7. Thus, the documentation is quite true in this regard.

@Guy: If you have experienced any problems with Python2.7 on Debian.. Why is there not any question/mail/bug report describing this problem?

-----Ursprüngliche Nachricht-----
Von: <email address hidden> [mailto:<email address hidden>] Im Auftrag von Guy K. Kloss
Gesendet: Samstag, 10. November 2012 11:11
An: <email address hidden>
Betreff: Re: [Datafinder-team] [Question #213813]: Compilation problem in Debain

Question #213813 on DataFinder changed:
https://answers.launchpad.net/datafinder/+question/213813

    Status: Open => Answered

Guy K. Kloss proposed the following answer:
Well, DataFinder is a Python implementation, that does not need to be compiled, but installed only.

We have recently made an attempt on Debian Squeeze (stable), and were successful in running the clients. However, we have also been a bit disappointed that the unit tests didn't run properly. But I can't tell at the moment what it is/was, that kept them from finishing properly.

I'd love to point you to the notes from my R&D project students, but unfortunately our uni has got a problem with the virtual machines running the wiki ... :-( You may however try to track down the pages describing the setup somewhere under

https://putake.aut.ac.nz/wiki/LabNotebook

Unfortunately, too much of the official documentation on the DataFinder wiki is a bit terse, outdated, or a bit inaccurate. I'll see if I can update a bit on that over the upcoming summer months (southern hemisphere). But we've also been waiting on quite a bit of feedback from the official developers ...

Also try your luck on the wiki with the official documentation:

https://wiki.sistec.dlr.de/DataFinderOpenSource

Please, keep me posted on where you're getting at with it. It'd be great to get some of these things sorted out and describe some procedures for an install on recent Debian versions. The Germans only seem to be looking at SuSE, and I've got the feeling they haven't installed a version recently (server and client, particularly server ...), or have just not bothered updating the docs.

Hope that helps,

Guy
(Lecturer, Auckland University of Technology)

--
You received this question notification because you are a member of DataFinderTeam, which is an answer contact for DataFinder.

_______________________________________________
Mailing list: https://launchpad.net/~datafinder-team
Post to : <email address hidden>
Unsubscribe : https://launchpad.net/~datafinder-team
More help : https://help.launchpad.net/ListHelp

Can you help with this problem?

Provide an answer of your own, or ask arvind ajoy for more information if necessary.

To post a message you must log in.