Thursday, March 10, 2011

Fresh Openerp V6 instalation on ubuntu

Step 1: Instaling all the dependencies with Postgresql database

sudo apt-get install python-lxml python-mako python-egenix-mxdatetime python-dateutil python-psycopg2 python-pychart python-pydot python-tz python-reportlab python-yaml python-vobject python-gtk2 python-glade2 python-matplotlib python-egenix-mxdatetime python-tz python-hippocanvas python python-dev build-essential python-setuptools flashplugin-nonfree postgresql

Step 2: Downloading Openerp server Webserver and client

Link to download :

http://www.openerp.com/downloads

please download sources and pack for linux save them in workspace( you have to create a folder( usin :- mkdir) in Documents, just to keep all code at one place else you can save them any where but i prefer workspace ) directory and unzip all of them

Step 3: Starting server, client and create DB User


Create database user

a good practice is to create a database user similer to your system user the command is as given below

sudo su postgres
createuser "your system user name"( eg: smaan )

Starting application server

Go to path Document/workspace/openerp-sever-6.0.x/bin ( usin cd Documents
/workspace/openerp-sever-6.0.x/bin) where x is the verson number use the same number as you downloaded or usin tab key can also help to identify the same

To start server execute the following
./openerp- and use tab key to complete the executable file , if everthing is fine server will start normally and wait for connection from client.

Starting web server

go to path Documents/workspace/openerp-web-6.0x ( usin cd Documnets/openerp-web-6.0.x )

To start the webserver
./openerp-web use tab key to complete the name and followed by enter , it should start normally on 8080 port


Step 4: working with OpenERP

Open web browser ( mozilla,explorer etc )

type : http://localhost:8080/

or http://serverip:8080/

you are now ready to start using OpenERP v6 create a new database and play with it

Hope you found it interesting .

Put your comments to edit me in case you found some mistake.








Thursday, February 3, 2011

Little ones but nice

muskurati jindgani chayeye
shabdh key jagrit kahani chaeyee
sare duniya apni ho jate hai bas
ak uskey meherbani chayee

na ghabra aey josh tufa sey
phuch he jaeyenge ae dil
agar kismat mey sahil hai

kon kheta hia aasman mey ched nai hota
ak patathar tabyat sey feekkar dheko to yaro

Saturday, January 15, 2011

Be the star if you can't be sun

If you can't be a pine on the top of the hill,
Be a scrub in the valley
But be The little scrub by the side of the rill;
Be a bush if you can't be a tree

If you can't be a bush, be a bit of the grass,
And some highway happier make;
if you can't be a muskie, then just be a bass
But the liveliest bass in the lake!

We can't all be captains, we've got to be crew,
There is something for all of us here.
There is big work to do and there is lesser to do
And the task we must do is the near

If you can't be a highway, then just be a trail,
If you can't be the sun, be a star;
It isn't by size that you win or you fail
Be the best of whatever you are!

Has there been anybody exactly like you

