Your message dated Sun, 7 Feb 2021 23:43:29 +0000
with message-id <[email protected]>
and subject line Re: Bug#896408: python3-spyder-memory-profiler:
spyder_memory_profiler fails to import
has caused the Debian Bug report #896408,
regarding python3-spyder-memory-profiler: spyder_memory_profiler fails to import
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
896408: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896408
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-spyder-memory-profiler
Version: 0.1.2-1
Severity: serious
User: [email protected]
Usertags: python-import
After installing python3-spyder-memory-profiler importing the module
spyder_memory_profiler
into a python interpreter fails with the following error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/spyder_memory_profiler/__init__.py",
line 12, in <module>
from .memoryprofiler import MemoryProfiler
File
"/usr/lib/python3/dist-packages/spyder_memory_profiler/memoryprofiler.py", line
14, in <module>
from spyder.utils.qthelpers import qapplication
File "/usr/lib/python3/dist-packages/spyder/utils/qthelpers.py", line 25, in
<module>
from spyder.config.base import get_image_path, running_in_mac_app
File "/usr/lib/python3/dist-packages/spyder/config/base.py", line 221, in
<module>
LANG_FILE = get_conf_path('langconfig')
File "/usr/lib/python3/dist-packages/spyder/config/base.py", line 126, in
get_conf_path
xdg_config_home = osp.join(get_home_dir(), '.config')
File "/usr/lib/python3/dist-packages/spyder/config/base.py", line 116, in
get_home_dir
raise RuntimeError('Please define environment variable $HOME')
RuntimeError: Please define environment variable $HOME
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
--- End Message ---
--- Begin Message ---
Source: spyder-memory-profiler
Version: 0.2.1-1
I forgot to add this to the changelog; the new version that I just
uploaded does not display this behaviour, so I am closing this bug
report.
Best wishes,
Julian
On Fri, Apr 20, 2018 at 10:01:37PM +0200, Helmut Grohne wrote:
> Package: python3-spyder-memory-profiler
> Version: 0.1.2-1
> Severity: serious
> User: [email protected]
> Usertags: python-import
>
> After installing python3-spyder-memory-profiler importing the module
> spyder_memory_profiler
> into a python interpreter fails with the following error:
>
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "/usr/lib/python3/dist-packages/spyder_memory_profiler/__init__.py",
> line 12, in <module>
> from .memoryprofiler import MemoryProfiler
> File
> "/usr/lib/python3/dist-packages/spyder_memory_profiler/memoryprofiler.py",
> line 14, in <module>
> from spyder.utils.qthelpers import qapplication
> File "/usr/lib/python3/dist-packages/spyder/utils/qthelpers.py", line 25,
> in <module>
> from spyder.config.base import get_image_path, running_in_mac_app
> File "/usr/lib/python3/dist-packages/spyder/config/base.py", line 221, in
> <module>
> LANG_FILE = get_conf_path('langconfig')
> File "/usr/lib/python3/dist-packages/spyder/config/base.py", line 126, in
> get_conf_path
> xdg_config_home = osp.join(get_home_dir(), '.config')
> File "/usr/lib/python3/dist-packages/spyder/config/base.py", line 116, in
> get_home_dir
> raise RuntimeError('Please define environment variable $HOME')
> RuntimeError: Please define environment variable $HOME
>
> 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
--- End Message ---