diff options
Diffstat (limited to '_build/static/archives/extend/2015-March/000521.html')
-rw-r--r-- | _build/static/archives/extend/2015-March/000521.html | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/_build/static/archives/extend/2015-March/000521.html b/_build/static/archives/extend/2015-March/000521.html new file mode 100644 index 00000000..ba83f013 --- /dev/null +++ b/_build/static/archives/extend/2015-March/000521.html @@ -0,0 +1,131 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy websocket example runtime error + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20websocket%20example%20runtime%20error&In-Reply-To=%3CCACBD901-72BF-4E5A-9AE0-D16D00E787F1%40wanadoo.fr%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000520.html"> + <LINK REL="Next" HREF="000522.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy websocket example runtime error</H1> + <B>Samir Sow</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20websocket%20example%20runtime%20error&In-Reply-To=%3CCACBD901-72BF-4E5A-9AE0-D16D00E787F1%40wanadoo.fr%3E" + TITLE="[99s-extend] cowboy websocket example runtime error">samset at wanadoo.fr + </A><BR> + <I>Thu Mar 19 19:01:38 CET 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000520.html">[99s-extend] cowboy websocket example runtime error +</A></li> + <LI>Next message: <A HREF="000522.html">[99s-extend] cowboy websocket example runtime error +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#521">[ date ]</a> + <a href="thread.html#521">[ thread ]</a> + <a href="subject.html#521">[ subject ]</a> + <a href="author.html#521">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>You mean where src, priv, ebin, deps … are, right ? + +Samir + +><i> On 19 mars 2015, at 18:56, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: +</I>><i> +</I>><i> ERL_LIBS should point to the lib directory (where the application directories are), not to the root directory of the release. +</I>><i> +</I>><i> On 03/19/2015 06:46 PM, Samir Sow wrote: +</I>>><i> I’ve exported ERL_LIBS=<root_dir> before erl execution. but got same error ... +</I>>><i> +</I>>><i> +</I>>>><i> On 19 mars 2015, at 18:40, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: +</I>>>><i> +</I>>>><i> If you don't use the release start script it can still work but you must define ERL_LIBS to let Erlang know where applications are located (-pa **ebin only says where *beams* are located). +</I>>>><i> +</I>>>><i> Maybe more things. +</I>>>><i> +</I>>>><i> On 03/19/2015 06:31 PM, Samir Sow wrote: +</I>>>>><i> Manually from the application root dir. +</I>>>>><i> with exec erl <paths> +</I>>>>><i> Then starting all required applications +</I>>>>><i> +</I>>>>><i> Not very clever i admit but could not print debug info with _rel/bin/websocket +</I>>>>><i> +</I>>>>><i> Samir +</I>>>>><i> +</I>>>>><i> +</I>>>>>><i> On 19 mars 2015, at 18:10, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: +</I>>>>>><i> +</I>>>>>><i> How do you run it? +</I>>>>>><i> +</I>>>>>><i> On 03/19/2015 06:08 PM, Samir Sow wrote: +</I>>>>>>><i> Hi there, +</I>>>>>>><i> +</I>>>>>>><i> I would appreciate your help to understand the following error when running the websocket example. +</I>>>>>>><i> +</I>>>>>>><i> Context is : +</I>>>>>>><i> +</I>>>>>>><i> ERL 17 +</I>>>>>>><i> Cowboy 2.0.0-pre (master) +</I>>>>>>><i> no source modification +</I>>>>>>><i> +</I>>>>>>><i> +</I>>>>>>><i> =ERROR REPORT==== 19-Mar-2015::18:04:36 === +</I>>>>>>><i> Error in process <0.160.0> with exit value: {[{reason,{badarg,"Can't resolve the priv_dir of application websocket"}},{mfa,{cowboy_static,init,2}},{stacktrace,[{cowboy_static,priv_path,2,[{file,"src/cowboy_static.erl"},{line,66}]},{cowboy_static,init_opts,2,[{file… +</I>>>>>>><i> +</I>>>>>>><i> Thank you. +</I>>>>>>><i> +</I>>>>>>><i> Samir +</I>>>>>>><i> _______________________________________________ +</I>>>>>>><i> Extend mailing list +</I>>>>>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>>>>>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>>>>>><i> +</I>>>>>><i> +</I>>>>>><i> -- +</I>>>>>><i> Loïc Hoguin +</I>>>>>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>>>>><i> +</I>>>><i> +</I>>>><i> -- +</I>>>><i> Loïc Hoguin +</I>>>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000520.html">[99s-extend] cowboy websocket example runtime error +</A></li> + <LI>Next message: <A HREF="000522.html">[99s-extend] cowboy websocket example runtime error +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#521">[ date ]</a> + <a href="thread.html#521">[ thread ]</a> + <a href="subject.html#521">[ subject ]</a> + <a href="author.html#521">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> |