Cloud-CV / py-cloudcv

Python APIs for CloudCV
cloudcv.org
98 stars 55 forks source link

Failure in Socket Connection (with proxy) #22

Open scorpionhiccup opened 9 years ago

scorpionhiccup commented 9 years ago

Hi, When I run python run.py config.json -I "/full/path/input/file" -O "/full/path/output/" -E "features", I get the following errors:

screenshot1 screenshot2

Config.json:

{
    "exec": "features",
    "maxim": 500,
    "config": [
        {
             "name": "ImageStitch",
             "path": "local: /home/sash/Pictures/index.jpeg",
             "output": "dropbox:/1/",
             "params": {
                      "warp": "plane"
             }
         },
         {
             "name": "VOCRelease5",
             "path": "local: /home/sash/Pictures/index.jpeg",
             "output": "dropbox:/1/",
             "params": {
                 "Models": "PAS_bicycle, PAS_aeroplane, PAS_bird, PAS_boat, PAS_bottle, PAS_bus, PAS_car,PAS_cat,PAS_chair,PAS_cow,PAS_diningtable,PAS_dog,PAS_horse,PAS_motorbike,PAS_person,PAS_pottedplant,PAS_sheep,PAS_sofa,PAS_train,PAS_tvmonitor"
             }
         },
         {
             "name": "classify",
             "path": "local: local: /home/sash/Pictures/index.jpeg",
             "output": "dropbox:/3/",
             "params": {
             }
         },
         {
             "name": "features",
             "path": "local: /home/sash/Pictures/index.jpeg",
             "output": "dropbox:/1/",
             "params": {
                 "name": "decaf",
                 "verbose": "2",
                 "server": "decaf_server"
             }     
         }
     ]
}
dexter1691 commented 9 years ago

ok. so you need to just put the directory part inside config.json, so something like "local: /home/sash/Pictures/"

If you are behind university connection, the socket connection will not work because I think its blocking non-http connection or something.

scorpionhiccup commented 9 years ago

As for the directory part, I had initially done that but just for testing I had changed it. Thanks anyways.. Any chance it will be able to work with the proxy?

muddlebee commented 7 years ago

is this not solved yet ?