mlooney
Ash Framework: favicon annoyances
Users going through the book on safari, at least, get a bunch of annoying errors about favicon missing on each page load:
[debug] ** (Phoenix.Router.NoRouteError) no route found for GET /apple-touch-icon-precomposed.png (TunezWeb.Router)
(tunez 0.1.0) deps/phoenix/lib/phoenix/router.ex:465: TunezWeb.Router.call/2
(tunez 0.1.0) lib/tunez_web/endpoint.ex:1: TunezWeb.Endpoint.plug_builder_call/2
(tunez 0.1.0) deps/plug/lib/plug/debugger.ex:155: TunezWeb.Endpoint."call (overridable 3)"/2
(tunez 0.1.0) lib/tunez_web/endpoint.ex:1: TunezWeb.Endpoint.call/2
(phoenix 1.8.0-rc.3) lib/phoenix/endpoint/sync_code_reload_plug.ex:22: Phoenix.Endpoint.SyncCodeReloadPlug.do_call/4
(bandit 1.7.0) lib/bandit/pipeline.ex:131: Bandit.Pipeline.call_plug!/2
(bandit 1.7.0) lib/bandit/pipeline.ex:42: Bandit.Pipeline.run/5
(bandit 1.7.0) lib/bandit/http1/handler.ex:13: Bandit.HTTP1.Handler.handle_data/3
(bandit 1.7.0) lib/bandit/delegating_handler.ex:18: Bandit.DelegatingHandler.handle_data/3
(bandit 1.7.0) lib/bandit/delegating_handler.ex:8: Bandit.DelegatingHandler.handle_continue/2
(stdlib 6.2.2) gen_server.erl:2335: :gen_server.try_handle_continue/3
(stdlib 6.2.2) gen_server.erl:2244: :gen_server.loop/7
(stdlib 6.2.2) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
[debug] ** (Phoenix.Router.NoRouteError) no route found for GET /apple-touch-icon.png (TunezWeb.Router)
(tunez 0.1.0) deps/phoenix/lib/phoenix/router.ex:465: TunezWeb.Router.call/2
(tunez 0.1.0) lib/tunez_web/endpoint.ex:1: TunezWeb.Endpoint.plug_builder_call/2
(tunez 0.1.0) deps/plug/lib/plug/debugger.ex:155: TunezWeb.Endpoint."call (overridable 3)"/2
(tunez 0.1.0) lib/tunez_web/endpoint.ex:1: TunezWeb.Endpoint.call/2
(phoenix 1.8.0-rc.3) lib/phoenix/endpoint/sync_code_reload_plug.ex:22: Phoenix.Endpoint.SyncCodeReloadPlug.do_call/4
(bandit 1.7.0) lib/bandit/pipeline.ex:131: Bandit.Pipeline.call_plug!/2
(bandit 1.7.0) lib/bandit/pipeline.ex:42: Bandit.Pipeline.run/5
(bandit 1.7.0) lib/bandit/http1/handler.ex:13: Bandit.HTTP1.Handler.handle_data/3
(bandit 1.7.0) lib/bandit/delegating_handler.ex:18: Bandit.DelegatingHandler.handle_data/3
(bandit 1.7.0) lib/bandit/delegating_handler.ex:8: Bandit.DelegatingHandler.handle_continue/2
(stdlib 6.2.2) gen_server.erl:2335: :gen_server.try_handle_continue/3
(stdlib 6.2.2) gen_server.erl:2244: :gen_server.loop/7
(stdlib 6.2.2) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
While obviously not your fault, and easily fixable by the reader who knows what is going on, it might be worth the effort to add the various favicons that browsers attempt to fetch into the GitHub repo. I’m sure other browsers do the same too.
First Post!
sevenseacat
Author of Ash Framework
I haven’t actually seen that at all during development, and I don’t see it in Safari now either ![]()
Let me look into it. The favicon names look familiar, but I thought you would have to configure them in the HTML, which we’re not doing…
Popular Pragmatic Bookshelf topics
This test is broken right out of the box…
— FAIL: TestAgent (7.82s)
agent_test.go:77:
Error Trace: agent_test.go:77
agent_test.go:...
New
Python Testing With Pytest - Chapter 2, warnings for “unregistered custom marks”
While running the smoke tests in Chapter 2, I get these...
New
Hi Brian,
Looks like the api for tinydb has changed a little. Noticed while working on chapter 7 that the .purge() call to the db throws...
New
your book suggests to use Image.toByteData() to convert image to bytes, however I get the following error: "the getter ‘toByteData’ isn’t...
New
Page 28: It implements io.ReaderAt on the store type.
Sorry if it’s a dumb question but was the io.ReaderAt supposed to be io.ReadAt?
...
New
Hi! I know not the intentions behind this narrative when called, on page XI:
mount() |> handle_event() |> render()
but the correc...
New
Title: Web Development with Clojure, Third Edition, vB17.0 (p9)
The create table guestbook syntax suggested doesn’t seem to be accepted ...
New
The allprojects block listed on page 245 produces the following error when syncing gradle:
“org.gradle.api.GradleScriptException: A prob...
New
Hi, I’ve got a question about the implementation of PubSub when using a Phoenix.Socket.Transport behaviour rather than channels.
Before ...
New
When running the program in chapter 8, “Implementing Combat”, the printout Health before attack was never printed so I assumed something ...
New
Other popular topics
Reading something? Working on something? Planning something? Changing jobs even!?
If you’re up for sharing, please let us know what you’...
New
Which, if any, games do you play? On what platform?
I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New
poll
poll
Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
New
This looks like a stunning keycap set :orange_heart:
A LEGENDARY KEYBOARD LIVES ON
When you bought an Apple Macintosh computer in the e...
New
The V Programming Language
Simple language for building maintainable programs
V is already mentioned couple of times in the forum, but I...
New
We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New
New
If you’re getting errors like this:
psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New
Get the comprehensive, insider information you need for Rails 8 with the new edition of this award-winning classic.
Sam Ruby @rubys
...
New
This is cool!
DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON
We just witnessed something incredible: the largest open-s...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /java
- /haskell
- /svelte
- /onivim
- /typescript
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /elm
- /flutter
- /vscode
- /ash
- /html
- /opensuse
- /zig
- /centos
- /deepseek
- /php
- /scala
- /react-native
- /lisp
- /textmate
- /sublime-text
- /debian
- /nixos
- /agda
- /django
- /kubuntu
- /arch-linux
- /deno
- /nodejs
- /revery
- /ubuntu
- /manjaro
- /spring
- /lua
- /diversity
- /markdown
- /julia
- /c








