Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1907] Creating New Project - Missing required option "--username" - 3.0.2

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-03-06T20:39:01.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
Labelsn/a
ReporterDavid Collins
AssigneeMauro Parra-Miranda
Created2013-03-01T04:17:48.000+0000
Updated2016-03-08T07:40:49.000+0000

Description

[ERROR] Missing required option "--username" d:\Documents and Settings\collinda\Application Data\npm\node_modules\titanium\node_modules\node-appc\lib\analytics.js:180 sessionCookie = status.cookie.match(/(PHPSESSID=[A-Za-z0-9]+)/), ^ I have looked at various articles on this and some say to login but Studio already says 'Hello, David', etc. Very frustrating. In an office with proxies, etc. but all this seems to be OK because I have been able to download updates, etc. The log file is showing these errors at startup .. !SESSION 2013-03-04 16:32:12.831 ----------------------------------------------- eclipse.buildId=3.0.2.201302191606 java.version=1.6.0_24 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_AU Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.core.net 1 0 2013-03-04 16:32:28.223 !MESSAGE System property http.proxyHost is not set but should be wwwproxy.dpi.nsw.gov.au. !ENTRY org.eclipse.core.net 1 0 2013-03-04 16:32:28.223 !MESSAGE System property http.proxyPort is not set but should be 8080. !ENTRY org.eclipse.core.net 1 0 2013-03-04 16:32:28.223 !MESSAGE System property https.proxyHost is not set but should be wwwproxy.dpi.nsw.gov.au. !ENTRY org.eclipse.core.net 1 0 2013-03-04 16:32:28.223 !MESSAGE System property https.proxyPort is not set but should be 8080. !ENTRY org.eclipse.core.net 1 0 2013-03-04 16:32:28.238 !MESSAGE System property https.proxyHost is not set but should be wwwproxy.dpi.nsw.gov.au. !ENTRY org.eclipse.core.net 1 0 2013-03-04 16:32:28.238 !MESSAGE System property https.proxyPort is not set but should be 8080.

Comments

  1. Carter Lathrop 2013-03-06

    Hello David, though we do not support Titanium on Windows 2008 Server, I have done a small bit of research behind the issue and it seems you are not the first to experience this: http://developer.appcelerator.com/question/146861/titanium-studion---create-new-project-error-error-missing-required-option---username From this it seems to me like the problem is indeed the proxy. Have you set it properly? Here is more information in case you have not seen this thread: http://developer.appcelerator.com/question/146837/unable-to-login-with-titanium-cli-version-3022 Unfortunately my ability to help further is limited since we do not support Windows 2008 Server, due to this I must resolve the issue. Are you able to replicate this issue on a Windows 7 machine? Regards, Carter
  2. David Collins 2013-03-07

    Thanks, Carter for the information. I am in an office where most of the PCs including my own are still on Windows XP. I am now using the Google Android Development Tools (ADT) because I could get that installed and working in less than a day, and the tutorials are quite helpful. I really like Aptana Studio and thought that Titanium would also be good. Pity that I couldn't get Titanium Studio working. Regards, David By the way, I applied for paid Titanium support, but never got a reply.
  3. Carter Lathrop 2013-06-26

    Hello David, I have looked into your issue some more and would like to try and help you if you are still interested in developing with Titanium. Some customers have got Titanium to work with XP and Windows Server and I wanted to try a few more things to see if we can get it working for you. First, please check out this site: (https://wiki.appcelerator.org/display/devsup/Using+Titanium+Behind+a+Proxy) it says: "You need to add the following ports to the firewall's white list https://api.appcelerator.net (ports 80 and 443) Used for login http://studio.appcelerator.com (ports 80 and 443) Used for the dashboard http://download.appcelerator.com (ports 80 and 443) Used for software updates" add these ports to your firewall's whitelist and see if that solves your problem. If Studio isn't working for you, we might be able to get signed in via CLI. Try this in CLI: Run titanium status paste the output. If the output does NOT include 'You are currently logged in as xxxxxs@xxxxxx.xxx' then run 'titanium login' and let me know if you can get anywhere. Hope this solves your issue. Have a good one, Carter

JSON Source