Page MenuHomePhabricator

After update I can't run arc because of "Failed to load class or interface 'PhutilClassMapQuery'"
Closed, ResolvedPublic

Asked by Skowron86 on Sep 22 2015, 7:54 AM.

Details

I ran arc.bat upgrade and after that arc stopped working for me. I'm getting:

Failed to load class or interface 'PhutilClassMapQuery': the class or interface 'PhutilClassMapQuery' is not defined in the library map for any loaded phutil library.

Exception.

Running arc.bat liberation is not working as well.

Full log:

Exception
Failed to load class or interface 'PhutilClassMapQuery': the class or interface 'PhutilClassMapQuery' is not defined in the library map for any loaded phutil library. If this symbol was recently added or moved, your library map may be out of date. You can rebuild the map by running 'arc liberate'. For more information, see: http://www.phabricator.com/docs/phabricator/article/libphutil_Libraries_User_Guide.html
(Run with `--trace` for a full exception trace.)

C:\www\femwidget\public\dev>arc.bat liberate --trace
libphutil loaded from 'C:\arc\libphutil\src'.
arcanist loaded from 'C:\arc\arcanist\src'.
Config: Reading user configuration file "C:\Users\Skowron\AppData\Roaming/.arcrc"...
Config: Did not find system configuration at "C:\ProgramData\Phabricator/Arcanist/config".
Working Copy: Reading .arcconfig from "C:\www\femwidget/.arcconfig".
Working Copy: Path "C:\www\femwidget\public\dev" is part of `git` working copy "C:\www\femwidget".
Working Copy: Project root is at "C:\www\femwidget".
Config: Did not find local configuration at "C:\www\femwidget\.git\arc/config".

[2015-09-22 09:51:52] EXCEPTION: (PhutilMissingSymbolException) Failed to load class or interface 'PhutilClassMapQuery': the class or interface 'PhutilClassMapQuery' is not defined in the library map for any loaded phutil library. If this symbol was recently added or moved, your library map may be out of date. You can rebuild the map by running 'arc liberate'. For more information, see: http://www.phabricator.com/docs/phabricator/article/libphutil_Libraries_User_Guide.html at [<phutil>\src\__phutil_library_init__.php:25]
arcanist(head=master, ref.master=9c056c5cc887), phutil(head=master, ref.master=f06c0b71f369)
  #0 __phutil_autoload(string)
  #1 spl_autoload_call(string) called at [<arcanist>\src\configuration\ArcanistConfiguration.php:44]
  #2 ArcanistConfiguration::buildAllWorkflows() called at [<arcanist>\src\configuration\ArcanistConfiguration.php:34]
  #3 ArcanistConfiguration::buildWorkflow(string) called at [<arcanist>\src\configuration\ArcanistConfiguration.php:79]
  #4 ArcanistConfiguration::selectWorkflow(string, array, ArcanistConfigurationManager, PhutilConsole) called at [<arcanist>\scripts\arcanist.php:187]

Answers

chad
Updated 4,049 Days Ago

I would reinstall from HEAD. Does this solve the problem?

Skowron86
Updated 4,048 Days Ago

@avievy Thanks for help. Reset of repository resolved my issue:

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.