bugrelax - Bugs: bug #20820, Unit test fail (missing modules)...

 
 
Show feedback again

bug #20820: Unit test fail (missing modules) in relax repository checkout r19694, linux 64 bit

Submitted by:  Troels E. Linnet <tlinnet>
Submitted on:  Thu 16 May 2013 09:46:28 PM UTC  
 
Category: Test suiteSpecific analysis category: None
Priority: 5 - NormalSeverity: 2 - Minor
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: Repository: trunkOperating System: All systems

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 04 Jun 2013 11:51:54 AM UTC, SVN revision 19858:

Merged revisions 19857 via svnmerge from
svn+ssh://bugman@svn.gna.org/svn/relax/trunk

........
r19857 | bugman | 2013-06-04 13:50:48 +0200 (Tue, 04 Jun 2013) | 5 lines

Fix for bug #20820 (https://gna.org/bugs/?20820).

Solution found - 'software' was not mentioned in _init_.py, and failed at import.
........

(Browse SVN revision 19858)

Edward d Auvergne <bugman>
Project Administrator
Tue 04 Jun 2013 11:50:48 AM UTC, SVN revision 19857:

Fix for bug #20820 (https://gna.org/bugs/?20820).

Solution found - 'software' was not mentioned in _init_.py, and failed at import.

(Browse SVN revision 19857)

Edward d Auvergne <bugman>
Project Administrator
Tue 04 Jun 2013 09:52:54 AM UTC, comment #2:

Could you run:

$ svn diff > patch

and then attach the 'patch' file? Cheers!

Edward d Auvergne <bugman>
Project Administrator
Tue 04 Jun 2013 07:45:06 AM UTC, comment #1:

Solution found.
'software' was not mentioned in _init_.py, and failed at import.

In: relax_trunk/lib/__init__.py

[software@tomat lib]$ svn diff
Index: _init_.py
===================================================================
--- _init_.py (revision 19856)
+++ _init_.py (working copy)
@@ -44,6 +44,7 @@
'physical_constants',
'regex',
'selection',
+ 'software',
'spectral_densities',
'statistics',
'structure',

Troels E. Linnet <tlinnet>
Project Member
Thu 16 May 2013 09:46:28 PM UTC, original submission:

Unit test fail in relax trunk, checkout r19694
Error: Missing modules

relax trunk checkout r19694, compiled on

Linux version 2.6.32-358.6.1.el6.x86_64 (mockbuild@x86-022.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Mar 29 16:51:51 EDT 2013

with
Enthought Python Distribution -- http://www.enthought.com
Version: 7.3-2 (64-bit)
Python 2.7.3 |EPD 7.3-2 (64-bit)| (default, Apr 11 2012, 17:52:16)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2

using scons 2.3.0, bmrblib-1.0.2, minfx-1.0.4

-- Error message
Checking for modules/packages missing from the _all_ list.
Module/package: model_selection
Module/package: statistics
Module/package: arg_check
Module/package: mathematics
Module/package: check_types
Module/package: list
Module/package: software
Traceback (most recent call last):
File "/sbinlab2/software/NMR-relax/relax_trunk/test_suite/unit_tests/package_checking.py", line 72, in test___all__
self.assert_(module in self.package.__all__)
AssertionError: False is not true

Troels E. Linnet <tlinnet>
Project Member

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #18048:  patch added by tlinnet (309B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bugman (Updated the item)
  • -unavailable- added by tlinnet (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 04 Jun 2013 11:56:32 AM UTCbugmanStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Tue 04 Jun 2013 11:32:36 AM UTCtlinnetAttached File-=>Added patch, #18048
    Fri 17 May 2013 08:29:12 AM UTCbugmanStatusNone=>Confirmed
      Operating SystemGNU/Linux=>All systems
    Thu 16 May 2013 09:46:28 PM UTCtlinnetAttached File-=>Added relax_trunk_test-suite.txt, #17971
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup