system proxy settings: invalid literal

glitsj16 avatarglitsj16 created an issue

Setting gsharkdown's proxy preference to "Use system configured proxy" adds a forward slash at the end of the string.

If the system-wide proxy is set to, this error message shows:

GrooveShark service has probably changed or is not working! gSharkDown will not works propperly, so please be patient until we find a solution. Also, this may usually caused by a proxy misconfiguration please check your proxy configuration.

The error was: invalid literal for int() with base 10: '6666/' ---

Manually setting proxy details (same host/port) brings everything back to normal again.

Using gSharkdown 0.6.7 on Ubuntu 10.10

Cheers and keep up the great work!

Comments (2)

  1. Vladimir Kolev
    • It can be that your system-wide proxy configuration has '/' after the port and the slash is just unneeded
    • You can set a system-wide proxy in terminal with following command:
    export HTTP_PROXY="proxy:port"

    I have added to the proxy autoconfiguration to remove the slash if any in the port number.

    Can you confirm that the last commit is resolving your issue?

  2. glitsj16

    Confirming that latest commit did resolve the issue. Thanks for fixing this, especially since it turned out to be ubuntu's problem with system-wide proxy settings.


  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.