1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
<!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=%3CF90E6ECD-67BE-4C4F-9F87-1D1099279455%40wirtel.be%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="000523.html">
<LINK REL="Next" HREF="000524.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[99s-extend] cowboy websocket example runtime error</H1>
<B>Stéphane Wirtel</B>
<A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20websocket%20example%20runtime%20error&In-Reply-To=%3CF90E6ECD-67BE-4C4F-9F87-1D1099279455%40wirtel.be%3E"
TITLE="[99s-extend] cowboy websocket example runtime error">stephane at wirtel.be
</A><BR>
<I>Thu Mar 19 18:10:58 CET 2015</I>
<P><UL>
<LI>Previous message: <A HREF="000523.html">[99s-extend] cowboy websocket example runtime error
</A></li>
<LI>Next message: <A HREF="000524.html">[99s-extend] websocket handler
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#516">[ date ]</a>
<a href="thread.html#516">[ thread ]</a>
<a href="subject.html#516">[ subject ]</a>
<a href="author.html#516">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>do you have a priv/ directory in your application ?
On 19 Mar 2015, at 18:08, Samir Sow wrote:
><i> Hi there,
</I>><i>
</I>><i> I would appreciate your help to understand the following error when
</I>><i> 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
</I>><i> resolve the priv_dir of application
</I>><i> 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>
--
Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000523.html">[99s-extend] cowboy websocket example runtime error
</A></li>
<LI>Next message: <A HREF="000524.html">[99s-extend] websocket handler
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#516">[ date ]</a>
<a href="thread.html#516">[ thread ]</a>
<a href="subject.html#516">[ subject ]</a>
<a href="author.html#516">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>
|