Bug#851685: awscli impossible version requirements

2017-01-17 Thread Edwin Taylor

Package: awscli
Version: 1.11.13-1

After upgrading to 1.11.13-1, the aws command has been failing like this:

$ aws ec2 describe-instances
'AWSHTTPSConnection' object has no attribute 'ssl_context'

To work around this, I downgraded to version 1.4.2, but this produced 
the following output:


$ aws --version
Traceback (most recent call last):
  File "/usr/bin/aws", line 15, in 
import awscli.clidriver
  File "/usr/share/awscli/awscli/clidriver.py", line 33, in 
from awscli.arguments import CustomArgument
  File "/usr/share/awscli/awscli/arguments.py", line 42, in 
from botocore.parameters import ListParameter, StructParameter
ImportError: No module named 'botocore.parameters'

The final workaround I found was to edit the file /usr/bin/aws and 
remove the "3" from the first line "#!/usr/bin/python3".  This allowed 
the aws command to work.


I may have been using an unusual or unsupported mixture of package 
versions, as I haven't seen anyone else report the "ssl_context" bug, 
but I thought I would document this problem here for the record, along 
with my workaround.  Also for the record, here are the versions of some 
other packages I have installed:


python-bcdoc0.12.2-1
python-botocore0.62.0-1
python3-bcdoc0.12.2-1
python3-botocore1.4.70-1
python-colorama0.3.2-1
python3-colorama0.3.7-1
python-pyasn10.1.7-1
python3-pyasn10.1.9-2
python-rsa3.1.4-1+deb8u1
python3-rsa3.1.4-1+deb8u1
python2.7.13-1
python33.4.2-2

Thank you for packaging this software, and I hope the information I have 
provided is helpful for reproducing the bug, or at least helps people 
work around it.



--
hivehome.com 



Hive | London | Cambridge | Houston | Toronto
The information contained in or attached to this email is confidential and 
intended only for the use of the individual(s) to which it is addressed. It 
may contain information which is confidential and/or covered by legal 
professional or other privilege. The views expressed in this email are not 
necessarily the views of Centrica plc, and the company, its directors, 
officers or employees make no representation or accept any liability for 
their accuracy or completeness unless expressly stated to the contrary. 
Hive is the trading name of Centrica Connected Home Limited (company no: 
5782908), registered in England and Wales with its registered office at 
Millstream, Maidenhead Road, Windsor, Berkshire SL4 5GD.




Bug#325084: Typo / meaning? ERROR: Could not retreive region code settings of the drive!

2005-08-25 Thread Edwin Taylor

Package: regionset
Version: 0.1

I ran regionset as root from the console, and was shown the following 
output:


regionset version 0.1 -- reads/sets region code on DVD drives
ERROR: Could not retreive region code settings of the drive!
Would you like to change the region setting of your drive? [y/n]:n

Firstly there seems to be a typographical error, in that retreive 
should probably be retrieve.
Secondly, I believe my drive is RPC-1 / region free, so (depending on 
the intention behind the program) I believe it should report This could 
be because your drive is region free. for users that don't understand 
that an ERROR is a good thing.


I am using etch / testing.

I hope a fix will make using DVDs in Linux less daunting.  Thank you,

Ed


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]