py-cloudcv icon indicating copy to clipboard operation
py-cloudcv copied to clipboard

Failure in Socket Connection (with proxy)

Open scorpionhiccup opened this issue 9 years ago • 3 comments

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:

  • failed CONNECT via proxy status: 403
  • Exception: Image Input Path not in proper format. [to a jpeg image path]
  • AttributeError: 'NoneType' object has no attribute 'disconnect'

Attached Screenshots:

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"
             }     
         }
     ]
}

scorpionhiccup avatar Mar 08 '15 16:03 scorpionhiccup

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.

dexter1691 avatar Mar 08 '15 16:03 dexter1691

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?

scorpionhiccup avatar Mar 08 '15 16:03 scorpionhiccup

is this not solved yet ?

muddlebee avatar Nov 27 '16 20:11 muddlebee