Closed keien closed 10 years ago
I don't understand how the previous commit passed the Travis tests, then I remove two files, and suddenly it doesn't work again.
You might have had some .pyc
files left over.
alias cleanpyc='find . -name \*.pyc -delete && find . -name __pycache__ -delete'
How does that affect the Travis build? The .pyc
files don't get uploaded to the repo
Right - if the build isn't failing for you locally, that could be why.
Strange, it's failing for me locally. I'll try restarting the travis build.
Seems to be one of the StructureExtractor
unit tests that's messing everything up.
Specifically an issue in StructureExtractor.extract_unit_information()
.
Specifically, this line.
How can you tell? I have no way of checking this myself.
Commenting out that one line prevents the SQLAlchemy error from occurring (other errors occur of course). Are you still unable to reproduce? Did you try a different python version?
Yeah I don't seem to be able to reproduce it at all.
Maybe we should unmerge sentence_error_handling
and just merge remving-readerwriter
into `master.
If we do that then the pipeline won't work properly anymore. Also, didn't removing-readerwriter
already have this problem anyway?
What if we merge master
into removing-readerwriter
?
removing-readerwriter
passed tests iirc. Yeah, we can merge in master
I'll do that after this personals run finishes
Rolling back is looking good - I'll push that soon. Then we should fix the readerwriter tests that have been skipped for now then we can merge this to master.
I think what happened was that we have a lot more files interacting with the database, but we didn't write their unit tests keeping that in mind so there was junk left over in the session.
@ikenohate09 #141 is the last outstanding issue, once we fix that I'll merge.
ReaderWriter
finally removed