Git Product home page Git Product logo

Comments (19)

dpinte avatar dpinte commented on August 14, 2024

@david-wolf it should work fine as 1.7 did not had major changes. If you can repot specific warnings or errors, that would help.

from pyql.

dave-fl avatar dave-fl commented on August 14, 2024

FAILED (failures=4, errors=1, skipped=1)

test_results.txt

from pyql.

dave-fl avatar dave-fl commented on August 14, 2024

Fixed the error in the test case. Warnings but it passed. Would like to know reason for the failures.

test_results.txt

from pyql.

dpinte avatar dpinte commented on August 14, 2024

I'll look into the details. From a quick review, can you confirm you build the QL DLL as explained in the doc? In particular the point 1 in this section https://github.com/enthought/pyql/blob/master/docs/source/getting_started.rst#installation-from-source-on-windows

from pyql.

dave-fl avatar dave-fl commented on August 14, 2024

Yes I did. Those steps seem to guarantee that if followed correctly the program will run - not its program correctness.

I had some issues initially with the DEF file which prevented compilation but I went back and fixed that.

from pyql.

dave-fl avatar dave-fl commented on August 14, 2024

Note I used QL 1.7.1, MSVC 14 and Anaconda latest version with Python 3.5.

Those settings have some issues too. First you are not updating a settings.py file you are updating a C++ file. Second you require Cygwin to be installed specifically with NM which is part of binutils.

from pyql.

dave-fl avatar dave-fl commented on August 14, 2024

Full build output.
build_output.txt

from pyql.

dpinte avatar dpinte commented on August 14, 2024

Thanks @dave-fl for the report. I'll investigate asap.

from pyql.

bigtan avatar bigtan commented on August 14, 2024

build_output.txt

I got the similar output as @dave-fl, But I failed the comiling. The error log is listed in the txt file.

I used the nm from the mingw, maybe this is the reason, or should I try cygwin?

from pyql.

dpinte avatar dpinte commented on August 14, 2024

I think we should investigate the https://github.com/enthought/pyql/blob/master/scripts/generate_symbols.py and check if it does its job correctly. It has been designed on Python 2.7 and known to work with Python 3.3. Python 3.5. is using a new Visual Studio version that might do things in a different way ...

from pyql.

dave-fl avatar dave-fl commented on August 14, 2024

I used cygwin. Took a while to get the build going and then we had failed unit test cases.

from pyql.

bigtan avatar bigtan commented on August 14, 2024

Hi @dpinte I use Python27 and vs2015, the .def file generated is just about 15mb. So I agree with you, Maybe something wrong with https://github.com/enthought/pyql/blob/master/scripts/generate_symbols.py

from pyql.

ceaza avatar ceaza commented on August 14, 2024

Hi @bigtan , it may be something to do with fact that Python27 is compiled using vs2008, and you are using vs2015. I can compile PyQl on WinPython3.5 but not on Python2.7 and I think this was my 2.7 issue. See [https://blog.ionelmc.ro/2014/12/21/compiling-python-extensions-on-windows/].

So while I don't have much experience in this, all downstream modules would also need to be compiled in vs2008.

from pyql.

bigtan avatar bigtan commented on August 14, 2024

@ceaza I will try it on my laptop, and give the feedback here.

from pyql.

dpinte avatar dpinte commented on August 14, 2024

@bigtan I confirme what @ceaza says. You must use the compatible MSVC version for the target Python. Python 2.7 means MSVC 2008.

from pyql.

dpinte avatar dpinte commented on August 14, 2024

@bigtan another comment: it is expected that the def file is a big file...

from pyql.

bigtan avatar bigtan commented on August 14, 2024

@dpinte I have finished the compiling for python 35 with MSVC2015, it works well.
I am now trying to compiling it for python 27 with MSVC2008

from pyql.

dave-fl avatar dave-fl commented on August 14, 2024

Is this active at all?

from pyql.

dpinte avatar dpinte commented on August 14, 2024

@dave-fl I don't have much bandwidth at the moment. If you have some pressing needs and want to consider other options than contributor's free time, ping me by e-mail.

from pyql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.