Create_queue - getting 'binascii.Error: Incorrect padding'

EDIT: Where can I find my account_name and account_key from my storage account or what does it look like?  Thanks.
EDIT2: I've found http://stackoverflow.com/questions/6985921/where-can-i-find-my-azure-account-name-and-account-key
Hi,
I simply try to create a queue with the python sdk in python3.4 but with this code:
from azure.storage import QueueService
q = QueueService("user", "password")
q.create_queue('testqueue')
I get:
Traceback (most recent call last):
File "new.py", line 4, in <module>
q.create_queue('testqueue')
File "/usr/local/lib/python3.4/dist-packages/azure/storage/queueservice.py", line 151, in create_queue
request, self.account_name, self.account_key)
File "/usr/local/lib/python3.4/dist-packages/azure/storage/__init__.py", line 447, in _update_storage_queue_header
return _update_storage_blob_header(request, account_name, account_key)
File "/usr/local/lib/python3.4/dist-packages/azure/storage/__init__.py", line 440, in _update_storage_blob_header
account_key)))
File "/usr/local/lib/python3.4/dist-packages/azure/storage/__init__.py", line 516, in _sign_storage_blob_request
_sign_string(account_key, string_to_sign)
File "/usr/local/lib/python3.4/dist-packages/azure/__init__.py", line 988, in _sign_string
key = _decode_base64_to_bytes(key)
File "/usr/local/lib/python3.4/dist-packages/azure/__init__.py", line 167, in _decode_base64_to_bytes
return base64.b64decode(data)
File "/usr/lib/python3.4/base64.py", line 90, in b64decode
return binascii.a2b_base64(s)
binascii.Error: Incorrect padding
The thing is that I'm trying to create a linux auto-scaling farm of ubuntu VMs with a single queue. when this queue contains more than x message, the farm scales up and instead of using 1 VM, it uses 2 or 3.
I already have my VMs , I configured the availability set, the load-balancing but I'm stopped on queues.
It somebody could help, it would be great!
Thanks

