[MacPorts] #20491: shogun-0.7.3 python modular crashes silently with Abort trap

MacPorts noreply at macports.org
Mon Sep 28 22:41:29 PDT 2009


#20491: shogun-0.7.3 python modular crashes silently with Abort trap
-------------------------------------------+--------------------------------
 Reporter:  rike.schuppner@…               |       Owner:  mcalhoun@…           
     Type:  defect                         |      Status:  new                  
 Priority:  Normal                         |   Milestone:                       
Component:  ports                          |     Version:                       
 Keywords:                                 |        Port:  shogun               
-------------------------------------------+--------------------------------

Comment(by jameskyle@…):

 I've modified the py26-numpy port to link against macport's atlas
 libraries and this fixes the issue you're seeing. Once I get the go ahead,
 I'll push those changes live and this ticket will be fixed:

 {{{
 Python 2.6.2 (r262:71600, Sep 27 2009, 15:19:09)
 Type "copyright", "credits" or "license" for more information.

 IPython 0.10 -- An enhanced Interactive Python.
 ?         -> Introduction and overview of IPython's features.
 %quickref -> Quick reference.
 help      -> Python's own help system.
 object?   -> Details about 'object'. ?object also works, ?? prints more.

 In [1]: import shogun.Classifier

 In [2]: shogun.Classifier.LibSVM().train()
 ---------------------------------------------------------------------------
 SystemError                               Traceback (most recent call
 last)
 /macports/dports/python/py26-numpy/<ipython console> in <module>()

 /macports/mports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/shogun/Classifier.py in train(self)
    1377     def train(self):
    1378         """train(self) -> bool"""
 -> 1379         return _Classifier.LibSVM_train(self)
    1380
    1381     def get_classifier_type(self):

 SystemError: [ERROR] assertion labels && labels->get_num_labels() failed
 in file classifier/svm/LibSVM.cpp line 33

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20491#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list