yaws icon indicating copy to clipboard operation
yaws copied to clipboard

Error When downloading a zip file

Open wowi42 opened this issue 10 years ago • 1 comments

I use yaws, and I have some problems, when I need to download the all.zip file:

# uname -a
FreeBSD bishop.my-sign.com 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014     [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64
# ./bin/yaws
Erlang/OTP 17 [erts-6.2] [source] [64-bit] [smp:8:8] [async-threads:10] [kernel-poll:true]

Eshell V6.2  (abort with ^G)
1>
=INFO REPORT==== 31-Jan-2015::07:48:37 ===
Yaws: Using config file /root/yaws-yaws-1.99/etc/yaws/yaws.conf

=INFO REPORT==== 31-Jan-2015::07:48:37 ===
Ctlfile : /root/.yaws/yaws/default/CTL

=INFO REPORT==== 31-Jan-2015::07:48:37 ===
Yaws: Listening to 0.0.0.0:8080 for <1> virtual servers:
 - http://bishop.my-sign.com:8080 under /usr/local/www/yaws

=ERROR REPORT==== 31-Jan-2015::07:48:48 ===
Error in process <0.62.0> with exit value: {{badmatch,{error,enoent}},[{yaws_ls,dig_through_dir,4,[{file,"src/yaws_ls.erl"},{line,358}]},{yaws_ls,zip,3,[{file,"src/yaws_ls.erl"},{line,297}]}]}

Peace

wowi42 avatar Jan 31 '15 07:01 wowi42

Judging from the traceback, it seems like you're trying to access a directory that doesn't exist, but it's hard to know for sure without more details. Please also supply information on how to duplicate the problem from the client. For example, can the problem be duplicated with curl, and if so, with what arguments? Also, what is the server configuration for your server in the yaws.conf file?

vinoski avatar Jan 31 '15 09:01 vinoski