Giter Club home page Giter Club logo

Comments (10)

aranega avatar aranega commented on June 1, 2024

Indeed, I'm working on Linux, I will check what could be the issue. I thought I was dealing with basic and builtin methods from Python, perhaps I missed some spots, I'm going to check that and try to setup a windows virtual machine to do some tests.

Could you tell me the name of some of the failing tests?

What do you have in mind regarding the decorators and meta-class?

from pyecore.

aranega avatar aranega commented on June 1, 2024

So, I've checked and I think the issues were located in the tests themselves: the links towards each test file was expressed in a unix-like fashion. This were a little bit confusing at first as the image I use for my virtual machine is a W10 which is happy with unix-like pathes.

Anyway, all the tests runs on this image except the one that tries to fetch an XMI from GenMyModel. It seems that there is some issues with SSL certificates. I can't tell if the issue is only related to my virtual machine or if you also have this issue. If everything runs smoothly on your machine, beside the 'http uri' related test, I will disable it.

from pyecore.

moltob avatar moltob commented on June 1, 2024

Tests are passing now on Windows 10. I'll retry on Windows 7 on Monday, as that was the machine failing originally, although I could reproduce the original errors also on my personal W10 machine.

Thanks a lot.

Let me just say that I have no intention or expectation that you or anybody else is responding (and fixing) this fast. I merely opened the ticket to have some way discussing the issue and honestly was offering to fix it myself, in pretty much the way you did. I have no issue with doing this, so please don't feel obliged to do fixes like this within an eyeblink like you did now. I am happy to fix or improve if possible as this obviously gives me a chance to learn how you did things.

But nevertheless: thank you very much!

from pyecore.

moltob avatar moltob commented on June 1, 2024

Since you asked: on my current machine, all 175 tests are passing now.

from pyecore.

aranega avatar aranega commented on June 1, 2024

I didn't felt obliged at all. It was good for me to put my nose again in those tests to see from where the issue could come from and I must say that I was also curious about seting up a dev. env. in Windows. I have a real tendency to forget about Windows.

Also, I didn't meant to cut your fun (I'm really sorry if you felt it that way), but as you proposed to clean the main code of PyEcore, I was ashamed to let you with a failing playground. Don't worry, next time I will probably not be so fast.

from pyecore.

moltob avatar moltob commented on June 1, 2024

Don't worry, all is well. :-) Thanks a lot!

from pyecore.

moltob avatar moltob commented on June 1, 2024

On my W7 machine test_uri_http is still failing here:

            except OSError as err: # timeout error
>               raise URLError(err)
E               urllib.error.URLError: <urlopen error [Errno 11004] getaddrinfo failed>

But probably since at work I am behind an HTTP proxy... I am not sure this kind of test relying on an internet connection is the best idea. Maybe you really do deactivate it.

from pyecore.

aranega avatar aranega commented on June 1, 2024

I was worried that this test could cause issues as the one you have. Moreover, it is not very relevant if you want to develop 'offline', as it requires a connection to work... deactivating is indeed a better thing to do. You can remove it if you want, or I can do it if you are on other stuffs.

from pyecore.

moltob avatar moltob commented on June 1, 2024

Please go ahead and remove it directly on the develop branch so we spare ourselves the PR game for this. :-)

from pyecore.

aranega avatar aranega commented on June 1, 2024

I'm on it, consider it done.

from pyecore.

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.