On 06/02/2014 02:04 AM, Tor Krill wrote:
>     > My problem is that when i import the requests module from my code it
>     > seems to clash with the local logging.py
>     >
>     > A quick way to test this is just to fire up python3 in the src/s3ql
>     > folder and issue
>     >
>     > import requests
> 
>     Don't do that. If you run python in src/s3ql, it cannot recognize that
>     the logging.py is actually part of the s3ql package.
> 
>     If you want to be able to import the s3ql modules, run python in the
>     'src' folder (not 'src/s3ql').
> 
> This was only meant as a way to narrow down our problem. We started with
> our "own" backend but as soon as we imported requests all hell broke lose :)

That should not happen. There's at least one other person who's using
requests with s3ql in some internal project.

Even if you're going to use dugong (which I definitely recommend,
requests is too high-level for this kind of application), could you send
me a testcase where hell breaks loose when importing requests? It may
indicate some other bug.


Best,
Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to