Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging failure on Windows: Nonetype object has no attribute write #18

Open
Chilipp opened this issue May 26, 2020 · 0 comments
Open

Logging failure on Windows: Nonetype object has no attribute write #18

Chilipp opened this issue May 26, 2020 · 0 comments

Comments

@Chilipp
Copy link
Owner

Chilipp commented May 26, 2020

Screenshot

grafik

Files

use the tutorial

Problem description

When starting straditize one windows from the start menu, there seems to be a logging issue with some attribute errors. Not yet sure whether this is really a problem of straditize, or one of the downstream problems. It does not appear when the program is started from the command line.

Environment information

psyplot -aV
psy_simple.plugin:
  version: 1.2.0
psy_strat.plugin:
  version: 0.1.0
psyplot:
  requirements:
    matplotlib: 3.2.1
    numpy: 1.18.4
    pandas: 1.0.3
    python: 3.7.6 | packaged by conda-forge | (default, Mar 23 2020, 22:22:21) [MSC
      v.1916 64 bit (AMD64)]
    xarray: 0.15.1
  version: 1.2.1
psyplot_gui:
  requirements:
    pyqt: 5.12.3
    qt: 5.12.5
    qtconsole: 4.7.4
  version: 1.2.4
straditize -V 0.1.3
conda info -a

     active environment : straditize
    active env location : C:\Users\SommerP\Miniconda3\envs\straditize
            shell level : 2
       user config file : C:\Users\SommerP\.condarc
 populated config files :
          conda version : 4.8.3
    conda-build version : not installed
         python version : 3.7.6.final.0
       virtual packages :
       base environment : C:\Users\SommerP\Miniconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\SommerP\Miniconda3\pkgs
                          C:\Users\SommerP\.conda\pkgs
                          C:\Users\SommerP\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\SommerP\Miniconda3\envs
                          C:\Users\SommerP\.conda\envs
                          C:\Users\SommerP\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.8.3 requests/2.22.0 CPython/3.7.6 Windows/10 Windows/10.0.18362
          administrator : False
             netrc file : None
           offline mode : False

# conda environments:
#
base                     C:\Users\SommerP\Miniconda3
straditize            *  C:\Users\SommerP\Miniconda3\envs\straditize

