Processed: Re: Bug#896220: python-lasagne: lasagne fails to import
Processing control commands: > reassign -1 python-theano 0.9.0+dfsg-2 Bug #896220 [python-lasagne] python-lasagne: lasagne fails to import Bug reassigned from package 'python-lasagne' to 'python-theano'. No longer marked as found in versions lasagne/0.1+git20180322.37ca134-1. Ignoring request to alter fixed versions of bug #896220 to the same values previously set Bug #896220 [python-theano] python-lasagne: lasagne fails to import Marked as found in versions theano/0.9.0+dfsg-2. > retitle -1 python-theano fails to load without nonexisting HOME Bug #896220 [python-theano] python-lasagne: lasagne fails to import Changed Bug title to 'python-theano fails to load without nonexisting HOME' from 'python-lasagne: lasagne fails to import'. > affects -1 python-lasagne Bug #896220 [python-theano] python-theano fails to load without nonexisting HOME Added indication that 896220 affects python-lasagne > severity -1 important Bug #896220 [python-theano] python-theano fails to load without nonexisting HOME Severity set to 'important' from 'serious' > reassign 896421 python3-theano 0.9.0+dfsg-2 Bug #896421 [python3-lasagne] python3-lasagne: lasagne fails to import Bug reassigned from package 'python3-lasagne' to 'python3-theano'. No longer marked as found in versions lasagne/0.1+git20180322.37ca134-1. Ignoring request to alter fixed versions of bug #896421 to the same values previously set Bug #896421 [python3-theano] python3-lasagne: lasagne fails to import Marked as found in versions theano/0.9.0+dfsg-2. > retitle 896421 python3-theano fails to load with nonexisting HOME Bug #896421 [python3-theano] python3-lasagne: lasagne fails to import Changed Bug title to 'python3-theano fails to load with nonexisting HOME' from 'python3-lasagne: lasagne fails to import'. > affects 896421 python3-lasagne Bug #896421 [python3-theano] python3-theano fails to load with nonexisting HOME Added indication that 896421 affects python3-lasagne > severity 896421 important Bug #896421 [python3-theano] python3-theano fails to load with nonexisting HOME Severity set to 'important' from 'serious' -- 896220: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896220 896421: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896421 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#896220: python-lasagne: lasagne fails to import
Control: reassign -1 python-theano 0.9.0+dfsg-2 Control: retitle -1 python-theano fails to load without nonexisting HOME Control: affects -1 python-lasagne Control: severity -1 important Control: reassign 896421 python3-theano 0.9.0+dfsg-2 Control: retitle 896421 python3-theano fails to load with nonexisting HOME Control: affects 896421 python3-lasagne Control: severity 896421 important On Fri, Apr 20, 2018 at 10:00:53PM +0200, Helmut Grohne wrote: > Package: python-lasagne > Version: 0.1+git20180322.37ca134-1 > Severity: serious > User: helm...@debian.org > Usertags: python-import > > After installing python-lasagne importing the module lasagne > into a python interpreter fails with the following error: > > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python2.7/dist-packages/lasagne/__init__.py", line 12, in > > import theano > File "/usr/lib/python2.7/dist-packages/theano/__init__.py", line 66, in > > from theano.compile import ( > File "/usr/lib/python2.7/dist-packages/theano/compile/__init__.py", line > 10, in > from theano.compile.function_module import * > File "/usr/lib/python2.7/dist-packages/theano/compile/function_module.py", > line 21, in > import theano.compile.mode > File "/usr/lib/python2.7/dist-packages/theano/compile/mode.py", line 10, in > > import theano.gof.vm > File "/usr/lib/python2.7/dist-packages/theano/gof/vm.py", line 662, in > > from . import lazylinker_c > File "/usr/lib/python2.7/dist-packages/theano/gof/lazylinker_c.py", line > 42, in > location = os.path.join(config.compiledir, 'lazylinker_ext') > File "/usr/lib/python2.7/dist-packages/theano/configparser.py", line 333, > in __get__ > self.__set__(cls, val_str) > File "/usr/lib/python2.7/dist-packages/theano/configparser.py", line 344, > in __set__ > self.val = self.filter(val) > File "/usr/lib/python2.7/dist-packages/theano/configdefaults.py", line > 1745, in filter_compiledir > " '%s'. Check the permissions." % path) > ValueError: Unable to create the compiledir directory > '/nonexistent/.theano/compiledir_Linux-4.14--amd64-x86_64-with-debian-buster-sid--2.7.15rc1-64'. > Check the permissions. >... The problem is in theano. And depending on the circumstances (I cannot judge it here) it might not even be a bug that this module expect a $HOME that points to a real location. > Helmut cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
Bug#896220: python-lasagne: lasagne fails to import
Package: python-lasagne Version: 0.1+git20180322.37ca134-1 Severity: serious User: helm...@debian.org Usertags: python-import After installing python-lasagne importing the module lasagne into a python interpreter fails with the following error: Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.7/dist-packages/lasagne/__init__.py", line 12, in import theano File "/usr/lib/python2.7/dist-packages/theano/__init__.py", line 66, in from theano.compile import ( File "/usr/lib/python2.7/dist-packages/theano/compile/__init__.py", line 10, in from theano.compile.function_module import * File "/usr/lib/python2.7/dist-packages/theano/compile/function_module.py", line 21, in import theano.compile.mode File "/usr/lib/python2.7/dist-packages/theano/compile/mode.py", line 10, in import theano.gof.vm File "/usr/lib/python2.7/dist-packages/theano/gof/vm.py", line 662, in from . import lazylinker_c File "/usr/lib/python2.7/dist-packages/theano/gof/lazylinker_c.py", line 42, in location = os.path.join(config.compiledir, 'lazylinker_ext') File "/usr/lib/python2.7/dist-packages/theano/configparser.py", line 333, in __get__ self.__set__(cls, val_str) File "/usr/lib/python2.7/dist-packages/theano/configparser.py", line 344, in __set__ self.val = self.filter(val) File "/usr/lib/python2.7/dist-packages/theano/configdefaults.py", line 1745, in filter_compiledir " '%s'. Check the permissions." % path) ValueError: Unable to create the compiledir directory '/nonexistent/.theano/compiledir_Linux-4.14--amd64-x86_64-with-debian-buster-sid--2.7.15rc1-64'. Check the permissions. The vast majority of import failures is attributed to missing dependencies. Often times that manifests as an ImportError or ModuleNotFoundError. Typically, dependencies should be inserted by dh-python via ${python:Depends} or ${python3:Depends}. Thus a missing dependency can be caused by incomplete install_requires in setup.py. Sometimes a missing dependency of a dependency is the cause, in such cases this bug should be reassigned. Helmut