Closed krmaxwell closed 9 years ago
oh, here's the real problem:
requests.exceptions.MissingSchema: Invalid URL u'True/api/v1/domains/': No schema supplied. Perhaps you meant http://True/api/v1/domains/?
Hey Kyle. The URL parsing works well on my end. So I am pretty sure that is not the issue.
I looked at your changes and I think the issues is with your try except blocks. In both sample and domain you are calling "domain_response" and "sample_response" outside the try block. If something breaks in the post then it is possible that those variables will not be assigned .
If we switch it to something basic we should be good to go. This is for both the sample and domain. i.e.: except: logging.info("Exception caught from CRITs when submitting domain")
I think you're right, yeah. I looked back at my code after I'd gotten proper :zzz: and focus, and realized my scope errors. Going to shape it up tomorrow to look more like your original code ;)
sounds good. Please just let me know if I can do anything to help.
oh and I did have an error with the schema but that was a total brain fart on my part when I assigned the vars
Remaining error is just on my CRITs instance and not with Maltrieve.
This is a problem for #130