The picture can not display normal

18 views
Skip to first unread message

郎咸武

unread,
May 14, 2012, 8:52:32 AM5/14/12
to zotoni...@googlegroups.com

Hi guys.
I addsite a blog as "lxw1". I have to rm it for some reason. To add site a "lxw1" blog agin after delete it.
Then run "start.sh" script.
I open http://lxw1:8000/ in the chromium , i found that there some  picture is not display .

My version is from git about five days ago.

cheers, Jason


--
只为成功找方法,不为失败找理由
51A843D6-342F-40F2-83BE-69315DF6D887.png

Andreas Stenius

unread,
May 14, 2012, 9:09:34 AM5/14/12
to zotoni...@googlegroups.com
Hi,

Can you run "git describe --tags", that way I can see exactly what
version you are using.

More often than not (in my experience) failing images is due to issues
with image magick, or missing libs for the same.
However, if this is on the same machine as your other mail about
missing css, where the images did show up ok, I am at a loss...

You should see some error or notice in the logs however, when the
browser attempts to download the images.

Are you running in debug mode (bin/zotonic debug)? In that case, you
get the logs right in the console.

//Andreas

2012/5/14 郎咸武 <langx...@gmail.com>:

郎咸武

unread,
May 14, 2012, 11:24:41 PM5/14/12
to zotoni...@googlegroups.com
Hi, Andreas

The version is release-0.7.0-697-g5169518

jason@localhost:~/soft/zotonicgc/zotonic$ git describe --tags
release-0.7.0-697-g5169518


Are you running in debug mode (bin/zotonic debug)? In that case, you
get the logs right in the console.

I can't see any log in the console.


jason@localhost:~/soft/zotonic$ 
jason@localhost:~/soft/zotonic$ bin/zotonic debug
Erlang R14B04 (erts-5.8.5) [source] [rq:1] [async-threads:0] [kernel-poll:true]

Eshell V5.8.5  (abort with ^G)
(zotonic001@localhost)1> ** Found 0 name clashes in code paths 
** Found 0 name clashes in code paths 
11:17:12.886 [info] Application lager started on node zotonic001@localhost
11:17:12.937 [info] Application mnesia started on node zotonic001@localhost
11:17:12.940 [info] Application public_key started on node zotonic001@localhost
11:17:12.949 [info] Application ssl started on node zotonic001@localhost
11:17:12.968 [info] Application inets started on node zotonic001@localhost
** Found 0 name clashes in code paths 
opening log file: "/home/jason/soft/zotonic/priv/log/access.log.2012_05_15_03"
11:17:13.052 [info] gen_smtp_server starting at zotonic001@localhost

11:17:13.052 [info] listening on {0,0,0,0}:2525 via tcp

11:17:13.170 [info] Application zotonic started on node zotonic001@localhost

(zotonic001@localhost)1> 
(zotonic001@localhost)1> 
(zotonic001@localhost)1> 



There are some log in the priv/log/access.log.2012_05_15_03 


  1 192.168.16.135 - - [15/May/2012:11:17:50 +0800] "GET /en/page/324/rocky-sunrise HTTP/1.1" 200 4714 "http://lxw1:8000/en/article/319/zotonic-s-typography" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/10.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151 Safari/535.19" 10013370518701233    58                                                                                                                                                                                                                                                                                                                       
  2 192.168.16.135 - - [15/May/2012:11:17:50 +0800] "GET /lib/bootstrap/css/bootstrap.min~bootstrap.responsive.min~/css/jquery.loadmask~z-menu~project~63503762777.css HTTP/1.1" 304 0 "http://lxw1:8000/en/page/324/rocky-sunrise" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/10.04 Chromi    um/18.0.1025.151 Chrome/18.0.1025.151 Safari/535.19" 1001337051870553235
  3 192.168.16.135 - - [15/May/2012:11:17:50 +0800] "GET /lib/js/apps/jquery-1.7.1.min~jquery-ui-1.8.18.min~63503762776.js HTTP/1.1" 304 0 "http://lxw1:8000/en/page/324/rocky-sunrise" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/10.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151 Safari    /535.19" 1001337051870566744
  4 192.168.16.135 - - [15/May/2012:11:17:50 +0800] "GET /lib/bootstrap/js/bootstrap.min~/js/apps/zotonic-1.0~z.widgetmanager~/js/modules/livevalidation-1.3~z.inputoverlay~jquery.loadmask~/js/z.superfish~63503762777.js HTTP/1.1" 304 0 "http://lxw1:8000/en/page/324/rocky-sunrise" "Mozilla/5.0 (X11; Linux i686) AppleW    ebKit/535.19 (KHTML, like Gecko) Ubuntu/10.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151 Safari/535.19" 1001337051870566994
  5 192.168.16.135 - - [15/May/2012:11:17:50 +0800] "GET /lib/bootstrap/css/bootstrap.min~bootstrap.responsive.min~/images/bg.png HTTP/1.1" 404 0 "http://lxw1:8000/en/page/324/rocky-sunrise" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/10.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151     Safari/535.19" 1001337051870580320
  6 192.168.16.135 - - [15/May/2012:11:17:50 +0800] "GET /image/2012/5/14/welcome.jpg%28445x%29%28crop%29%28E79CD8EDF9BFE1E132858DC4556D60DB%29.jpg HTTP/1.1" 404 0 "http://lxw1:8000/en/page/324/rocky-sunrise" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/10.04 Chromium/18.0.1025.151 Ch    rome/18.0.1025.151 Safari/535.19" 1001337051870567142
~                                                                     


cheers ,Jason
2012/5/14 Andreas Stenius <andreas...@astekk.se>



--
只为成功找方法,不为失败找理由

郎咸武

unread,
May 14, 2012, 11:55:51 PM5/14/12
to zotoni...@googlegroups.com
Aha The /home/jason/soft/zotonic/priv/sites/lxw1/files/preview/ is empty.

2012/5/15 郎咸武 <langx...@gmail.com>



--
只为成功找方法,不为失败找理由

Andreas Stenius

unread,
May 15, 2012, 3:46:59 AM5/15/12
to zotoni...@googlegroups.com
The preview dir should get filled in automatically by zotonic.

** However, you are still running from master, which is not stable at
the moment. **

Re-read the replies from Arjan and Marc that you got in your other
thread about the css in master.

//Andreas

2012/5/15 郎咸武 <langx...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages