Search for
*** You don't have the (right) mxDateTime binaries installed ! --> -->
 
 
<type 'exceptions.ImportError'>
Python 2.7.15: /usr/local/bin/python
Sat Oct 20 00:09:23 2018

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/www/users/m14m/cgi-bin/blogletSearch.py in ()
     58             antiterms.append(term[1:])
     59 
=>   60     results = searchPosts(username, terms, antiterms)
     61 
     62     if len(results) == 0:
results undefined, searchPosts = <function searchPosts>, username = 'm14m', terms = ['coming', 'soon'], antiterms = []
 /usr/home/m14m/lib/python/blogletUtils.py in searchPosts(username='m14m', terms=['coming', 'soon'], antiterms=[])
    229     results = []
    230     for postId in postIds:
=>  231         post = getRecentPost(postId, username)
    232         if searchPost(post, terms, antiterms):
    233             results.append(post)
post undefined, global getRecentPost = <function getRecentPost>, postId = '2008189005013', username = 'm14m'
 /usr/home/m14m/lib/python/blogletUtils.py in getRecentPost(postId='2008189005013', username='m14m')
    473     match = re.search(pattern, blog)
    474     content = match.group(2)
=>  475     dateCreated = xmlrpclib.DateTime(getPostEpochTime(postId))
    476     return {'content': content, 'userId': username, 'postId': postId, 'dateCreated': dateCreated}
    477 
dateCreated undefined, global xmlrpclib = <module 'xmlrpclib' from '/usr/home/m14m/lib/python/xmlrpclib.py'>, xmlrpclib.DateTime = <class xmlrpclib.DateTime>, global getPostEpochTime = <function getPostEpochTime>, postId = '2008189005013'
 /usr/home/m14m/lib/python/blogletUtils.py in getPostEpochTime(postId='2008189005013')
    616 
    617 def getPostEpochTime(postId):
=>  618     postTime = getPostDateTime(postId)
    619     epochTime = int(postTime.ticks())
    620     return epochTime
postTime undefined, global getPostDateTime = <function getPostDateTime>, postId = '2008189005013'
 /usr/home/m14m/lib/python/blogletUtils.py in getPostDateTime(postId='2008189005013')
    598 
    599 def getPostDateTime(postId):
=>  600     import mx.DateTime
    601     year = postId[0:4]
    602     yearDay = postId[4:7]
mx undefined
 /usr/home/m14m/lib/python/mx/DateTime/__init__.py in ()
      6     or contact the author. All Rights Reserved.
      7 """
=>    8 from DateTime import *
      9 from DateTime import __version__
     10 
DateTime undefined
 /usr/home/m14m/lib/python/mx/DateTime/DateTime.py in ()
      7 """
      8 # Import C extension module
=>    9 from mxDateTime import *
     10 from mxDateTime import __version__
     11 
mxDateTime undefined
 /usr/home/m14m/lib/python/mx/DateTime/mxDateTime/__init__.py in ()
     11 except ImportError, why:
     12     print "*** You don't have the (right) mxDateTime binaries installed !"
=>   13     raise ImportError, why
     14     #from mxDateTime_Python import *
     15     #from mxDateTime_Python import __version__
builtin ImportError = <type 'exceptions.ImportError'>, why = None

<type 'exceptions.ImportError'>: /usr/home/m14m/lib/python/mx/DateTime/mxDateTime/mxDateTime.so: unsupported file layout
      args = ('/usr/home/m14m/lib/python/mx/DateTime/mxDateTime/mxDateTime.so: unsupported file layout',)
      message = '/usr/home/m14m/lib/python/mx/DateTime/mxDateTime/mxDateTime.so: unsupported file layout'