Page MenuHomePhabricator

arc commit problem! thanks!
Closed, InvalidPublic

Description

I'm just a beginner,According to the document profile arcanist,Tool has been deployed.A lot of problems in the configuration process, and now not sure what the problem is, Need someone to tell. Arcanist deployment on Windows.

D:\arcanist\arcanist\resources\shell>arc commit --trace
libphutil loaded from 'D:\arcanist\libphutil\src'.
arcanist loaded from 'D:\arcanist\arcanist\src'.
Config: Reading user configuration file "C:\Users\admin\AppData\Roaming/.arcrc".
..
Config: Did not find system configuration at "C:\ProgramData\Phabricator/Arcanis
t/config".
Working Copy: Unable to find .arcconfig in any of these locations: D:\arcanist\a
rcanist/.arcconfig.
Working Copy: Path "D:\arcanist\arcanist\resources\shell" is part of git worki
ng copy "D:\arcanist\arcanist".
Working Copy: Project root is at "D:\arcanist\arcanist".
Config: Reading local configuration file "D:\arcanist\arcanist\.git\arc\config".
..

[2014-12-24 10:05:31] EXCEPTION: (PhutilProxyException) Failed to parse 'D:\arca
nist\arcanist\.git\arc\config' as JSON. {>} (PhutilJSONParserException) Parse er
ror on line 1 at column 1: Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE',
'FALSE', '{', '[', ']' at [<phutil>\src\parser\PhutilJSONParser.php:32]

#0 PhutilJSONParser::parse(string) called at [<phutil>\src\utils\utils.php:105

3]

#1 phutil_json_decode(string) called at [<arcanist>\src\workingcopyidentity\Ar

canistWorkingCopyIdentity.php:312]

#2 ArcanistWorkingCopyIdentity::readLocalArcConfig() called at [<arcanist>\src

\workingcopyidentity\ArcanistWorkingCopyIdentity.php:179]

#3 ArcanistWorkingCopyIdentity::newFromPathWithConfig(string, NULL) called at

[<arcanist>\src\workingcopyidentity\ArcanistWorkingCopyIdentity.php:22]

#4 ArcanistWorkingCopyIdentity::newFromPath(string) called at [<arcanist>\scri

pts\arcanist.php:101]

Event Timeline

lily20140507 raised the priority of this task from to Needs Triage.
lily20140507 updated the task description. (Show Details)
lily20140507 added a project: Arcanist.
lily20140507 added a subscriber: lily20140507.
chad claimed this task.
chad added a subscriber: chad.

The Phabricator documentation covers everything you should need.
https://secure.phabricator.com/book/phabricator/

The error message says the .arcconfig file is not valid JSON.

Although I'm confused on where it thinks it found it. Did you create an arcconfig file? Where did you commit it?

https://secure.phabricator.com/book/phabricator/article/arcanist_new_project/

Please re-open if you have follow up questions.