hi sir,
Thanks for your posting!
Would you try to follow this official document to create queue:
http://azure.microsoft.com/en-us/documentation/articles/storage-python-how-to-use-queue-storage/#create-queue
If not, please try it.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • I am trying to sign up for Sync and I get the error "Incorrect Words, Try Again" does anyone know what this means and how to fix it?

    No matter what I change email or passwords it continuously gives me this error.

    Hi,
    Please also try changing the typed words in the Captcha text field below the Captcha image that has a pair of words. If the existing pair is not clear, you can also try clicking on the refresh button (the top button among the three on the right of the image) to get a new image with another pair of words.

  • Multi-value parameter report - error : Incorrect syntax near ',' with multi-valued parameter in SSRS

    Hey,
    I created a report in Reporting Services  where I added multi-value parameter
    ( Filter).  When I run my report, and try to select more than one parameter, I get an error:  Incorrect syntax near ','
    then i put in parameter expression :  join(Parameters!Filter.Value,",")  
    and add : dbo.ufnSplit  before calling parameter in query :
    >>>  set @valwhere = 'table.field IN (select * from dbo.ufnSplit(' + @Filter + ' , '',''))'
    but i still have errors : incorrect syntax near 'text'  which is the second value of the picklist of the parameter,
    Please Any idea ?
    Thanks !!

    I have sometimes had to collate as default with the SQL query
    currently I've just using
    CompanyName in
    (selectitemfromdbo.fnSplit(@function,','))
    In the SSRS report text box I have Join(Parameters!Company.Value,",")

  • When I publish my site on one specific page where i've added {tag_pagecontent} I get the error:Some files on the server may be missing or incorrect. Clear browser cache and try again. If the problem persists please contact website author.

    When I publish my site on one specific page where I've added {tag_pagecontent} I get the error:
    'Some files on the server may be missing or incorrect. Clear browser cache and try again. If the problem persists please contact website author.'
    I'm trying to get a blog module going, I've even deleted the html insert bog with the tag in and re-published which then I don't get the error but as a result no blog either. But then I add the tag in again and publish the error comes back. I've used the dev console and it says that my musicians sample.css is out of date but why is it only out of date when I add in html to my muse site?
    HELP!!!! I've searched other threads and to no avail I'm publishing so no direct ftp going on. the only thing I changed in business catalyst was the module stylesheet in order to style the blog. I've tried uploading and replacing all files nothing seems to work. the site is here:
    http://www.musicstudentsforhire.co.uk/musicians-samples.html
    It's only this page as it has the blog on. Also I've noticed when I've re-published occasionally it will show the mobile version on my desktop and not the desktop version??? no idea why that's happening so I've had to turn that off. any explanation on why that is happening would also be much appreciated.

    I haven't received an answer as of yet, I'll post t on here when I do. I de-activated the mobile site because it's my clients site so he needs it to be operational during the day. I hope someone gives me an answer soon.

  • HT1430 I can no longer access my gmail account on any of my apple products. I get an error message saying my user name or email address is incorrect.

    I am unable to access my gmail account on my iPhone or my iPad three. I get an error message saying that either my user name or password is incorrect. I have deleted my account and restarted my iPad or iPhone but it still will not work. Can anybody help me please?

    You can not merge accounts.
    Apps are tied to the Apple ID used to download them, you can not transfer them.

  • I get this error message when trying to start Itunes - "Runtime Error! Program: C:\Program Files\iTunes\iTunes.exe  R6034 Anapplication has made an attempt to load the C runtime library incorrectly.  I have tried to have iTunes re-install and correct.

    I get this message when I try to start iTunes
    Runtime Error!
    Program: C:\Program Files\iTunes\iTunes.exe
    R6034
    An application has made an attempt to load the C runtime Library incorrectly.
    I have tried to have iTunes re-install but still get the error.

    Uninstall your existing copy of iTunes. Delete any copies of the iTunesSetup.exe (or iTunes64Setup.exe) installer files from your downloads areas for your web browsers and download a fresh copy of the iTunes installer from the Apple website:
    http://www.apple.com/itunes/download/
    (The current build of the 11.1.4.62 installer was changed a few days ago, which fixed the bulk of the reports of MSVCR80.dll/R6034/APSDaemon.exe/Error-7/AMDS-could-not-start trouble ... but the build number on the installer was not changed. So we're trying to make sure you do the reinstall using a "new good" 11.1.4.62 installer instead of an "old bad".)
    Does the install with the new copy of the installer go through properly? If so, does that clear up the error message?
    If you still have the same error messages cropping up, then try the procedures from the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • When I try to open editor I get an error message that I am not connected to the internet (which I am) or my computer clock is set incorrectly (which it is not).

    When I try to open editor I get an error message that I am not connected to the internet (which I am) or my computer clock is set incorrectly (which it is not).

    This is normally to do with activation. You need to contact Adobe directly using the link below. Use the dropdown menu for boxes (1) & (2) to scroll down the list and choose:
    1. Adobe Photoshop Elements
    2. Serial number issues or activating my product
    3. Click on the blue button: Still need help? Contact us – then click the button marked “chat now”
    It’s usually possible to start a live chat, if an Adobe agent is free, and often to get the problem fixed right away. Ensure you have your serial number.
    Click here to get help now Contact Customer Care

  • TS5376 I can not install itunes.  I get Runtime Error!  R6034.  An application has made an attempt to load the c runtime library incorrectly.  Please contact the application support team for more information.  I've been uninstalling, moving .dll files, re

    The other day I was prompted to update itunes.  I started to, and it crashed my itunes.  Then I tried to uninstall itunes, so that I could turn around and re-install it again.  Now I can not install itunes.  I get Runtime Error! message. R6034.  For the last two hours I have  tried deleting itunes, moving the .dll files to the desktop, restarting the computer (more times than I can count), deleting the temp files, updating my internet explorer, using the fix it program,..... 
    The two messages that I am getting are:
    Runtime Error! Program:c\Program Files (x86)\itunes\Tunes.exe     R6034   An application has made an attempt to load the c runtime library incorrectly.  Please contact the application's support team for more information.
    Also:  Service to 'Apple Mobile Device' (Apple Moblie Device) failed to start.  Verify that you have sufficient priviledges to start system services.

    I too was getting the same message regarding R6034. After many frustrating hours I went to the iTunes support page and clicked on "install and update." When that page came up I scrolled on to "removing and reinstalling iTunes......" There they tell you what files need to be removed and what order to do it in so you can reinstall iTunes. My iTunes works now and I didn't lose any music.
    About the Apple Mobile Device, well that's one of the files that has to be uninstalled. When you reinstall iTunes the Apple Mobile Device is automatically reinstalled.
    Hope this works for you as it did for me. Warning: it takes about an hour to do all this.

  • Every time I try to run iTunes I get an error message sayinh: An application has made an attempt to load the C runtime incorrectly. What does this mean

    Every time I try to run iTunes I get an error message sayinh: An application has made an attempt to load the C runtime incorrectly. What does this mean

    Uninstall your existing copy of iTunes. Delete any copies of the iTunesSetup.exe (or iTunes64Setup.exe) installer files from your downloads areas for your web browsers and download a fresh copy of the iTunes installer from the Apple website:
    http://www.apple.com/itunes/download/
    (The current build of the 11.1.4.62 installer was changed a few days ago, which fixed the bulk of the reports of MSVCR80.dll/R6034/APSDaemon.exe/Error-7/AMDS-could-not-start trouble ... but the build number on the installer was not changed. So we're trying to make sure you do the reinstall using a "new good" 11.1.4.62 installer instead of an "old bad".)
    Does the install with the new copy of the installer go through properly? If so, does that clear up the error message?
    If you still have the same error messages cropping up, then try the procedures from the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • I cant get into itunes producer keep getting an error my username and password is incorrect. i have made a new one all good still same error any ideas?

    I cant get into itunes producer keep getting an error my username and password is incorrect. i have made a new one all good still same error any ideas?

    I'm having a very similar problem.
    I'm based in the U.K. and am trying to publish an iBook through the iTunes bookstore. I have made my book in iBooks author 2.0. My iTunes is up to date.
    When I try and publish the iBook I have passed and ticked the Pre Publish Check; and the Create Account, but when I try and download iTunes Producer through iTunes Connect I'm told "Your Apple ID does not have permission to access iTunes Content."
    When I try and re-set my iTunes Store account I'm told "The iTunes Store Account has already applied to distribute content on the iBookstore." Of course it has I just did that.
    If I try and sign in to iTunes Connect through the Publishing pane I'm told "Your ID or Password was entered incorrectly." Even though I've just used it to sign into iTunes (and here), so my password and Apple ID work fine elsewhere.
    Is my access to the iTunes Connect being delayed while my submission is processed, i.e. the processing of my tax and account details? Or am I stuck in a loop?
    If this is still processing (I started this 20 hours ago) I assume that I have to submit the book itself when I can download iTunes Producer at a later date, as I haven't submitted the book yet?
    I emailed the problem to iTunes Store and was refered to [email protected], only for them to say they don't read or reply to emails sent to that address??????
    I'm not sure which part of the process I've reached - if any. I feel I'm in limbo. I have an iBook ready to go - but where is Apple?
    Any help would be most welcome.
    Andy

  • HT204053 I changed my AppleID in System Preferences, but the old ID comes up under iCloud and I get an error box saying my "ID or password are incorrect".  How do I get rid of the old ID which now doesn't work with either my old or new password??

    I changed my AppleID in System Preferences, but the old ID comes up under iCloud and I get an error box saying my "ID or password are incorrect".  How do I get rid of the old ID which now doesn't work with either my old or new password??

    Yes that makes sense, however have you updated it at My Apple ID before trying to change it in your system preferences > iCloud settings, you must do that first.

  • .p12 certificate; getting an error that my password is incorrect.

    When I try to export a mobile project in Flash Builder 4.6, I'm getting an error that says "incorrect password" for my .p12 certificate. This is inaccurate because I did the process over three times and carefully and gingerly made a simple password, yet Flash Builder keeps saying the p12 certificate PASSWORD is incorrect. is there a way to fix this or bypass the password bug?
    Thanks for any help!

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • When trying to open itoons I get an error message: Program C\program files (x86) R6034  An application has made an attempt to load the C runtime library incorrectly.

    when trying to open itoons I get an error message: Program C\program files (x86) R6034  An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more infomation.

    Hello Michwilltwo,
    It sounds like you are unble to open iTunes after a recent update. I would recommend the troubleshooting steps from the article named:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    "Runtime Error: R6034 - An application has made an attempt to load the C runtime library incorrectly"
    Follow these steps to resolve the issue:
    Check for .dll files
    Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
    If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
    Reboot your computer.
    Note: Depending on your operating system, you may only have one of the listed paths.
    Uninstall and reinstall iTunes
    Uninstall iTunes and all of its related components.
    Reboot your computer. If you can't uninstall a piece of Apple software, try using the Microsoft Program Install and Uninstall Utility.
    Re-download and reinstall iTunes 11.1.4.
    Be sure to follow the instructions as outlined by the links in the article as there is a specific order in which to uninstall iTunes and its associated programs.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • Why am I getting an error message when texting another iPhone number saying destination format incorrect?

    I have been texting a uk phone numer for sometime with no problems but am now getting an error message saying" sorry destination number format incorrect " what can I do?

    Nope, that's not it. I'm having exactly the same issue with someone I'm still in contact with. It's really bizarre but it only appears to affect a few contacts and the number formats are identical to others that work fine. Bizarre.

  • TS3276 Accessing Gmail suddenly stopped working on both my Powerbook pro running latest OS and Mail versions and on my iPhone. I can access via the web. I get the error that my password or username is incorrect. I reset my password in Gmail and confirmed

    Accessing Gmail suddenly stopped working on both my Powerbook pro running latest OS and Mail versions and on my iPhone. I can access via the web. I get the error that my password or username is incorrect. I reset my password in Gmail and confirmed it works on gmail, I then changed it on my Iphone and Mac Mail. It still does not work. I deleted the gamil account on mail on my mac and reinstalled it and it still will not work

    I too started having my password rejected in MAIL.app for imap.mail.me.com for my icloud email address.  Can login to icloud with web browser fine.  This has been happening off and on for several days.....if I wait 2-3 hours it will suddenly start working again, but then problem re-asserts itself ;-)

Maybe you are looking for