You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Ross Gardler (JIRA)" <ji...@apache.org> on 2007/04/09 17:35:32 UTC

[jira] Created: (FOR-982) Thumbs not displaying

Thumbs not displaying
---------------------

                 Key: FOR-982
                 URL: https://issues.apache.org/jira/browse/FOR-982
             Project: Forrest
          Issue Type: Bug
          Components: Plugin: input.photoGallery
            Reporter: Ross Gardler
            Priority: Blocker


The index page should show thumbs of the images available in the gallery. On windows, nothing is displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-982) Thumbs not displaying

Posted by "Tim Williams (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489104 ] 

Tim Williams commented on FOR-982:
----------------------------------

This is a ClassNotFoundException.  Can someone ensure that the java (PersistentImageReader) is getting compiled properly?  The problem likely lies somewhere in there but I cannot do it at the moment, sorry.
--tim

> Thumbs not displaying
> ---------------------
>
>                 Key: FOR-982
>                 URL: https://issues.apache.org/jira/browse/FOR-982
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.PhotoGallery
>            Reporter: Ross Gardler
>            Priority: Blocker
>         Attachments: error.log
>
>
> The index page should show thumbs of the images available in the gallery. On windows, nothing is displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-982) Thumbs not displaying

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489091 ] 

Gavin commented on FOR-982:
---------------------------

I now got rid of earlier error, tested and Thumbs.db does not make any difference, images will still not appear in Windows.

input.xmap specifcially excludes 'Thumbs.db' as one of its exclude parameters anyway.

> Thumbs not displaying
> ---------------------
>
>                 Key: FOR-982
>                 URL: https://issues.apache.org/jira/browse/FOR-982
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.PhotoGallery
>            Reporter: Ross Gardler
>            Priority: Blocker
>         Attachments: error.log
>
>
> The index page should show thumbs of the images available in the gallery. On windows, nothing is displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-982) Thumbs not displaying

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488302 ] 

Gavin commented on FOR-982:
---------------------------

Tested this whilst testing the new release..
The plugin downloads and installs fine.
Goto localhost:888 I get "Internal Server Error" : org.apache.forrest.dispatcher.transformation.DispatcherTransformer.
Error log attached.

> Thumbs not displaying
> ---------------------
>
>                 Key: FOR-982
>                 URL: https://issues.apache.org/jira/browse/FOR-982
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.PhotoGallery
>            Reporter: Ross Gardler
>            Priority: Blocker
>
> The index page should show thumbs of the images available in the gallery. On windows, nothing is displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-982) Thumbs not displaying

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490315 ] 

Gavin commented on FOR-982:
---------------------------

Red Herring there sorry, I just tried it, *.small.jpg and *.thumb.jpg are still created at 0 bytes.

> Thumbs not displaying
> ---------------------
>
>                 Key: FOR-982
>                 URL: https://issues.apache.org/jira/browse/FOR-982
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.PhotoGallery
>            Reporter: Ross Gardler
>            Priority: Blocker
>         Attachments: error.log
>
>
> The index page should show thumbs of the images available in the gallery. On windows, nothing is displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-982) Thumbs not displaying

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488221 ] 

David Crossley commented on FOR-982:
------------------------------------

But okay on UNIX.

> Thumbs not displaying
> ---------------------
>
>                 Key: FOR-982
>                 URL: https://issues.apache.org/jira/browse/FOR-982
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.PhotoGallery
>            Reporter: Ross Gardler
>            Priority: Blocker
>
> The index page should show thumbs of the images available in the gallery. On windows, nothing is displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FOR-982) Thumbs not displaying

Posted by "Gavin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FOR-982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gavin updated FOR-982:
----------------------

    Comment: was deleted

> Thumbs not displaying
> ---------------------
>
>                 Key: FOR-982
>                 URL: https://issues.apache.org/jira/browse/FOR-982
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.PhotoGallery
>            Reporter: Ross Gardler
>            Priority: Blocker
>
> The index page should show thumbs of the images available in the gallery. On windows, nothing is displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (FOR-982) Thumbs not displaying

Posted by Ross Gardler <rg...@apache.org>.
Tim Williams wrote:
> On 4/16/07, Ross Gardler <rg...@apache.org> wrote:
>> Gav.... wrote:
>> > You did say that this used to work on Windows.
>>
>> I don't think I ever said that. I can't remember ever using it on
>> windows before.
>>
>> Ross
> 
> I haven't said that, but I will.  The thumb/small variant stuff was
> created on a Windows box - it was tested prior to committing.

Thanks Tim, very useful info. Gav appears to be on the right track then.

Ross

Re: [jira] Commented: (FOR-982) Thumbs not displaying

Posted by Tim Williams <wi...@gmail.com>.
On 4/16/07, Ross Gardler <rg...@apache.org> wrote:
> Gav.... wrote:
> > You did say that this used to work on Windows.
>
> I don't think I ever said that. I can't remember ever using it on
> windows before.
>
> Ross

I haven't said that, but I will.  The thumb/small variant stuff was
created on a Windows box - it was tested prior to committing.

--tim

Re: [jira] Commented: (FOR-982) Thumbs not displaying

Posted by Ross Gardler <rg...@apache.org>.
Gav.... wrote:
> You did say that this used to work on Windows.

I don't think I ever said that. I can't remember ever using it on 
windows before.

Ross


RE: [jira] Commented: (FOR-982) Thumbs not displaying

Posted by "Gav...." <br...@brightontown.com.au>.

> -----Original Message-----
> From: Ross Gardler [mailto:rgardler@apache.org]
> Sent: Tuesday, 17 April 2007 7:11 AM
> To: dev@forrest.apache.org
> Subject: Re: [jira] Commented: (FOR-982) Thumbs not displaying
> 
> Gav.... wrote:
> >
> >> -----Original Message-----
> >> From: David Crossley (JIRA) [mailto:jira@apache.org]
> >> Sent: Tuesday, 17 April 2007 6:35 AM
> >> To: dev@forrest.apache.org
> >> Subject: [jira] Commented: (FOR-982) Thumbs not displaying
> >>
> >>
> >>     [ https://issues.apache.org/jira/browse/FOR-
> >> 982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
> >> tabpanel#action_12489252 ]
> >>
> >> David Crossley commented on FOR-982:
> >> ------------------------------------
> >>
> >> Gavin's comments above were from testing with RC1. A problem with
> >> compiling  of plugin's java was subsequently fixed. So the comments
> about
> >> PersistentImageReader might not be the actual problem that was
> originally
> >> reported.
> >
> > Yes, sorry I should not have been doing quick tests of Jira Issues
> whilst
> > testing an RC. That Java Issue has now gone away, but thumbs are still
> not
> > being displayed, even though thumb views are being displayed when
> browsing
> > the folder in Windows.
> >
> > Like I said in the issue, because Thumbs.db are being specifically
> excluded
> > then I can't now see how this would be affecting the problem experienced
> > by Windows users.
> 
> It has nothing to do with Thumbs.db, 

Like I have been saying all along.

the thumbs are being created by the
> image reader, there error is almost certainly in there, as Tim pointed
> out.

Tim was pointing out a class error which I had experienced whilst testing
RC1, the error.log file attached was due to that, nothing else. I now do
not get this error any more.

But your right about the error possibly being in the java file anyway, they
are not being created. Things 'seem' fine in there, and why would it all of
sudden stop working on Windows when that file hasn't been changed in a
while. You did say that this used to work on Windows. I was wondering if a
change in the way plugins are being deployed (locally) whether it might be
a permissions thing as to why the thumbs and smalls are not being created,
long shot, but I haven't been looking at it long enough probably.

Gav...

> 
> Ross
> 
> 
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.26/748 - Release Date: 4/5/2007
> 3:33 PM


Re: [jira] Commented: (FOR-982) Thumbs not displaying

Posted by Ross Gardler <rg...@apache.org>.
Gav.... wrote:
> 
>> -----Original Message-----
>> From: David Crossley (JIRA) [mailto:jira@apache.org]
>> Sent: Tuesday, 17 April 2007 6:35 AM
>> To: dev@forrest.apache.org
>> Subject: [jira] Commented: (FOR-982) Thumbs not displaying
>>
>>
>>     [ https://issues.apache.org/jira/browse/FOR-
>> 982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
>> tabpanel#action_12489252 ]
>>
>> David Crossley commented on FOR-982:
>> ------------------------------------
>>
>> Gavin's comments above were from testing with RC1. A problem with
>> compiling  of plugin's java was subsequently fixed. So the comments about
>> PersistentImageReader might not be the actual problem that was originally
>> reported.
> 
> Yes, sorry I should not have been doing quick tests of Jira Issues whilst
> testing an RC. That Java Issue has now gone away, but thumbs are still not
> being displayed, even though thumb views are being displayed when browsing
> the folder in Windows.
> 
> Like I said in the issue, because Thumbs.db are being specifically excluded
> then I can't now see how this would be affecting the problem experienced
> by Windows users.

It has nothing to do with Thumbs.db, the thumbs are being created by the 
image reader, there error is almost certainly in there, as Tim pointed out.

Ross

RE: [jira] Commented: (FOR-982) Thumbs not displaying

Posted by "Gav...." <br...@brightontown.com.au>.

> -----Original Message-----
> From: David Crossley (JIRA) [mailto:jira@apache.org]
> Sent: Tuesday, 17 April 2007 6:35 AM
> To: dev@forrest.apache.org
> Subject: [jira] Commented: (FOR-982) Thumbs not displaying
> 
> 
>     [ https://issues.apache.org/jira/browse/FOR-
> 982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
> tabpanel#action_12489252 ]
> 
> David Crossley commented on FOR-982:
> ------------------------------------
> 
> Gavin's comments above were from testing with RC1. A problem with
> compiling  of plugin's java was subsequently fixed. So the comments about
> PersistentImageReader might not be the actual problem that was originally
> reported.

Yes, sorry I should not have been doing quick tests of Jira Issues whilst
testing an RC. That Java Issue has now gone away, but thumbs are still not
being displayed, even though thumb views are being displayed when browsing
the folder in Windows.

Like I said in the issue, because Thumbs.db are being specifically excluded
then I can't now see how this would be affecting the problem experienced
by Windows users.

Gav...

> 
> > Thumbs not displaying
> > ---------------------
> >
> >                 Key: FOR-982
> >                 URL: https://issues.apache.org/jira/browse/FOR-982
> >             Project: Forrest
> >          Issue Type: Bug
> >          Components: Plugin: input.PhotoGallery
> >            Reporter: Ross Gardler
> >            Priority: Blocker
> >         Attachments: error.log
> >
> >
> > The index page should show thumbs of the images available in the
> gallery. On windows, nothing is displayed.
> 
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 
> 
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.26/748 - Release Date: 4/5/2007
> 3:33 PM


[jira] Commented: (FOR-982) Thumbs not displaying

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489252 ] 

David Crossley commented on FOR-982:
------------------------------------

Gavin's comments above were from testing with RC1. A problem with compiling  of plugin's java was subsequently fixed. So the comments about PersistentImageReader might not be the actual problem that was originally reported.

> Thumbs not displaying
> ---------------------
>
>                 Key: FOR-982
>                 URL: https://issues.apache.org/jira/browse/FOR-982
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.PhotoGallery
>            Reporter: Ross Gardler
>            Priority: Blocker
>         Attachments: error.log
>
>
> The index page should show thumbs of the images available in the gallery. On windows, nothing is displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-982) Thumbs not displaying

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488222 ] 

David Crossley commented on FOR-982:
------------------------------------

I wonder if this is related to the recent removal from svn of the thumbs.db files. Even though the plugin does not use the Windows-specific file, perhaps it is necessary. Would someone on Windows please view the raw images (which i presume should re-create the missing thumbs.db) and try this plugin's 'forrest run' and view the galleries.

> Thumbs not displaying
> ---------------------
>
>                 Key: FOR-982
>                 URL: https://issues.apache.org/jira/browse/FOR-982
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.PhotoGallery
>            Reporter: Ross Gardler
>            Priority: Blocker
>
> The index page should show thumbs of the images available in the gallery. On windows, nothing is displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-982) Thumbs not displaying

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490303 ] 

Gavin commented on FOR-982:
---------------------------

I am wondering if it because of the removal of imageIO.write functions from r418419 (as opposed to r411659)

http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.PhotoGallery/src/java/org/apache/forrest/reading/PersistentImageReader.java?view=diff&r1=418419&r2=411659&diff_format=h

Maybe the changes in this revision were not tested on Windows.

> Thumbs not displaying
> ---------------------
>
>                 Key: FOR-982
>                 URL: https://issues.apache.org/jira/browse/FOR-982
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.PhotoGallery
>            Reporter: Ross Gardler
>            Priority: Blocker
>         Attachments: error.log
>
>
> The index page should show thumbs of the images available in the gallery. On windows, nothing is displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FOR-982) Thumbs not displaying

Posted by "Gavin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FOR-982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gavin updated FOR-982:
----------------------

    Attachment: error.log

Tested using new RC1 I get "Internal Server Error : org.apache.forrest.reading.PersistentImageReader


> Thumbs not displaying
> ---------------------
>
>                 Key: FOR-982
>                 URL: https://issues.apache.org/jira/browse/FOR-982
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.PhotoGallery
>            Reporter: Ross Gardler
>            Priority: Blocker
>         Attachments: error.log
>
>
> The index page should show thumbs of the images available in the gallery. On windows, nothing is displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-982) Thumbs not displaying

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490298 ] 

Gavin commented on FOR-982:
---------------------------

When running 'forrest' from within the plugin, the thumbs and smalls are created in the /gallery/demo/ directory, but they are 0 bytes in size.

> Thumbs not displaying
> ---------------------
>
>                 Key: FOR-982
>                 URL: https://issues.apache.org/jira/browse/FOR-982
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.PhotoGallery
>            Reporter: Ross Gardler
>            Priority: Blocker
>         Attachments: error.log
>
>
> The index page should show thumbs of the images available in the gallery. On windows, nothing is displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-982) Thumbs not displaying

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495054 ] 

Gavin commented on FOR-982:
---------------------------

Adding in some try..catches I now get :-

* [6/38]    [0/0]     0.219s 0b      gallery/demo/A_017_7A.thumb.jpg
java.io.IOException: No outputstream available!
        at org.apache.cocoon.bean.helpers.DelayedOutputStream.getTargetOutputSt
eam(DelayedOutputStream.java:213)
        at org.apache.cocoon.bean.helpers.DelayedOutputStream.flush(DelayedOutp
tStream.java:159)
X [0]                                     gallery/demo/A_017_7A.thumb.jpg
BROKEN: URI not found: No outputstream available!
        at org.apache.cocoon.util.BufferedOutputStream.realFlush(BufferedOutput
tream.java:128)
        at org.apache.cocoon.environment.AbstractEnvironment.commitResponse(Abs
ractEnvironment.java:270)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:568)
        at org.apache.cocoon.bean.CocoonWrapper.getPage(CocoonWrapper.java:426)
        at org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:496)
        at org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:357)
        at org.apache.cocoon.Main.main(Main.java:311)

.. on my windows machine.

So it initially succeeds in creating an empty file, but fails to be able to write anything to it.

Why this is a windows only trait I haven't worked out.

> Thumbs not displaying
> ---------------------
>
>                 Key: FOR-982
>                 URL: https://issues.apache.org/jira/browse/FOR-982
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.PhotoGallery
>            Reporter: Ross Gardler
>            Priority: Blocker
>         Attachments: error.log
>
>
> The index page should show thumbs of the images available in the gallery. On windows, nothing is displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.