Stating the things broadly, human individuals thus live far within their limits. They possess powers of various sorts which they habitually fail to use ......... :(

You and I have such abilites , so lets not waste a second worrying because we are not like other people. You are something new in this world. Never before, since the beginning of time, has there ever been anybody exactly like you and never again throughout all the ages to come will there ever be anybody exactly like you again.

The science of genetics inform us you are what you are largely as a result of twenty-four chromosomes contributed by your father and twenty-four chromosomes contributed by your mother. These forty-eight chromosomes comprises everything that determines what you inherit.

Bitter truth:

Even after your mother and father met and mated, there was only one chance in 300.000 billion that the person who is specifically you would be born! In other words, if you had 300.000 billions brothers and sisters they might have all been different from you. Is all this guesswork ? No its is a scientific fact. if you would like to read about it, consult You are Heredity, by Amram Scheinfeld.

Moral of the story is :

Let's not imitate others.
Let's find ourselves and be ourselves

Saturday, December 18, 2010

The seeker meets a master ..best ones..

Most people don't discover how to live until its the time to die .

Its hard to beleve that we live in a world where most of the people are concerned with following the crowd and doing what everyone else is doing than living there dreams ....

One of the greatest regrets a person can ever have is getting to the end of their lives and realizing that they did not do their dreams...
Since the reasonable man adapts himself to the world ; the unreasonable one tries to adapt the world to himself..

No one discover their destiny , your destiny will discover you it will find you , provided you have done the preparation and inner work required to seize the opportunity when it presents itself..

you should always have some plans and goals but but but ...... hold on to your plans and goals with a loose grip .often the universe will send you a treasure in an unexpected package . if you are busy holding on and hunting down -- what you think is best for you , you may miss what truly best for you ....


Trust that where you are at any given point , is precisely where you are meant to be.

A spiritual Emergency : best ones..

We receive from life not what we want but who we are ....................

Trust that the winter of your sorrow will yield to the summer of your joy , just as the brilliant rays of the morning always follow the darkest part of night .....

Pain and adversity are powerful vehicles to promote personal growth. nothing helps you to learn,grow and evolve more quickly......

A boat that never ventures beyond its moorings will never be damaged but that's not what boats are made for. Similarly a human being who never dares to walk out into the unknown spaces of his or her life will never get hurt but that is not what human being are designed for ....

Unknown is always a fear, but it is also where new exists and new is the only place in the world where you will find possibility.... yes the human side of us feel the pain that endures it. Thats natural . but his pain will eventually subside and a richer , stronger,wiser you will emerge


There may be the illusin that you are free when you keep living within the box of your life may have become but ,believe that it is an actual illusion -- a lie to yourself . when you leave the box for new vistas and stop following the crowd ,of course fears will surface . remember on the other side of fears only you can discover the fortune..


Mind is limited but the heart in limitless.................

Thanks to robin sharma

Thursday, November 5, 2009

Uploading brances from launchpad

Launchpad now a days is the online mall for open source projects so this section is dedicated to explain the process to upload a branch from launchpad .


First you need to create your account at www.launchpad.net by clicking register on top right


Creating the key

How you create your SSH key pair depends on which operating system you use.

Linux/Cygwin

Step 1: Install OpenSSH. On Ubuntu, you can install OpenSSH by opening your terminal and typing:

sudo apt-get install openssh-client

With Cygwin you can follow the instructions here: http://pigtail.net/LRP/printsrv/cygwin-ssh.html

Step 2: Once OpenSSH is installed, stay in the terminal and type:

ssh-keygen -t rsa

Step 3: When prompted, press Enter to accept the default file name for your key.

Step 4: Next, enter then confirm a password to protect your SSH key. Your key pair is stored in ~/.ssh/ as id_rsa.pub (public key) and id_rsa (private key)

Now you need to upload the public portion of your SSH key to Launchpad.

Windows (PuTTY)

Step 1: Download the PuTTY Key Generator from here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Step 2: Run puttygen.exe and click the generate button. PuTTYGen will ask you to move your mouse around in the blank area to generate entropy.

Step 3: Set a key passphrase and confirm it.

Step 4: Click "Save public key" and choose a location to save it. Click "Save private key" and choose a secure location to save it. You must keep this secret key safe!

Step 5: Do not close Puttygen window just yet! Copy the public key from the Puttygen window.

This way you get key for the next step ("Registering the key with Launchpad").

Note: Step 5 helps avoid the "Invalid public key" error. (Taken from launchpad question 26705)

Step 6: Run/Install Pageant as either a standalone .exe or as part of the entire putty package. Make sure Pageant is running and rt+click the icon in the notification area. Add the private key you saved earlier. This step is crucial if you want to connect to launchpad from a Windows PC.

Cygwin/Windows (PuTTY)

Follow these steps if you wish to use Pageant under Cygwin.

Step 1: Follow the procedure in the 'Windows (PuTTY)' section

Step 2: Add 'BZR_SSH' as an environment variable with the value 'plink'

Step 3: Close all existing bash terminals and open a new terminal.

Step 4: Run 'plink INSERT_YOUR_USERNAME_HERE@bazaar.launchpad.net' and accept 'yes' to store the server's host key

Registering your personal computer with launchpad id to inform bzr of your Launchpad ID


Example :

bzr launchpad-login maansatyamitra-yahoo

If you don't know your log in the surf it at

http://launchpad.net/people/+me


Uploading a branch


for some projects you can directly upload the branch with out being registered but you may be deprived of it many times specially restricted ones .

example :

bzr branch lp:~openerp-commiter/openobject-addons/stable_5.0-extra-addons