My mistakes

Sometimes this issue may related to the protocol which we are using to connect with aws dynamodb. By default it is using the protocol https to connect with the AWS. So try the http protocol.

To resolve this issue try the below code:

amazonDynamoDBClient = new AmazonDynamoDBClient(credentials);
amazonDynamoDBClient .setEndpoint(“http:///”);

Note: replace the with the appropriate endpoint

unoconv: Convert between any document format supported by OpenOffice

For more information :


create table test_table(id integer unsigned,cName varchar(50));

insert into test_table values(1,’test1′);
insert into test_table values(2,’test2′);
insert into test_table values(3,’test3′);

select group_concat(cName separator ‘,’)
from test_table

| group_concat(cName separator ‘,’) |
| test1,test2,test3 |

But now,I want to limit the group_concat to the first two rows of the result:

| group_concat(name separator ‘,’) |
| test1,test2 |

Solution :
We cannot use the limit with the group_concat so the better solution is to go for SUBSTRING_INDEX like

SUBSTRING_INDEX(group_CONCAT(cName) , ‘,’, 2) as cName from test_table


This issue is mainly related to the source path setting . To solve this issue ensure the source path is setup correctly.

For verifying the source path use
=> Properties
=> Java Build Path
=> Source (select the appropriate src files)

After setting up the src
1) While running select the type of the application
2) Select the appropriate file with the main function

Quick fix
$subject= mb_encode_mimeheader($subject,”UTF-8″, “B”, “\n”);


When we convert a pdf to an image using ghostscript like

convert mam.pdf document.png

you may get an error like this :
ERROR: /undefined in –get–
Operand stack:
–dict:6/6(L)–   F1   14   –dict:9/14(L)–   –dict:9/14(L)–   275   –dict:9/14(L)–   –dict:11/12(L)–   glyf
Execution stack:
%interp_exit   .runexec2   –nostringval–   –nostringval–   –nostringval–   2   %stopped_push   –nostringval–   –nostringval–   –nostringval–   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   –nostringval–   –nostringval–   2   1   6   –nostringval–   %for_pos_int_continue   –nostringval–   –nostringval–   –nostringval–   –nostringval–   %array_continue   –nostringval–   false   1   %stopped_push   –nostringval–   %loop_continue   –nostringval–   –nostringval–   –nostringval–   –nostringval–   –nostringval–   –nostringval–   –nostringval–
Dictionary stack:
–dict:1127/1686(ro)(G)–   –dict:0/20(G)–   –dict:107/200(L)–   –dict:107/200(L)–   –dict:104/127(ro)(G)–   –dict:241/347(ro)(G)–   –dict:20/24(L)–   –dict:4/6(L)–   –dict:20/20(L)–   –dict:3/5(L)–   –dict:10/14(L)–   –dict:33/50(ro)(G)–   –dict:21/40(L)–
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 815.02: Unrecoverable error, exit code 1
convert: Postscript delegate failed `mam.pdf’.
convert: missing an image filename `document.png’.
[manu@rc-170 imagemagic]$ /usr/lib/ -invisible -headless -norestore -accept=”socket,host=,port=8100;urp;” -nofirststartwizard & > /dev/null 2>&1
[1] 29233

Solution :

Upgrade the ghostscript to a newer version greater than 8.60