CarloGiuliano / fme-alfresco-extensions

Automatically exported from code.google.com/p/fme-alfresco-extensions
0 stars 0 forks source link

Errors after adding dashlet to site dashboard #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Installing gallery dashlet jar to tomcat/shared/lib/ & 
tomcat/webapps/share/WEB-INF/lib/
2. Restarted Alfresco
3. Created folder and added Album gallery aspect to it
4. Uploaded pictures to that folder

What is the expected output? What do you see instead?

Expected dashlet gallery with pictures and be able to change configuration

What version of the product are you using? On what operating system?

fme-gallery-plus-dashlet-0.5.2.jar
Alfresco 4.0c

Please provide any additional information below.

Error message displayed on dashlet:

002230002 Wrapped Exception (with status template): 02230079 Failed to execute 
script 
'classpath*:alfresco/templates/webscripts/de/fme/dashlets/gallery.get.js' 
02230078 Creation of thumbnail 'galpThumb120' failed

Error message when clicking configuration:

Could not load dialog template from 
'/share/service/modules/dashlet/gallery/config?tag=undefined'.

Original issue reported on code.google.com by rik.tami...@gmail.com on 23 Mar 2012 at 9:43

GoogleCodeExporter commented 8 years ago
Forgot to add, tested on Win XP, Firefox 9.0.1, Google Chrome 16.0.912.63

Original comment by rik.tami...@gmail.com on 23 Mar 2012 at 9:45

GoogleCodeExporter commented 8 years ago
Are you sure Imagemagick is configured correctly in your Installation? Are 
there any error messages in the Alfresco log file? Please have a look in your 
alfresco.log (maybe in c:\windows\system32\alfresco.log).

Original comment by Florian....@gmail.com on 23 Mar 2012 at 10:06

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I suppose imagemagick is configured correctly - haven't made any changes to 
that.

alfresco.log states the same as in first post: the creation of thumbnail 
'galpThumb120' failed etc.

Original comment by rik.tami...@gmail.com on 26 Mar 2012 at 6:58

GoogleCodeExporter commented 8 years ago
I retested with 4.0c and it generally worked with a blank 4.0c on my machine. 
Could you attach the complete alfresco.log, containing the full stack trace and 
the server startup as well?

Original comment by Florian....@gmail.com on 26 Mar 2012 at 7:23

GoogleCodeExporter commented 8 years ago
Attached.

I've noticed the SMTP errors in the logs - I'm aware of them, but I doubt they 
are related to the dashlet issues.

Original comment by rik.tami...@gmail.com on 27 Mar 2012 at 3:01

Attachments:

GoogleCodeExporter commented 8 years ago
You have disabled guestLogin? Looks a bit like this: 
https://issues.alfresco.com/jira/browse/ALF-10823

Do other parts of Alfresco Share work?

Original comment by Florian....@gmail.com on 27 Mar 2012 at 3:24

GoogleCodeExporter commented 8 years ago
There are no issues with other parts of Share, same thing when enabling 
guestLogin

Original comment by torben.m...@gmail.com on 28 Mar 2012 at 6:49

GoogleCodeExporter commented 8 years ago
I've got the same error, see attachment for more details.

Failed to execute script 
'classpath*:alfresco/templates/webscripts/de/fme/dashlets/gallery.get.js': 
04140039 Creation of thumbnail 'galpThumb120' failed

Win 7 x64 / Alfresco 4.0.0 / Tomcat / MySQL 

Original comment by Bertrand...@gmail.com on 14 May 2012 at 2:00

Attachments:

GoogleCodeExporter commented 8 years ago
I am also experiencing this error.

Ubuntu 10.04LTS 64-bit Desktop, Alfresco 4.0.c CE

I have followed the instructions exactly EXCEPT there is no tomcat/shared/lib 
directory in my Alfresco installation.  Leaving out the step of the instruction 
related to copying the gallery's .jar file there produces the error here.  See 
code snippet below:

INFO: Server startup in 66535 ms
2012-08-24 09:16:52,302  INFO  [web.site.EditionInterceptor] [http-8443-1] 
Successfully retrieved license information from Alfresco.
 2012-08-24 09:17:00,276  INFO  [alfresco.util.OpenOfficeConnectionTester] [DefaultScheduler_Worker-4] The OpenOffice connection was re-established.
 2012-08-24 09:17:48,128  ERROR [extensions.webscripts.AbstractRuntime] [http-8080-20] Exception from executeScript - redirecting to status template error: 07240002 Script url /de/fme/dashlets/gallery does not map to a Web Script.

...which produces this error at the Alfresco Share Dashboard:

Could not load dialog template from 
'/share/service/modules/dashlet/gallery/config?site=test-site'.

Original comment by 1...@trevortownsend.com on 24 Aug 2012 at 4:39

GoogleCodeExporter commented 8 years ago
Could not load dialog template from 
'/share/service/modules/dashlet/gallery/config?site

Original comment by gbkisa...@gmail.com on 25 Aug 2012 at 2:39

GoogleCodeExporter commented 8 years ago
Just revisted this ticket and saw you said you copied to 
tomcat/webapps/share/WEB-INF/lib/

You need to copy the JAR to omcat/webapps/alfresco/WEB-INF/lib/

... so alfresco not share. Do you have still issues?

Original comment by Florian....@gmail.com on 6 Feb 2013 at 5:19