← Back to team overview

instant team mailing list archive

Re: import_module

 

  File "/usr/lib/python2.5/site-packages/ffc/jit/jit.py", line 69, in
  jit
    module = instant.import_module(jit_object)
  File "/usr/lib/python2.5/site-packages/instant/cache.py", line 126,
  in import_module
    path, modulename = find_module_location(moduleid, cache_dir)
  File "/usr/lib/python2.5/site-packages/instant/cache.py", line 74,
  in find_module_location
    instant_assert(isinstance(moduleid, str), "In
    instant.find_module_location: Expecting moduleid to be string in
    find_module_location.")
  File "/usr/lib/python2.5/site-packages/instant/output.py", line 53,
  in instant_assert
    raise AssertionError(text)
AssertionError: In instant.find_module_location: Expecting moduleid to
be string in find_module_location.


On Thu, Sep 04, 2008 at 03:41:39PM +0200, Martin Sandve Alnæs wrote:
> Try now.
> 
> 2008/9/4 Anders Logg <logg@xxxxxxxxx>:
> > I get the following error when calling import_module:
> >
> >  File "/usr/lib/python2.5/site-packages/ffc/jit/jit.py", line 69, in jit
> >    module = instant.import_module(jit_object)
> >  File "/usr/lib/python2.5/site-packages/instant/cache.py", line 118, in import_module
> >    if os.path.isdir(os.path.join(cache_dir, modulename)):
> >  File "/usr/lib/python2.5/posixpath.py", line 62, in join
> >    elif path == '' or path.endswith('/'):
> >  AttributeError: 'NoneType' object has no attribute 'endswith'
> >
> > Any ideas what goes wrong?
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.6 (GNU/Linux)
> >
> > iD8DBQFIv+PHTuwUCDsYZdERAuaeAJ4zme6+WxvGpgE+GhpkrTchKgG//QCdF6gs
> > fcshzAXDjQPTgWnv+tuZecg=
> > =BUGw
> > -----END PGP SIGNATURE-----
> >
> > _______________________________________________
> > Instant-dev mailing list
> > Instant-dev@xxxxxxxxxx
> > http://fenics.org/mailman/listinfo/instant-dev
> >
> >
> 
> 
> 

Attachment: signature.asc
Description: Digital signature


Follow ups

References