With Juju on windows 8 I get the following error:  Cannot parse: C:\Users\user\AppData\Roaming\Juju|enviornments.yaml\YAML error : line 126: did not find expected hexadecimal number   It seems that it does not like my subscription id that I created with a new azure account.  Any ideas on how to fix this? It is a legitimate subscription id...
120674
I am trying to get Juju working on Windows 8 but I am running in to some errors when trying to get juju to see my ssh keys:  C:\Users\username&gt; juju bootstrap error: error parsing environment "azure":     read C:\Users\user\SkyDrive\Documents\Azure\ssh\: The handle is invalid.   I've added a public key I generated with putty to the directory above called azure  My environments.yaml file has this in it:  authorized-keys-path: C:\Users\user\SkyDrive\Documents\Azure\ssh\   Any ideas?
77080
This may sound repititve question. But the error incurs after following multiple links found like:  and .  The controller:  public with sharing class SFLoginCtrlr {     public static HTTPResponse getResp(String loginCred){         Map&lt;String, Object&gt; mapLoginCred = (Map&lt;String, Object&gt;)JSON.deserializeUnTyped(loginCred);         String username = ''+mapLoginCred.get('username');         String password = ''+mapLoginCred.get('password');         HttpRequest req = new HttpRequest();         req.setMethod('POST');            req.setTimeout(60000);         req.setEndpoint('https://www.salesforce.com/services/Soap/u/29.0');         req.setHeader('Content-Type', 'text/xml;charset=UTF-8');                 req.setHeader('SOAPAction', '""');         req.setBody('&lt;Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"&gt;&lt;Header/&gt;&lt;Body&gt;&lt;login xmlns="urn:partner.soap.sforce.com"&gt;&lt;username&gt;' +username+ '&lt;/username&gt;&lt;password&gt;' + password + '&lt;/password&gt;&lt;/login&gt;&lt;/Body&gt;&lt;/Envelope&gt;');                 HttpResponse res = new Http().send(req);         return res;     } }   The mock class:  @isTest global class ExampleCalloutMock implements HttpCalloutMock{   global HttpResponse respond(HTTPRequest req){     HttpResponse res = new HttpResponse();     res.setStatus('OK');     res.setStatusCode(200);     res.setBody('SUCCESS');     return res;   } }   The test class:  @isTest private class SFLoginCtrlrTest{     static testMethod void SFLoginCtrlrTestMethod(){         Test.startTest();          Test.setMock(HttpCalloutMock.class, new ExampleCalloutMock());          Map&lt;String, String&gt; logincred = new Map&lt;String, String&gt;();         logincred.put('username', 'dummy@user.com');         logincred.put('password', 'notapassword');          SFLoginCtrlr.getResp(JSON.serialize(logincred));          Test.stopTest();     } }   The error received while running test class:     Methods defined as TestMethod do not support Web service callouts   Not sure, where is the issue...
86625
Im reading in a document that the user uploads from the visualFlow:  &lt;apex:inputFile value="{!contentFile}" filename="{!nameFile}" id="file"/&gt;   And its accessed in apex in this manner:  String nameFile = contentFile.toString();   And it works like a charm. I am able to parse through the document and extract all the information needed, but only for English users. But for Spanish users that's not the case.  Those files have some special characters, and cause a BLOB is not a valid UTF-8 string error.  I've tried to base64Encode the file contents, but the results come out illegible.   String nameFile= EncodingUtil.base64Encode(contentFile);
59475
I am getting this error:  sudo: parse error in /etc/sudoers near line 23 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin   I was trying to disable password authentication so I don't have to type password every time I want to install something, but I probably changed it in a not very good way. I am a newbie to Ubuntu, I got sick of Windows :)  So far I've found some people suggesting booting in single user mode, but I'm afraid of messing things up more.  How can I fix this error?
37290
First of all I would like to thank you because you helped me out a lot with all your answers to the already online questions.  Now, here is my problem. I am trying to do a bibliography file with TeXworks but I get this error when I try to compile (pdfLaTeX+MakeIndex+bibTeX):      This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9 64-bit)     entering extended mode     ****PATH here******     ! Undefined control sequence.     l.1 \documentclass         [a4paper,11pt]{report}   I've been reading some similar questions but I don't find the way to fix it (maybe I am missing something). I found one that says that I am trying to compile a LaTeX file using TeX compiler but I don't know how to change the configuration.  This is the .bib fiel content:      \documentclass[a4paper,11pt]{report}     \usepackage[english]{babel}     % faire de l'anglais     \usepackage[latin1]{inputenc}   % accents dans le source     \usepackage[T1]{fontenc}        % accents dans le DVI     \usepackage{url}     \begin{document}      @Article{ref11, author={Danihelka, Jiri and Kencl, Lukas}, journal={Cloud Futures Workshop 2012 }, title={Colaborative 3D Environments over Windows Azure}, year={2012}, month={May}, pages={}, note={}     }      @book{ref12, author = {Lee, Henry and Chuvyrov, Eugene},     title = {Beginning Windows Phone 7 Development},     publisher = {Apress},     volume = {},     number = {},     series = {},     address = {},     edition = {Second edition},     year = {2011},     month = {July},     note = {}     }      @Article{ref13, author={}, journal={}, title={Cloud computing}, year={}, month={}, pages={}, url={\url{http://en.wikipedia.org/wiki/Cloud_computing}}     }      \end{document}
4029
uint color;  bool parsedhex = uint.TryParse(TextBox1.Text, out color);  //where Text is of the form 0xFF0000 if(parsedhex)    //...   doesn't work. What am i doing wrong?
79525
-> 683  -> 678  ???  (Doesn't really bother me too much but figured I'd report the bug...)
117907
Got an apache log entry that looks like this, actually I have a bunch of them spread out over time.  XXX.XXX.XXX.XXX - - [27/Apr/2012:14:39:52 -0500] "-" 408 - "-" "-"   It wasn't a GET or POST, the method was "-".   Anyone else seen requests like this?  It wasn't from the penetration tester, but I have it from LOTS of other IPs from Apr of 2012 up until and including today.  We failed it with a 408, just wondering what someone might be trying and googling for minus sign does NOT work.
23880
I have trouble with \url and \footnote  \documentclass[margin=5mm]{standalone} \usepackage{hyperref}  \begin{document}  my text \footnote{\url{https://webbook.nist.gov/cgi/cbook.cgi?ID=C69727&amp;Type=HCOMBS#HCOMBS}}  \end{document}   this is the error message:  ! Illegal parameter number in definition of \Hy@tempa.H ...gi/cbook.cgi?ID=C69727&amp;Type=HCOMBS#HCOMBS}}  Without the &amp;Type=HCOMBS#HCOMBS link portion the code works fine, so I guess the problem lies in &amp; character. Any suggestion?  Thank you in advance
100844
on Ask Different appears to have no name due to invisible Unicode characters:    he's the #2 user on the site:    Why is that allowed? I think it is confusing for users, e.g. when they will see at the bottom of an answer:    It's not clear who answered, not clear what the rep numbers and badges are related to, and not clear how you can @reply to that user in the comments!
34916
I have an issue which I've been struggling with today. The JSON is returned back to me with a project Id as the key, this Project Id is dynamically generated and due to this I have not been able to come up with a way to deserialize this response. Any suggestions?   {      "success":true,    "numRows":5,    "data":{         "23000079":{            "projectId":"23000079",          "name":"Mcdonalds",          "departmentId":"9383",          "responsibleUserId":"7444434"       }    } }
5648
Declared a string and assigned SOQL value as shown below. While running I am getting an error.   String country = 'United States'; String accountQuery = 'SELECT Id,BillingPostalCode,County_Name__c '+      'FROM Account WHERE zipCodeLen__c =9 AND AND BillingCountry = '+ Country;   System.QueryException: unexpected token: 'AND'  System.QueryException: expecting a colon, found 'United'
81052
// Insert an account  Account a = new Account(Name='Test',                      annualRevenue=100.0);  insert a;  // Create an approval request for the account Approval.ProcessSubmitRequest req1 =        new Approval.ProcessSubmitRequest(); req1.setObjectId(a.id); req1.setNextApproverIds(new Id[] {'***************'}); // Submit the approval request for the account Approval.ProcessResult result =                     Approval.process(req1);   Am trying to execute this code in anonymous block. How ever when tried in trigger i got same error all the time. Hard coded next approvers ID. No luck.  Any suggestions on what am I doing wrong ? Please help!!
47610
This has been confusing me for some time. With the advent of UTF-8 as the de-facto standard in web development I'm not sure in which situations I'm supposed to use the HTML entities and for which ones should I just use the UTF-8 character. For example,   em dash (–, &amp;emdash;) ampersand (&amp;, &amp;amp;) 3/4 fraction (¾, &amp;frac34;)   Please do shed light on this issue. It will be appreciated.
7895
While trying to ask a question, I got the error message     This question body does not meet our quality standards. Please make sure that it completely describes your problem - including what you have already tried - and is written using proper grammar.    Why am I getting this message? What can I do to get the system to accept my question? Can you be more specific? What are good resources on how to ask high-quality questions?      For more information, see  in the .
81153
I am trying to open a simple executable using Mono, as Wine told me to install Mono for .net applications, and this is the error I get      mono yt.exe  ** Message: Unknown heap type: #GUlD    ** Message: Unknown heap type: #Blop      ** (yt.exe:2508): WARNING **: The following assembly referenced from /home/austin/Downloads/yt.exe could not be loaded:       Assembly:   System.Windows.Forms    (assemblyref_index=0)       Version:    4.0.0.0       Public Key: b77a5c561934e089  The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/austin/Downloads/).      ** (yt.exe:2508): WARNING **: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.    ** (yt.exe:2508): WARNING **: Missing method EnableVisualStyles in assembly /home/austin/Downloads/yt.exe, type System.Windows.Forms.Application    Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.  File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'   Thanks for any help, i've looked everywhere and can't figure out what's wrong.
59223
I'm on a fairly new install of Win 7 x64 with default UAC settings. I recently had to delete a user profile due to the win 7 2012 virus issue, but when trying to create a new profile (any profile name), while it creates it in the UI, when I try to log onto it, I get the error above.   I see lots of tips about fixing a corrupt profile in the registry (the S-1-5-XXX keys), but this is for a NEW profile.   The only way I seem to be able to get around this is to create the user account in safe mode. After that, I'm able to log in. After multiple reboots, I cannot seem to do this without being in safe mode. Thanks.