Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)
Other
1.83k
stars
153
forks
source link
Don't know how to collect doc comments at org.elixir_lang.documentation.ElixirDocumentationProvider.collectDocComments(ElixirDocumentationProvider.kt:90) #2857
with_url(
nil,
"?v={{api_version}}&user_key={{admin_user_key}}"
) do
# extend environment
with_env(%{admin_user_key: user_key}) do
updating = get_from_env("updating", false)
if not updating do
##########
# Add an app instantiating the product for the tenant "wmop"
Details: /Users/jhoffman/Projects/starlit/bedrock/lib/components/scripts/slate/add_ipropane_slate_app.ex
defmodule Bedrock.Script.AddIPropaneSlateApp do
use Bedrock.RESTMacros
alias Bedrock.App
def run(env_params) do
rest_script do
with_env(environment()) do
with_env(env_params) do
with_url("{{host}}/api/", "?v={{api_version}}") do
Login as root admin
user_key = find_user_key(env_params)
# keep set prefix
with_url(
nil,
"?v={{api_version}}&user_key={{admin_user_key}}"
) do
# extend environment
with_env(%{admin_user_key: user_key}) do
updating = get_from_env("updating", false)
if not updating do
##########
# Add an app instantiating the product for the tenant "wmop"
post(
"tenants/{{user_tenant_uri}}/apps",
%{
app: %{
id: "{{slate_app_id}}",
about: "Slate app for {{tenant_label}}",
product_id: "{{slate_product_id}}",
code_prefix: "{{slate_app_code_prefix}}"
}
}
)
else
# Deactivate app
post("tenants/{{user_tenant_uri}}/apps/{{slate_app_id}}/deactivate", %{})
end
### CHANGE ANYTHING UNDER HERE THAT NEEDS UPDATING
post(
"tenants/{{user_tenant_uri}}/apps/{{slate_app_id}}/settings",
%{
settings: %{
logo: "https://app.myaccountplus.com/MyAccountPlusLogo.png",
site_name: "{{tenant_label}}",
show_fuel_ordering : true
}
}
)
# Update the apps config
post(
"tenants/{{user_tenant_uri}}/apps/{{slate_app_id}}/config",
%{config: %{}}
)
# Activate app
post("tenants/{{user_tenant_uri}}/apps/{{slate_app_id}}/activate", %{})
end
end
end
end
end
end
end
end
Exception
Stacktrace
java.lang.Throwable: Don't know how to collect doc comments
```
java.lang.Throwable: Don't know how to collect doc comments
at org.elixir_lang.errorreport.Logger.error(Logger.kt:45)
at org.elixir_lang.errorreport.Logger.error(Logger.kt:25)
at org.elixir_lang.documentation.ElixirDocumentationProvider.collectDocComments(ElixirDocumentationProvider.kt:90)
at org.elixir_lang.documentation.ElixirDocumentationProvider.collectDocComments(ElixirDocumentationProvider.kt:81)
at org.elixir_lang.documentation.ElixirDocumentationProvider.collectDocComments(ElixirDocumentationProvider.kt:77)
```
System
Plugin Version: 13.2.0 Application: IntelliJ IDEA Ultimate Edition (2022.2.2) Operating System: Mac OS X (12.5.1)
Event
Message
Element
From:
/Users/jhoffman/Projects/starlit/bedrock/lib/components/scripts/slate/add_ipropane_slate_app.ex:46
Context
From:
/Users/jhoffman/Projects/starlit/bedrock/lib/components/scripts/slate/add_ipropane_slate_app.ex:41-51
Element Class Name
Details: /Users/jhoffman/Projects/starlit/bedrock/lib/components/scripts/slate/add_ipropane_slate_app.ex defmodule Bedrock.Script.AddIPropaneSlateApp do use Bedrock.RESTMacros alias Bedrock.App
require Logger
defp environment() do %{
Tenant
end
Expects %{updating:} defaults to false
def run(env_params) do rest_script do with_env(environment()) do with_env(env_params) do with_url("{{host}}/api/", "?v={{api_version}}") do
Login as root admin
end end
Exception
Stacktrace
java.lang.Throwable: Don't know how to collect doc comments
``` java.lang.Throwable: Don't know how to collect doc comments at org.elixir_lang.errorreport.Logger.error(Logger.kt:45) at org.elixir_lang.errorreport.Logger.error(Logger.kt:25) at org.elixir_lang.documentation.ElixirDocumentationProvider.collectDocComments(ElixirDocumentationProvider.kt:90) at org.elixir_lang.documentation.ElixirDocumentationProvider.collectDocComments(ElixirDocumentationProvider.kt:81) at org.elixir_lang.documentation.ElixirDocumentationProvider.collectDocComments(ElixirDocumentationProvider.kt:77) ```