Comments (10)
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.
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.
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.
Since you asked: on my current machine, all 175 tests are passing now.
from pyecore.
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.
Don't worry, all is well. :-) Thanks a lot!
from pyecore.
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.
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.
Please go ahead and remove it directly on the develop branch so we spare ourselves the PR game for this. :-)
from pyecore.
I'm on it, consider it done.
from pyecore.
Related Issues (20)
- Problem occured when I using pyecore HOT 1
- Populate classes generated with pyecoregen HOT 5
- Different behavior between generated model and dynamic loaded HOT 6
- EProxy and Hashes HOT 1
- Empty instance list not serialized HOT 9
- AttributeError for EDerivedCollection HOT 2
- EEnum definitions are serialized with the wrong EPackage HOT 10
- Reproducible attribute order HOT 25
- Release a new version HOT 7
- Mixins not working properly HOT 2
- New version breaks serialization of $ref's in pyecoregen-generated metamodel HOT 5
- get all properties of a model element HOT 2
- Diffing Functionality on top of pyecore HOT 1
- BadValueError, str not converted to Integer(int) HOT 1
- Problem resolving the file schema in references HOT 7
- Any validation support? HOT 3
- EOrderedList.clear() does not update references. HOT 3
- Serialize datetime using JsonResource HOT 6
- Left-over instance references after EReference was deleted HOT 1
- XMI Deserialization and serialization mismatch HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyecore.