Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure in Socket Connection (with proxy) #22

Open
scorpionhiccup opened this issue Mar 8, 2015 · 3 comments
Open

Failure in Socket Connection (with proxy) #22

scorpionhiccup opened this issue Mar 8, 2015 · 3 comments

Comments

@scorpionhiccup
Copy link

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"
             }     
         }
     ]
}
@dexter1691
Copy link
Member

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
Copy link
Author

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
Copy link

is this not solved yet ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants