Re: Thumbnails+pics in 3.9 beta dont work

"alonfw2" <[email protected]>
Newsgroups gmane.comp.web.pixory
Message-ID <[email protected]>
Joe,

I just experienced this issue in 3.9 with what I beleive to be 
a 'normal' pic with a 'normal' name (contains no non-english 
characters)

The image is IMG_3033.jpg and is preceeded by Fort Pan_tn_200.0.jpg.
Pixory created a pan for the Fort Pan pic and then somehow skipped 
IMG_3033...

19:30:17,031 (SocketListener-6) 
[INFO:PXImageManager.createCachedThumbnail -- created cached 
thumbnail: C:\Documents and Settings\Alon\My Documents\My 
Pictures\Alon got for Colleen\.album\Fort Pan_tn_200.0.jpg]
19:30:18,640 (SocketListener-7) [WARN:PXImageWriterUtility.write -- ]
java.lang.IllegalArgumentException: Can't load standard profile

snip snip

19:30:18,687 (SocketListener-7) 
[INFO:PXImageManager.createCachedThumbnail -- created cached 
thumbnail: null]
19:30:19,921 (SocketListener-6) 
[INFO:PXImageManager.createCachedThumbnail -- created cached 
thumbnail: C:\Documents and Settings\Alon\My Documents\My 
Pictures\Alon got for Colleen\.album\IMG_4729_tn_200.0.jpg]


As I view the images in pixory they are in the following order: Fort 
Pan, IMG_3033, IMG_4729.

The following is the a complete log snip.  It includes several lines 
previouis to the section I mentioned above, I noted some "socket 
write errors" that I thought might be related.

19:30:13,250 (SocketListener-4) 
[INFO:PXImageManager.createCachedThumbnail -- created cached 
thumbnail: C:\Documents and Settings\Alon\My Documents\My 
Pictures\Alon got for Colleen\.album\IMG_3699_tn_200.0.jpg]
19:30:13,281 (SocketListener-4) 
[WARN:PXApplicationEngine.activateExceptionPage -- 
org.apache.tapestry.ApplicationRuntimeException: Connection reset by 
peer: socket write error

java.net.SocketException: Connection reset by peer: socket write 
error
java.net.SocketOutputStream.socketWrite0(Native Method)
java.net.SocketOutputStream.socketWrite(Unknown Source)
java.net.SocketOutputStream.write(Unknown Source)
org.mortbay.util.ByteBufferOutputStream.writeTo
(ByteBufferOutputStream.java:83)
org.mortbay.http.ChunkableOutputStream.flush
(ChunkableOutputStream.java:518)
org.mortbay.http.ChunkableOutputStream.write
(ChunkableOutputStream.java:414)
org.mortbay.jetty.servlet.ServletOut.write(ServletOut.java:42)
org.apache.tapestry.request.ResponseOutputStream.write
(ResponseOutputStream.java:261)
org.pixory.pxtapestry.PXImageService.service(PXImageService.java:148)
org.apache.tapestry.engine.AbstractEngine.service
(AbstractEngine.java:872)
org.pixory.pxapplication.PXApplicationEngine.service
(PXApplicationEngine.java:58)
org.apache.tapestry.ApplicationServlet.doService
(ApplicationServlet.java:197)
org.apache.tapestry.ApplicationServlet.doGet
(ApplicationServlet.java:158)
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
org.pixory.pxapplication.PXApplication.service
(PXApplication.java:286)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
org.mortbay.jetty.servlet.ServletHolder.handle
(ServletHolder.java:366)
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch
(WebApplicationHandler.java:292)
org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:577)
org.mortbay.http.HttpContext.handle(HttpContext.java:1682)
org.mortbay.jetty.servlet.WebApplicationContext.handle
(WebApplicationContext.java:544)
org.mortbay.http.HttpContext.handle(HttpContext.java:1632)
org.mortbay.http.HttpServer.service(HttpServer.java:875)
org.mortbay.http.HttpConnection.service(HttpConnection.java:806)
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956)
org.mortbay.http.HttpConnection.handle(HttpConnection.java:823)
org.mortbay.http.SocketListener.handleConnection
(SocketListener.java:203)
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:290)
org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)
java.lang.Thread.run(Unknown Source)
]
19:30:13,296 (SocketListener-4) [WARN:PXJettyLogSink$Log.log -- 
Invalid length: Content-Length=5691 written=6338 for 
http://68.7.23.246:8081/pixory/pxapplication]
19:30:14,437 (SocketListener-3) 
[INFO:PXImageManager.createCachedThumbnail -- created cached 
thumbnail: C:\Documents and Settings\Alon\My Documents\My 
Pictures\Alon got for Colleen\.album\IMG_3700_tn_200.0.jpg]
19:30:14,468 (SocketListener-3) 
[WARN:PXApplicationEngine.activateExceptionPage -- 
org.apache.tapestry.ApplicationRuntimeException: Connection reset by 
peer: socket write error

java.net.SocketException: Connection reset by peer: socket write 
error
java.net.SocketOutputStream.socketWrite0(Native Method)
java.net.SocketOutputStream.socketWrite(Unknown Source)
java.net.SocketOutputStream.write(Unknown Source)
org.mortbay.util.ByteBufferOutputStream.writeTo
(ByteBufferOutputStream.java:83)
org.mortbay.http.ChunkableOutputStream.flush
(ChunkableOutputStream.java:518)
org.mortbay.http.ChunkableOutputStream.write
(ChunkableOutputStream.java:414)
org.mortbay.jetty.servlet.ServletOut.write(ServletOut.java:42)
org.apache.tapestry.request.ResponseOutputStream.write
(ResponseOutputStream.java:261)
org.pixory.pxtapestry.PXImageService.service(PXImageService.java:148)
org.apache.tapestry.engine.AbstractEngine.service
(AbstractEngine.java:872)
org.pixory.pxapplication.PXApplicationEngine.service
(PXApplicationEngine.java:58)
org.apache.tapestry.ApplicationServlet.doService
(ApplicationServlet.java:197)
org.apache.tapestry.ApplicationServlet.doGet
(ApplicationServlet.java:158)
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
org.pixory.pxapplication.PXApplication.service
(PXApplication.java:286)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
org.mortbay.jetty.servlet.ServletHolder.handle
(ServletHolder.java:366)
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch
(WebApplicationHandler.java:292)
org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:577)
org.mortbay.http.HttpContext.handle(HttpContext.java:1682)
org.mortbay.jetty.servlet.WebApplicationContext.handle
(WebApplicationContext.java:544)
org.mortbay.http.HttpContext.handle(HttpContext.java:1632)
org.mortbay.http.HttpServer.service(HttpServer.java:875)
org.mortbay.http.HttpConnection.service(HttpConnection.java:806)
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956)
org.mortbay.http.HttpConnection.handle(HttpConnection.java:823)
org.mortbay.http.SocketListener.handleConnection
(SocketListener.java:203)
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:290)
org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)
java.lang.Thread.run(Unknown Source)
]
19:30:14,484 (SocketListener-3) [WARN:PXJettyLogSink$Log.log -- 
Invalid length: Content-Length=5142 written=6338 for 
http://68.7.23.246:8081/pixory/pxapplication]
19:30:17,031 (SocketListener-6) 
[INFO:PXImageManager.createCachedThumbnail -- created cached 
thumbnail: C:\Documents and Settings\Alon\My Documents\My 
Pictures\Alon got for Colleen\.album\Fort Pan_tn_200.0.jpg]
19:30:18,640 (SocketListener-7) [WARN:PXImageWriterUtility.write -- ]
java.lang.IllegalArgumentException: Can't load standard profile
	at java.awt.color.ICC_Profile.getInstance(Unknown Source)
	at java.awt.color.ColorSpace.getInstance(Unknown Source)
	at com.sun.imageio.plugins.jpeg.JPEG.isNonStandardICC
(Unknown Source)
	at com.sun.imageio.plugins.jpeg.JPEGMetadata.<init>(Unknown 
Source)
	at com.sun.imageio.plugins.jpeg.JPEGImageWriter.write
(Unknown Source)
	at javax.imageio.ImageWriter.write(Unknown Source)
	at org.pixory.pximage.PXImageWriterUtility.write
(PXImageWriterUtility.java:70)
	at org.pixory.pximage.PXImageShrinker.shrinkImage
(PXImageShrinker.java:620)
	at org.pixory.pximage.PXImageManager.createCachedThumbnail
(PXImageManager.java:109)
	at 
org.pixory.pximage.PXImageManager.createCachedThumbnailFileForImageNa
med(PXImageManager.java:622)
	at 
org.pixory.pximage.PXImageManager.getThumbnailFileForImageNamed
(PXImageManager.java:415)
	at org.pixory.pximage.PXManagedThumbnail.getFileThumbnail
(PXManagedThumbnail.java:278)
	at org.pixory.pximage.PXManagedThumbnail.getLength
(PXManagedThumbnail.java:112)
	at org.pixory.pxtapestry.PXImageService.service
(PXImageService.java:125)
	at org.apache.tapestry.engine.AbstractEngine.service
(AbstractEngine.java:872)
	at org.pixory.pxapplication.PXApplicationEngine.service
(PXApplicationEngine.java:58)
	at org.apache.tapestry.ApplicationServlet.doService
(ApplicationServlet.java:197)
	at org.apache.tapestry.ApplicationServlet.doGet
(ApplicationServlet.java:158)
	at javax.servlet.http.HttpServlet.service
(HttpServlet.java:740)
	at org.pixory.pxapplication.PXApplication.service
(PXApplication.java:286)
	at javax.servlet.http.HttpServlet.service
(HttpServlet.java:853)
	at org.mortbay.jetty.servlet.ServletHolder.handle
(ServletHolder.java:366)
	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch
(WebApplicationHandler.java:292)
	at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:577)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1682)
	at org.mortbay.jetty.servlet.WebApplicationContext.handle
(WebApplicationContext.java:544)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1632)
	at org.mortbay.http.HttpServer.service(HttpServer.java:875)
	at org.mortbay.http.HttpConnection.service
(HttpConnection.java:806)
	at org.mortbay.http.HttpConnection.handleNext
(HttpConnection.java:956)
	at org.mortbay.http.HttpConnection.handle
(HttpConnection.java:823)
	at org.mortbay.http.SocketListener.handleConnection
(SocketListener.java:203)
	at org.mortbay.util.ThreadedServer.handle
(ThreadedServer.java:290)
	at org.mortbay.util.ThreadPool$JobRunner.run
(ThreadPool.java:743)
	at java.lang.Thread.run(Unknown Source)
19:30:18,687 (SocketListener-7) 
[INFO:PXImageManager.createCachedThumbnail -- created cached 
thumbnail: null]
19:30:19,921 (SocketListener-6) 
[INFO:PXImageManager.createCachedThumbnail -- created cached 
thumbnail: C:\Documents and Settings\Alon\My Documents\My 
Pictures\Alon got for Colleen\.album\IMG_4729_tn_200.0.jpg]
19:30:20,906 (SocketListener-7) 
[INFO:PXImageManager.createCachedThumbnail -- created cached 
thumbnail: C:\Documents and Settings\Alon\My Documents\My 
Pictures\Alon got for Colleen\.album\IMG_4730_tn_200.0.jpg]

--- In [email protected], "Joel" <jolle70@y...> wrote:
> Hi Joe,
> here are som lines from my log file:
> 22:05:28,243 (SocketListener-2) [WARN:PXFileImage.getFile -- Can 
not 
> read file at path'c:\pictures\030628_Brännboll_med 
> 
Vårviks_Framtid\.album\030628_Brännboll_med_Vårviks_framtid_01_innela
> g_tn_75.0.jpg]
> 22:05:28,243 (SocketListener-2) [WARN:PXFileImage.getFile -- Can 
not 
> read file at path'c:\pictures\030628_Brännboll_med 
> 
Vårviks_Framtid\.album\030628_Brännboll_med_Vårviks_framtid_01_innela
> g_tn_75.0.jpg]
> 
>   /Joel
> 
> --- In [email protected], "Joe Panico" <pixory@y...> 
wrote:
> > Joel,
> > 
> > I'll put a copy of 3.8 on the website tonight (GMT +5). When it
> > appears, it will be at:
> > 
> > http://www.pixory.org/3.8/pixory.zip
> > 
> > But before you downgrade, could you please post, or send me, a 
> copy of
> > your log file? I don't need the whole thing, just the part with 
> some
> > of the error messages that are produced when the thumbnailing 
> fails.
> > 
> > thanks,
> > 
> > joe
> > 
> > --- In [email protected], "Joel" <jolle70@y...> wrote:
> > > Hi, I've just switch to XP and I have the same problem. It´s 
> only 
> > > problem with the pictures with filenames containing "non-
> english" 
> > > letter, I my case swedish.  
> > > I'm sorry to cause you so much trouble with my language Joe....
> > > 
> > > By the way, can I download old versions (3.8) of pixory?
> > > 
> > > /Joel
> > > 
> > > --- In [email protected], catbert1742 
<no_reply@y...> 
> > > wrote:
> > > > I can try again.
> > > > 
> > > > I tried flushing the cache, changing sizes, ..., but 3.9 
> didn't 
> > > work 
> > > > well. When I changed back to 3.8 it worked just fine again.
> > > > 
> > > > I haven't tried 3.9 again just yet. When (if) I do I will 
have 
> a 
> > > > check in the log file to see if I can find any useful info.
> > > > 
> > > >   brgds
> > > >   cat



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com.  Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/EGnolB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/pixory-beta/

<*> To unsubscribe from this group, send an email to:
     [email protected]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.