[Debian-med-packaging] Bug#958840: kmer: autopkgtest regression: No module named 'localAlignerInterface'

Andreas Tille andreas at an3as.eu
Tue Apr 28 19:43:55 BST 2020


On Tue, Apr 28, 2020 at 04:43:30PM +0000, Antoni Villalonga wrote:
> 
> I think I've faced that problem and fixed.
> Fix should be included into '2to3.patch'
> 
> I think the relevant part is:
> 
> --- a/atac-driver/chainer/localalign/localAlignerInterfacemodule.C
> +++ b/atac-driver/chainer/localalign/localAlignerInterfacemodule.C
> @@ -227,8 +227,17 @@
>  };
>  
>  
> +static struct PyModuleDef cModMethods =
> +{
> +    PyModuleDef_HEAD_INIT,
> +    "localAlignerInterface",  /* name of module */
> +    "",          /* module documentation, may be NULL */
> +    -1,          /* size of per-interpreter state of the module, or -1 if the module keeps state in global variables. */
> +    registration_table
> +};
> +
>  extern "C"
> -void initlocalAlignerInterface() {
> -  Py_InitModule("localAlignerInterface", registration_table);
> +void PyInit_localAlignerInterface() {
> +  PyModule_Create(&cModMethods);
>  }

Thanks.  Looks promising.
 
> Sorry I can't access salsa due to a maintenance, also can't test autopkgtest
> for testing for the same reason.

Salsa and other hosts seem to be back now.
 
> It worked fine for sid some days ago.

Kind regards and thanks a lot for your contribution

      Andreas. 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list