I'm just trying to install this lovely extension:
https://we.phorge.it/source/diagrams/
But I get this exception:
EXCEPTION: (PhutilMissingSymbolException) Failed to load symbol "DiagramTransactionType" (of type "class or interface").
Stack trace:
$ phorge> arc liberate LOAD ERROR Failed to load library at location "/var/www/phorge/src". This library is specified by "Configuration (Project Config File (/var/www/phorge/.arcconfig))". Check that the setting is correct and the library is located in the right place. Continue without loading library? [y/N] [2024-02-27 10:50:22] EXCEPTION: (PhutilMissingSymbolException) Failed to load symbol "DiagramTransactionType" (of type "class or interface"). The class or interface "DiagramTransactionType" is not defined in the library map of any loaded library. If you are not a developer, this almost always means that a library is out of date. For example, you may have upgraded "phabricator/" without upgrading "arcanist/", or vice versa. It might also mean that you need to restart Apache or PHP-FPM. Make sure all libraries are up to date and all services have been restarted. If you are a developer and this symbol was recently added or moved, your library map may need to be rebuilt. You can rebuild the map by running "arc liberate". For more information, see: https://phurl.io/u/newclasses at [<arcanist>/src/init/init-library.php:26] arcanist(head=master, ref.master=8ef1ead6aca0), phorge(head=master, ref.master=e2bec4c1f58b) #0 __phutil_autoload(string) called at [<phorge>/src/extensions/diagrams/src/xaction/DiagramContentTransaction.php:3] #1 PhutilBootloader::executeInclude(string) called at [<arcanist>/src/init/lib/PhutilBootloader.php:291] #2 PhutilBootloader::loadExtension(string, string, string) called at [<arcanist>/src/init/lib/PhutilBootloader.php:109] #3 PhutilBootloader::registerLibrary(string, string) called at [<arcanist>/src/init/lib/core.php:5] #4 phutil_register_library(string, string) called at [<phorge>/src/__phutil_library_init__.php:3] #5 include_once(string) called at [<arcanist>/src/init/lib/PhutilBootloader.php:251] #6 PhutilBootloader::executeInclude(string) called at [<arcanist>/src/init/lib/PhutilBootloader.php:215] #7 PhutilBootloader::loadLibrary(string) called at [<arcanist>/src/init/lib/moduleutils.php:40] #8 phutil_load_library(string) called at [<arcanist>/src/runtime/ArcanistRuntime.php:457] #9 ArcanistRuntime::loadLibrary(ArcanistConfigurationEngine, string, string) called at [<arcanist>/src/runtime/ArcanistRuntime.php:374] #10 ArcanistRuntime::loadLibraries(ArcanistConfigurationEngine, ArcanistConfigurationSourceList, PhutilArgumentParser) called at [<arcanist>/src/runtime/ArcanistRuntime.php:104] #11 ArcanistRuntime::executeCore(array) called at [<arcanist>/src/runtime/ArcanistRuntime.php:37] #12 ArcanistRuntime::execute(array) called at [<arcanist>/support/init/init-arcanist.php:6] #13 require_once(string) called at [<arcanist>/bin/arc:10]
Additional notes:
$ find -name DiagramTransactionType.php ./src/extensions/diagrams/src/xaction/DiagramTransactionType.php
I also tried this, same error:
$ phorge> arc liberate --clean
Any troubleshooting tip?