sys.version: 3.7.6 (default, Jan  8 2020, 20:23:39) [...
sys.prefix: C:\Users\SommerP\Miniconda3
sys.executable: C:\Users\SommerP\Miniconda3\python.exe
conda location: C:\Users\SommerP\Miniconda3\lib\site-packages\conda
conda-build: None
conda-env: C:\Users\SommerP\Miniconda3\Scripts\conda-env.exe
conda-server: C:\Users\SommerP\Miniconda3\Scripts\conda-server.exe
user site dirs:

CIO_TEST: <not set>
CONDA_DEFAULT_ENV: straditize
CONDA_EXE: C:\Users\SommerP\Miniconda3\condabin\..\Scripts\conda.exe
CONDA_EXES: "C:\Users\SommerP\Miniconda3\condabin\..\Scripts\conda.exe"
CONDA_PREFIX: C:\Users\SommerP\Miniconda3\envs\straditize
CONDA_PREFIX_1: C:\Users\SommerP\Miniconda3
CONDA_PROMPT_MODIFIER: (straditize)
CONDA_PYTHON_EXE: C:\Users\SommerP\Miniconda3\python.exe
CONDA_ROOT: C:\Users\SommerP\Miniconda3
CONDA_SHLVL: 2
HOMEPATH: \
PATH: C:\Users\SommerP\Miniconda3;C:\Users\SommerP\Miniconda3\Library\mingw-w64\bin;C:\Users\SommerP\Miniconda3\Library\usr\bin;C:\Users\SommerP\Miniconda3\Library\bin;C:\Users\SommerP\Miniconda3\Scripts;C:\Users\SommerP\Miniconda3\bin;C:\Users\SommerP\Miniconda3\envs\straditize;C:\Users\SommerP\Miniconda3\envs\straditize\Library\mingw-w64\bin;C:\Users\SommerP\Miniconda3\envs\straditize\Library\usr\bin;C:\Users\SommerP\Miniconda3\envs\straditize\Library\bin;C:\Users\SommerP\Miniconda3\envs\straditize\Scripts;C:\Users\SommerP\Miniconda3\envs\straditize\bin;C:\Users\SommerP\Miniconda3\condabin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\windows\System32\OpenSSH;c:\programme\support\scripts;c:\programme\support\tools;C:\Users\SommerP\AppData\Local\Microsoft\WindowsApps;.
PSMODULEPATH: C:\Program Files\WindowsPowerShell\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules
REQUESTS_CA_BUNDLE: <not set>
SSL_CERT_FILE: <not set>
conda list
# packages in environment at C:\Users\SommerP\Miniconda3\envs\straditize:
#
# Name                    Version                   Build  Channel
alabaster                 0.7.12                     py_0    conda-forge
babel                     2.8.0                      py_0    conda-forge
backcall                  0.1.0                      py_0    conda-forge
blas                      1.0                         mkl
brotlipy                  0.7.0           py37h4ab8f01_1000    conda-forge
bzip2                     1.0.8                hfa6e2cd_2    conda-forge
ca-certificates           2020.4.5.1           hecc5488_0    conda-forge
certifi                   2020.4.5.1       py37hc8dfbb8_0    conda-forge
cffi                      1.14.0           py37ha419a9e_0    conda-forge
cftime                    1.1.3            py37h44b1f71_0    conda-forge
chardet                   3.0.4           py37hc8dfbb8_1006    conda-forge
cloudpickle               1.4.1                      py_0    conda-forge
colorama                  0.4.3                      py_0    conda-forge
cryptography              2.9.2            py37h26f1ce3_0    conda-forge
curl                      7.69.1               h1dcc11c_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
cytoolz                   0.10.1           py37hfa6e2cd_0    conda-forge
dask-core                 2.16.0                     py_0    conda-forge
decorator                 4.4.2                      py_0    conda-forge
docrep                    0.2.7                      py_0    conda-forge
docutils                  0.16             py37hc8dfbb8_1    conda-forge
entrypoints               0.3             py37hc8dfbb8_1001    conda-forge
et_xmlfile                1.0.1                   py_1001    conda-forge
fasteners                 0.14.1                     py_3    conda-forge
freetype                  2.10.2               hd328e21_0    conda-forge
funcargparse              0.2.2                      py_0    conda-forge
hdf4                      4.2.13            hf8e6fe8_1003    conda-forge
hdf5                      1.10.6          nompi_ha405e13_100    conda-forge
icc_rt                    2019.0.0             h0cc432a_1
icu                       64.2                 he025d50_1    conda-forge
idna                      2.9                        py_1    conda-forge
imagecodecs               2020.2.18                pypi_0    pypi
imagecodecs-lite          2019.12.3        py37h8055547_0    conda-forge
imageio                   2.8.0                      py_0    conda-forge
imagesize                 1.2.0                      py_0    conda-forge
intel-openmp              2019.4                      245
ipykernel                 5.3.0            py37h5ca1d4c_0    conda-forge
ipython                   7.14.0           py37hc8dfbb8_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
jdcal                     1.4.1                      py_0    conda-forge
jedi                      0.17.0           py37hc8dfbb8_0    conda-forge
jinja2                    2.11.2             pyh9f0ad1d_0    conda-forge
jpeg                      9c                hfa6e2cd_1001    conda-forge
jupyter_client            5.3.4                    py37_1    conda-forge
jupyter_core              4.6.3            py37hc8dfbb8_1    conda-forge
kiwisolver                1.2.0            py37heaa310e_0    conda-forge
krb5                      1.17.1               hdd46e55_0    conda-forge
libblas                   3.8.0                    14_mkl    conda-forge
libcblas                  3.8.0                    14_mkl    conda-forge
libclang                  9.0.1           default_hf44288c_0    conda-forge
libcurl                   7.69.1               h1dcc11c_0    conda-forge
liblapack                 3.8.0                    14_mkl    conda-forge
libnetcdf                 4.7.4           nompi_h256d12c_104    conda-forge
libpng                    1.6.37               hfe6a214_1    conda-forge
libsodium                 1.0.17               h2fa13f4_0    conda-forge
libssh2                   1.9.0                h3235a2c_2    conda-forge
libtiff                   4.1.0                h885aae3_6    conda-forge
lz4-c                     1.9.2                h62dcd97_1    conda-forge
markupsafe                1.1.1            py37h8055547_1    conda-forge
matplotlib-base           3.2.1            py37h911224e_0    conda-forge
mkl                       2019.4                      245
mkl-service               2.3.0            py37hfa6e2cd_0    conda-forge
monotonic                 1.5                        py_0    conda-forge
netcdf4                   1.5.3           nompi_py37he83aa3c_105    conda-forge
networkx                  2.4                        py_1    conda-forge
numpy                     1.18.4           py37hae9e721_0    conda-forge
olefile                   0.46                       py_0    conda-forge
openpyxl                  3.0.3                      py_0    conda-forge
openssl                   1.1.1g               he774522_0    conda-forge
packaging                 20.4               pyh9f0ad1d_0    conda-forge
pandas                    1.0.3            py37h3bbf574_1    conda-forge
parso                     0.7.0              pyh9f0ad1d_0    conda-forge
pickleshare               0.7.5           py37hc8dfbb8_1001    conda-forge
pillow                    7.1.2            py37hc826c6e_0    conda-forge
pip                       20.1.1             pyh9f0ad1d_0    conda-forge
prompt-toolkit            3.0.5                      py_0    conda-forge
psy-simple                1.2.0                 py37_1000    conda-forge
psy-strat                 0.1.1                    py37_0    conda-forge
psyplot                   1.2.1                    py37_1    conda-forge
psyplot-gui               1.2.4                    py37_0    conda-forge
pycparser                 2.20                       py_0    conda-forge
pygments                  2.6.1                      py_0    conda-forge
pyopenssl                 19.1.0                     py_1    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyqt                      5.12.3           py37h1834ac0_3    conda-forge
pyqt5-sip                 4.19.18                  pypi_0    pypi
pyqtchart                 5.12                     pypi_0    pypi
pyqtwebengine             5.12.1                   pypi_0    pypi
pysocks                   1.7.1            py37hc8dfbb8_1    conda-forge
python                    3.7.6           h60c2a47_5_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python_abi                3.7                     1_cp37m    conda-forge
pytz                      2020.1             pyh9f0ad1d_0    conda-forge
pywavelets                1.1.1            py37h44b1f71_1    conda-forge
pywin32                   227              py37hfa6e2cd_0    conda-forge
pyyaml                    5.3.1            py37h8055547_0    conda-forge
pyzmq                     19.0.1           py37h453f00a_0    conda-forge
qt                        5.12.5               h7ef1ec2_0    conda-forge
qtconsole                 4.7.4              pyh9f0ad1d_0    conda-forge
qtpy                      1.9.0                      py_0    conda-forge
requests                  2.23.0             pyh8c360ce_2    conda-forge
scikit-image              0.17.2           py37h3bbf574_0    conda-forge
scipy                     1.3.1            py37h29ff71c_0    conda-forge
setuptools                46.4.0           py37hc8dfbb8_0    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
snowballstemmer           2.0.0                      py_0    conda-forge
sphinx                    3.0.4                      py_0    conda-forge
sphinx_rtd_theme          0.4.3                      py_0    conda-forge
sphinxcontrib-applehelp   1.0.2                      py_0    conda-forge
sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
sphinxcontrib-htmlhelp    1.0.3                      py_0    conda-forge
sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
sphinxcontrib-serializinghtml 1.1.4                      py_0    conda-forge
sqlite                    3.30.1               hfa6e2cd_0    conda-forge
straditize                0.1.3                    py37_0    conda-forge
tifffile                  2020.5.11                  py_0    conda-forge
tk                        8.6.10               hfa6e2cd_0    conda-forge
toolz                     0.10.0                     py_0    conda-forge
tornado                   6.0.4            py37hfa6e2cd_0    conda-forge
traitlets                 4.3.3            py37hc8dfbb8_1    conda-forge
urllib3                   1.25.9                     py_0    conda-forge
vc                        14.1                 h869be7e_1    conda-forge
vs2015_runtime            14.16.27012          h30e32a0_2    conda-forge
wcwidth                   0.1.9              pyh9f0ad1d_0    conda-forge
wheel                     0.34.2                     py_1    conda-forge
win_inet_pton             1.1.0                    py37_0    conda-forge
wincertstore              0.2                   py37_1003    conda-forge
xarray                    0.15.1                     py_0    conda-forge
xz                        5.2.5                h2fa13f4_0    conda-forge
yaml                      0.2.4                he774522_0    conda-forge
zeromq                    4.3.2                h6538335_2    conda-forge
zlib                      1.2.11            h2fa13f4_1006    conda-forge
zstd                      1.4.4                h9f78265_3    conda-forge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant