← Back to team overview

aims team mailing list archive

[Bug 1098233] Re: flashplugin-installer do not honore proxy settings

 

Actually, this piece of code seems to work fine
	# Get our proxy settings from the environment
	proxies = {}
	try:
		for proto in ('http','https','ftp'):
			try:
				proxies[proto] = os.environ[proto+"_proxy"]
			except KeyError:
				pass
		print proxies # my code
		
		if proxies:
			urllib._urlopener = urllib.FancyURLopener(proxies)
	except Exception:

and then the urllib.urlretrieve should work, and it does when run
manually, but somehow not from the cron job. I can't see why.

-- 
You received this bug notification because you are a member of AIMS,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1098233

Title:
  flashplugin-installer do not honore proxy settings

Status in Adobe Flash Plugin Tools:
  New
Status in “flashplugin-nonfree” package in Ubuntu:
  Confirmed

Bug description:
  Description:	Ubuntu 12.10
  Release:	12.10
  Codename:	quantal

  flashplugin-installer:
    Installato: 11.2.202.258ubuntu0.12.10.1
    Candidato:  11.2.202.261ubuntu0.12.10.1
    Tabella versione:
       11.2.202.261ubuntu0.12.10.1 0
          500 http://archive.ubuntu.com/ubuntu/ quantal-updates/multiverse i386 Packages
          500 http://archive.ubuntu.com/ubuntu/ quantal-security/multiverse i386 Packages
   *** 11.2.202.258ubuntu0.12.10.1 0
          100 /var/lib/dpkg/status
       11.2.202.243ubuntu1 0
          500 http://archive.ubuntu.com/ubuntu/ quantal/multiverse i386 Packages

  flashplugin-installer do not honore proxy settings so cannot download
  the proxy so my update are frozen on

  Elaborazione dei trigger per update-notifier-common...
  flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.261.orig.tar.gz

  already reported:
  https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/1037662

  Very old issue still not solved... :-(

  #---------------- Workaround for user with same issue ----------------

  As a workaround... while the apt-get update process is frozen on the
  row below

  Elaborazione dei trigger per update-notifier-common...
  flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.261.orig.tar.gz

  Opening another terminal...
  wget http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.261.orig.tar.gz
  sudo /usr/lib/flashplugin-installer/install_plugin $(pwd)/adobe-flashplugin_11.2.202.261.orig.tar.gz
  rm adobe-flashplugin_11.2.202.261.orig.tar.gz

  then to release the frozen update process, type:

  sudo killall dpkg

  or reboot the pc, then type:

  sudo dpkg --configure -a

  to check and put in a good state the apt env...

  # --------------------------------------------------------------

  Thanks

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: flashplugin-installer 11.2.202.258ubuntu0.12.10.1
  Uname: Linux 3.7.1-030701-generic i686
  ApportVersion: 2.6.1-0ubuntu9
  Architecture: i386
  Date: Thu Jan 10 15:39:05 2013
  MarkForUpload: True
  SourcePackage: flashplugin-nonfree
  UpgradeStatus: Upgraded to quantal on 2012-07-02 (192 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/adobe-flash-plugin-tools/+bug/1098233/+subscriptions