My mistakes

Archive for the ‘LINUX’ Category

When other applications try to open a new browser and navigate to a url sometimes we will get an error like “an error occurred while starting the browser”. This may be due to your default browser is not set properly.

To resolve this issue you have to change the default browser.

Debian based distributions

sudo update-alternatives –config x-www-browser
sudo update-alternatives –config gnome-www-browser





username@hostname:~$ python

>>>from passlib.context import CryptContext
>>>print CryptContext(['pbkdf2_sha512']).encrypt('PASSWORD')

Replace the PASSWORD with the appropriate password.

username@hostname:~$su - postgres_username
postgres_username@hostname:~$psql -t database_name
database_name=#UPDATE res_users SET password='', password_crypt='$pbkdf2-sha512$25000$U.r9H4Ow9l5LiVHq3dt77w$q0f2q/WcDLD3I8/KzB3E4TqJ6vaKIXqWySE8HyRCzJXbh4N8wZtcJjN2zPQ5337PYep6IFFIUeoshUm1beMifg' WHERE id=1;


Try the below solution.

  1. cd .metadata/.plugins
  2. mv org.eclipse.core.resources org.eclipse.core.resources.bak
  3. Start eclipse
  4. It will start but will show errors with opened tabs. This is because we have changed the resources folder, which eclipse use for managing the resources
  5. Close all opened tabs
  6. Exit from Eclipse
  7. Delete any newly create org.eclipse.core.resources folder
  8. Rename back the ‘org.eclipse.core.resources.bak’ to ‘org.eclipse.core.resources’
  9. Start Eclipse
  10. It should start fine with all projects

It worked for me.

This information is taken from the below URL.

The Apache Tika™ toolkit detects and extracts metadata and structured text content from various documents using existing parser libraries

For more information follow the below link


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 :


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