cryogen-project / cryogen-project/cryogen

`lein serve` fails with "The BROWSE action is not supported on the current platform!"

Open
#263 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
1.1k
Forks
93
PR merge metrics
No merged PRs in 30d

Description

Following the Cryogen docs [0], I initialized the default website, and attempted to serve it with `lein serve`.

The site built, and can be accessed by navigating to the index.html file with my browser (Chromium
112.0.5615.165). However, it cannot be accessed via localhost:3000, due to, I believe, the following error:

"Elapsed time: 984.893704 msecs"
Started server on port 3000
Execution error (UnsupportedOperationException) at java.awt.Desktop/checkActionSupport (Desktop.java:221).
The BROWSE action is not supported on the current platform!

System details:
GNU Guix System, Linux 6.2.14

java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (IcedTea 3.19.0) (guix build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)

This might be an issue with IcedTea/my OpenJDK install, but I am reporting it here in case others have encountered the same issue.

[0] http://cryogenweb.org/docs/getting-started.html

Contributor guide

Open the contributing guide

Research direction

Start by following the Cryogen getting-started documentation and reproducing `lein serve` on the reported GNU Guix/Linux and OpenJDK setup. Trace the command that starts the server and triggers the Java AWT BROWSE error. Done means the default site is reachable through the documented localhost workflow without this unsupported-operation failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, java
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.