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

Broken for win32 #32

Closed
mullenkamp opened this issue Sep 13, 2018 · 3 comments
Closed

Broken for win32 #32

mullenkamp opened this issue Sep 13, 2018 · 3 comments

Comments

@mullenkamp
Copy link

mullenkamp commented Sep 13, 2018

Issue:
The windows 32bit version appears to be the 64bit version as it doesn't load properly when called.

Run:
conda create -n test libspatialite sqlite

import sqlite3
conn = sqlite3.connect('outfile.sqlite')
conn.enable_load_extension(True)
conn.load_extension('mod_spatialite')

And the error:
sqlite3.OperationalError: %1 is not a valid Win32 application.

The code above works perfectly well in the 64 bit installation.

The default anaconda channel installation has the same issue...I'm guessing the conda-forge feedstock is getting it from the anaconda channel...


Environment (conda list):
# Name                    Version                   Build  Channel
freexl                    1.0.2                    vc14_2  [vc14]  conda-forge
geos                      3.6.2                hbf958a8_2
libiconv                  1.14                     vc14_4  [vc14]  conda-forge
libspatialite             4.3.0a                  vc14_19  [vc14]  conda-forge
libxml2                   2.9.5                    vc14_1  [vc14]  conda-forge
proj4                     4.9.3                    vc14_5  [vc14]  conda-forge
sqlite                    3.20.1                   vc14_2  [vc14]  conda-forge
vc                        14                            0    conda-forge
vs2015_runtime            14.0.25420                    0    conda-forge
zlib                      1.2.11                   vc14_0  [vc14]  conda-forge


Details about conda and system ( conda info ):
     active environment : test
    active env location : E:\programs\anaconda3_32bit\envs\test
            shell level : 2
       user config file : C:\Users\michaelek\.condarc
 populated config files : C:\Users\michaelek\.condarc
          conda version : 4.5.1
    conda-build version : 3.10.2
         python version : 3.6.5.final.0
       base environment : E:\programs\anaconda3_32bit  (writable)
           channel URLs : https://conda.anaconda.org/mullenkamp/win-32
                          https://conda.anaconda.org/mullenkamp/noarch
                          https://conda.anaconda.org/conda-forge/win-32
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/anaconda-fusion/win-32
                          https://conda.anaconda.org/anaconda-fusion/noarch
                          https://repo.anaconda.com/pkgs/main/win-32
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/win-32
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/win-32
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/win-32
                          https://repo.anaconda.com/pkgs/pro/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-32
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : E:\programs\anaconda3_32bit\pkgs
                          C:\Users\michaelek\AppData\Local\conda\conda\pkgs
       envs directories : E:\programs\anaconda3_32bit\envs
                          C:\Users\michaelek\AppData\Local\conda\conda\envs
                          C:\Users\michaelek\.conda\envs
               platform : win-32
             user-agent : conda/4.5.1 requests/2.18.4 CPython/3.6.5 Windows/10 Windows/10.0.14393
          administrator : False
             netrc file : None
           offline mode : False

@ocefpaf
Copy link
Member

ocefpaf commented Sep 13, 2018

@mullenkamp conda-forge dropped support for win32 a long time ago and you are probably getting a really old version. I'll move those packages to broken but we won't fix this b/c we abandoned win-32 due to CIs limitations and other resources.

@ocefpaf ocefpaf closed this as completed Sep 13, 2018
@mullenkamp
Copy link
Author

Thanks for the replay. I didn't realise conda-forge dropped support for 32bit. I've been using conda-forge on 32bit for a while now without issues. Do you know of a link to the conda-forge docs somewhere describing this? I tried looking, but I couldn't find it. Thanks again.

@ocefpaf
Copy link
Member

ocefpaf commented Sep 13, 2018

I've been using conda-forge on 32bit for a while now without issues

The old packages are still available but dangerously outdated and possible broken, as you just notice.

Do you know of a link to the conda-forge docs somewhere describing this? I tried looking, but I couldn't find it.

conda-forge/staged-recipes#5640

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

2 participants