
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

Running the examples in chapter 5 c under pytest 5.4.1 causes an AttributeError: ‘module’ object has no attribute ‘config’.
In particula...
New

Working through the steps (checking that the Info,plist matches exactly), run the demo game and what appears is grey but does not fill th...
New

Title: Web Development with Clojure, Third Edition, pg 116
Hi - I just started chapter 5 and I am stuck on page 116 while trying to star...
New

Hi,
build fails on:
bracket-lib = “~0.8.1”
when running on Mac Mini M1 Rust version 1.5.0:
Compiling winit v0.22.2
error[E0308]: mi...
New

The book has the same “Problem space/Solution space” diagram on page 18 as is on page 17. The correct Problem/Solution space diagrams ar...
New

I’m new to Rust and am using this book to learn more as well as to feed my interest in game dev. I’ve just finished the flappy dragon exa...
New

Hi,
I completed chapter 6 but am getting the following error when running:
thread 'main' panicked at 'Failed to load texture: IoError(O...
New

Hi, I’ve got a question about the implementation of PubSub when using a Phoenix.Socket.Transport behaviour rather than channels.
Before ...
New

Book: Programming Phoenix LiveView, page 142 (157/378), file lib/pento_web/live/product_live/form_component.ex, in the function below:
d...
New

Modern Front-End Development for Rails - application does not start after run bin/setup (page xviii)
After some hassle, I was able to finally run bin/setup, now I have started the rails server but I get this error message right when I vis...
New
Other popular topics

Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New

We have a thread about the keyboards we have, but what about nice keyboards we come across that we want? If you have seen any that look n...
New

I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl:
The Ser...
New

Not sure if following fits exactly this thread, or if we should have a hobby thread…
For many years I’m designing and building model air...
New

Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New

Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
New

API 4
Path:
/user/following/
Method:
GET
Description:
Returns the list of all names of people whom the user follows
Response
[
{ ...
New

Biggest jackpot ever apparently! :upside_down_face:
I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New

A Brief Review of the Minisforum V3 AMD Tablet.
Update: I have created an awesome-minisforum-v3 GitHub repository to list information fo...
New

I’m able to do the “artistic” part of game-development; character designing/modeling, music, environment modeling, etc.
However, I don’t...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /haskell
- /emacs
- /svelte
- /onivim
- /typescript
- /crystal
- /c-plus-plus
- /kotlin
- /tailwind
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /ash
- /vscode
- /opensuse
- /centos
- /php
- /deepseek
- /html
- /zig
- /scala
- /debian
- /nixos
- /textmate
- /lisp
- /sublime-text
- /agda
- /react-native
- /kubuntu
- /arch-linux
- /ubuntu
- /revery
- /manjaro
- /django
- /spring
- /diversity
- /nodejs
- /lua
- /c
- /slackware
- /julia
- /neovim