health
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health] Health Digest, Vol 26, Issue 11


From: Luis Falcon
Subject: Re: [Health] Health Digest, Vol 26, Issue 11
Date: Thu, 26 Sep 2013 11:18:22 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130823 Icedove/17.0.8

On 26/09/13 10:24, mona gc wrote:
> Thanks all.
> Now got succeeded. Installation is successful.
> I edited trytond.conf (under the etc directory of trytond server) and
> enter my server timezone.
> 
> But now as, Booting up the Tryton Server getting following error,
> Kindly help with this,
> 
> address@hidden:~# su - gnuhealth
> address@hidden:~$ cd
> $HOME/gnuhealth/tryton/server/trytond-2.8.2/bin
> address@hidden:~/gnuhealth/tryton/server/trytond-2.8.2/bin$
> ./trytond
> Traceback (most recent call last):
> File "./trytond", line 109, in <module>
> trytond.server.TrytonServer(options).run()
> File
> "/home/gnuhealth/gnuhealth/tryton/server/trytond-2.8.2/trytond/server.py",
> line 28, in __init__
> CONFIG.update_etc(options['configfile'])
> File
> "/home/gnuhealth/gnuhealth/tryton/server/trytond-2.8.2/trytond/config.py",
> line 122, in update_etc
> with open(self.configfile) as fp:
> IOError: [Errno 13] Permission denied: '/etc/trytond.conf'
> address@hidden:~/gnuhealth/tryton/server/trytond-2.8.2/bin$
That file seems to be there probably by an old installation .

Please don't use the system-wide /etc/trytond.conf, unless you have
permissions to read it . Delete the /etc/trytond.conf .

Use the local one in
/home/gnuhealth/gnuhealth/tryton/server/trytond-2.8.2/trytond/etc/trytond.conf

That file belongs to gnuhealth user and you will not have permissions
issues.

Best,


My adi

> 
> ------------------------------------------------------------------------
> *From:* "address@hidden" <address@hidden>
> *To:* address@hidden
> *Sent:* Thursday, 26 September 2013 7:16 AM
> *Subject:* Health Digest, Vol 26, Issue 11
> 
> Send Health mailing list submissions to
>     address@hidden <mailto:address@hidden>
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>     https://lists.gnu.org/mailman/listinfo/health
> or, via email, send a message with subject or body 'help' to
>     address@hidden <mailto:address@hidden>
> 
> You can reach the person managing the list at
>     address@hidden <mailto:address@hidden>
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Health digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Health Digest, Vol 26, Issue 10 (mona gc)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 26 Sep 2013 19:15:57 +0800 (SGT)
> From: mona gc <address@hidden <mailto:address@hidden>>
> To: "address@hidden <mailto:address@hidden>" <address@hidden
> <mailto:address@hidden>>
> Subject: Re: [Health] Health Digest, Vol 26, Issue 10
> Message-ID:
>     <address@hidden
> <mailto:address@hidden>>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 
> Dear KKCHN,
> Thanks for your continued support (I
> was about to move to GNUmed now but you are my last hope).
> Well, I did as u suggested I changed
> the permission to 777 of
> /usr/lib/python2.7/dist-packages/pytz/reference.pyc and then,
> 
> address@hidden:~/gnuhealth-2.0.0$
> ./gnuhealth_install.sh
> [06:59:12][INFO] Starting GNU Health
> 2.0.0 installation...
> [06:59:12][INFO] CHECKING REQUIREMENTS
> [06:59:12]Looking for wget....
> wget is /usr/bin/wget
> [06:59:12]Looking for the Python
> Interpreter command...
> python is /usr/bin/python
> [06:59:12][INFO] Found Python 2.7.3
> [06:59:12]-> Looking for PIP
> command...
> [06:59:12][INFO] OK.
> [06:59:12][INFO] Creating temporary
> directory...
> [06:59:12][INFO] OK.
> [06:59:12][INFO] Creating destination
> directories...
> [06:59:12][INFO] OK.
> [06:59:12][INFO] Getting list of
> lastest Tryton packages...
> [07:01:25][INFO] OK.
> [07:01:25][INFO] Installing python
> dependencies with pip...
> Requirement already satisfied (use
> --upgrade to upgrade): lxml in /usr/lib/python2.7/dist-packages
> Cleaning up...
> Requirement already satisfied (use
> --upgrade to upgrade): relatorio in /usr/lib/python2.7/dist-packages
> Requirement already satisfied (use
> --upgrade to upgrade): Genshi>=0.5 in
> /usr/lib/python2.7/dist-packages (from relatorio)
> Requirement already satisfied (use
> --upgrade to upgrade): lxml>=2.0 in
> /usr/lib/python2.7/dist-packages (from relatorio)
> Cleaning up...
> Requirement already satisfied (use
> --upgrade to upgrade): python-dateutil in
> /usr/lib/python2.7/dist-packages
> Cleaning up...
> Requirement already satisfied (use
> --upgrade to upgrade): psycopg2 in /usr/lib/python2.7/dist-packages
> Cleaning up...
> Requirement already satisfied (use
> --upgrade to upgrade): pytz in /usr/lib/python2.7/dist-packages
> Cleaning up...
> Requirement already satisfied (use
> --upgrade to upgrade): python-ldap in
> /home/gnuhealth/.local/lib/python2.7/site-packages
> Requirement already satisfied (use
> --upgrade to upgrade): distribute in /usr/lib/python2.7/dist-packages
> (from python-ldap)
> Cleaning up...
> Requirement already satisfied (use
> --upgrade to upgrade): vobject in
> /home/gnuhealth/.local/lib/python2.7/site-packages
> Requirement already satisfied (use
> --upgrade to upgrade): python-dateutil>=1.1 in
> /usr/lib/python2.7/dist-packages (from vobject)
> Cleaning up...
> Requirement already satisfied (use
> --upgrade to upgrade): pywebdav in /usr/lib/python2.7/dist-packages
> Cleaning up...
> Requirement already satisfied (use
> --upgrade to upgrade): qrcode in
> /home/gnuhealth/.local/lib/python2.7/site-packages
> Cleaning up...
> Requirement already satisfied (use
> --upgrade to upgrade): PIL in /usr/lib/python2.7/dist-packages/PIL
> Cleaning up...
> Requirement already satisfied (use
> --upgrade to upgrade): caldav in
> /home/gnuhealth/.local/lib/python2.7/site-packages
> Requirement already satisfied (use
> --upgrade to upgrade): vobject in
> /home/gnuhealth/.local/lib/python2.7/site-packages (from caldav)
> Requirement already satisfied (use
> --upgrade to upgrade): lxml in /usr/lib/python2.7/dist-packages (from
> caldav)
> Requirement already satisfied (use
> --upgrade to upgrade): nose in
> /home/gnuhealth/.local/lib/python2.7/site-packages (from caldav)
> Requirement already satisfied (use
> --upgrade to upgrade): coverage in
> /home/gnuhealth/.local/lib/python2.7/site-packages (from caldav)
> Requirement already satisfied (use
> --upgrade to upgrade): python-dateutil>=1.1 in
> /usr/lib/python2.7/dist-packages (from vobject->caldav)
> Cleaning up...
> Requirement already satisfied (use
> --upgrade to upgrade): polib in /usr/lib/python2.7/dist-packages
> Cleaning up...
> [07:01:27][INFO] Changing to temporary
> directory.
> [07:01:27][INFO] Downloading the Tryton
> server...
> --2013-09-26 07:01:27--
> http://downloads.tryton.org/2.8/trytond-2.8.2.tar.gz
> Resolving downloads.tryton.org
> (downloads.tryton.org)... 94.23.24.155, 2001:41d0:2:199b::1
> Connecting to downloads.tryton.org
> (downloads.tryton.org)|94.23.24.155|:80... connected.
> HTTP request sent, awaiting response...
> 200 OK
> Length: 461994 (451K)
> [application/x-gzip]
> Saving to: `trytond-2.8.2.tar.gz'
> 100%[======================================>]
> 461,994    84.0K/s  in 5.4s
> 2013-09-26 07:01:34 (82.9 KB/s) -
> `trytond-2.8.2.tar.gz' saved [461994/461994]
> [07:01:34][INFO] OK.
> [07:01:34][INFO] Downloading Tryton
> modules...
> --2013-09-26 07:01:34--
> http://downloads.tryton.org/2.8/trytond_account-2.8.1.tar.gz
> Resolving downloads.tryton.org
> (downloads.tryton.org)... 94.23.24.155, 2001:41d0:2:199b::1
> Connecting to downloads.tryton.org
> (downloads.tryton.org)|94.23.24.155|:80... connected.
> HTTP request sent, awaiting response...
> 200 OK
> Length: 270194 (264K)
> [application/x-gzip]
> Saving to:
> `trytond_account-2.8.1.tar.gz'
> 100%[======================================>]
> 270,194    60.4K/s  in 4.4s
> 2013-09-26 07:01:44 (60.4 KB/s) -
> `trytond_account-2.8.1.tar.gz' saved [270194/270194]
> --2013-09-26 07:01:44--
> http://downloads.tryton.org/2.8/trytond_account_invoice-2.8.2.tar.gz
> Resolving downloads.tryton.org
> (downloads.tryton.org)... 94.23.24.155, 2001:41d0:2:199b::1
> Connecting to downloads.tryton.org
> (downloads.tryton.org)|94.23.24.155|:80... connected.
> HTTP request sent, awaiting response...
> 200 OK
> Length: 111998 (109K)
> [application/x-gzip]
> Saving to:
> `trytond_account_invoice-2.8.2.tar.gz'
> 100%[======================================>]
> 111,998    76.3K/s  in 1.4s
> 2013-09-26 07:01:51 (76.3 KB/s) -
> `trytond_account_invoice-2.8.2.tar.gz' saved [111998/111998]
> --2013-09-26 07:01:51--
> http://downloads.tryton.org/2.8/trytond_account_product-2.8.0.tar.gz
> Resolving downloads.tryton.org
> (downloads.tryton.org)... 94.23.24.155, 2001:41d0:2:199b::1
> Connecting to downloads.tryton.org
> (downloads.tryton.org)|94.23.24.155|:80... connected.
> HTTP request sent, awaiting response...
> 200 OK
> Length: 25468 (25K)
> [application/x-gzip]
> Saving to:
> `trytond_account_product-2.8.0.tar.gz'
> 100%[======================================>]
> 25,468      70.0K/s  in 0.4s
> 2013-09-26 07:01:52 (70.0 KB/s) -
> `trytond_account_product-2.8.0.tar.gz' saved [25468/25468]
> --2013-09-26 07:01:52--
> http://downloads.tryton.org/2.8/trytond_calendar-2.8.0.tar.gz
> Resolving downloads.tryton.org
> (downloads.tryton.org)... 94.23.24.155, 2001:41d0:2:199b::1
> Connecting to downloads.tryton.org
> (downloads.tryton.org)|94.23.24.155|:80... connected.
> HTTP request sent, awaiting response...
> 200 OK
> Length: 57279 (56K)
> [application/x-gzip]
> Saving to:
> `trytond_calendar-2.8.0.tar.gz'
> 100%[======================================>]
> 57,279      65.4K/s  in 0.9s
> 2013-09-26 07:02:04 (65.4 KB/s) -
> `trytond_calendar-2.8.0.tar.gz' saved [57279/57279]
> --2013-09-26 07:02:04--
> http://downloads.tryton.org/2.8/trytond_company-2.8.0.tar.gz
> Resolving downloads.tryton.org
> (downloads.tryton.org)... 94.23.24.155, 2001:41d0:2:199b::1
> Connecting to downloads.tryton.org
> (downloads.tryton.org)|94.23.24.155|:80... connected.
> HTTP request sent, awaiting response...
> 200 OK
> Length: 49406 (48K)
> [application/x-gzip]
> Saving to:
> `trytond_company-2.8.0.tar.gz'
> 100%[======================================>]
> 49,406      79.9K/s  in 0.6s
> 2013-09-26 07:02:06 (79.9 KB/s) -
> `trytond_company-2.8.0.tar.gz' saved [49406/49406]
> --2013-09-26 07:02:06--
> http://downloads.tryton.org/2.8/trytond_country-2.8.0.tar.gz
> Resolving downloads.tryton.org
> (downloads.tryton.org)... 94.23.24.155, 2001:41d0:2:199b::1
> Connecting to downloads.tryton.org
> (downloads.tryton.org)|94.23.24.155|:80... connected.
> HTTP request sent, awaiting response...
> 200 OK
> Length: 787716 (769K)
> [application/x-gzip]
> Saving to:
> `trytond_country-2.8.0.tar.gz'
> 100%[======================================>]
> 787,716    56.5K/s  in 13s
> 2013-09-26 07:02:30 (57.1 KB/s) -
> `trytond_country-2.8.0.tar.gz' saved [787716/787716]
> --2013-09-26 07:02:30--
> http://downloads.tryton.org/2.8/trytond_currency-2.8.0.tar.gz
> Resolving downloads.tryton.org
> (downloads.tryton.org)... 94.23.24.155, 2001:41d0:2:199b::1
> Connecting to downloads.tryton.org
> (downloads.tryton.org)|94.23.24.155|:80... connected.
> HTTP request sent, awaiting response...
> 200 OK
> Length: 54434 (53K)
> [application/x-gzip]
> Saving to:
> `trytond_currency-2.8.0.tar.gz'
> 100%[======================================>]
> 54,434      57.3K/s  in 0.9s
> 2013-09-26 07:02:42 (57.3 KB/s) -
> `trytond_currency-2.8.0.tar.gz' saved [54434/54434]
> --2013-09-26 07:02:42--
> http://downloads.tryton.org/2.8/trytond_party-2.8.0.tar.gz
> Resolving downloads.tryton.org
> (downloads.tryton.org)... 2001:41d0:2:199b::1
> Connecting to downloads.tryton.org
> (downloads.tryton.org)|2001:41d0:2:199b::1|:80... failed: Network is
> unreachable.
> address@hidden:~/gnuhealth-2.0.0$
> 
> Though it says  failed: Network is
> unreachable. I tried it 3 times but same ting only.
> 
> 
> Now as per instructions,
> cd $HOME/gnuhealth/tryton/server/trytond-2.8.1/etc
> (I do not have /gnuhealth/tryton/server/trytond-2.8.1/etc But
> only             
> /gnuhealth/gnuhealth/tryton/server/modules  )
> 
> 
> Now as suggested i will remove then install?pytz and try again.will
> update there after.
> 
> Thanks very much for ur continued support.
> regards,
> Mohana
> 
> 
> 
> 
> ________________________________
> From: "address@hidden <mailto:address@hidden>"
> <address@hidden <mailto:address@hidden>>
> To: address@hidden <mailto:address@hidden>
> Sent: Thursday, 26 September 2013 6:59 AM
> Subject: Health Digest, Vol 26, Issue 10
> 
> 
> Send Health mailing list submissions to
> ??? address@hidden <mailto:address@hidden>
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> ??? https://lists.gnu.org/mailman/listinfo/health
> or, via email, send a message with subject or body 'help' to
> ??? address@hidden <mailto:address@hidden>
> 
> You can reach the person managing the list at
> ??? address@hidden <mailto:address@hidden>
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Health digest..."
> 
> 
> Today's Topics:
> 
> ?  1. Fw:? GnuHealth installation help (mona gc)
> ?  2. Re: Fw:? GnuHealth installation help (Luis Falcon)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 26 Sep 2013 16:23:12 +0800 (SGT)
> From: mona gc <address@hidden <mailto:address@hidden>>
> To: "address@hidden <mailto:address@hidden>" <address@hidden
> <mailto:address@hidden>>
> Subject: [Health] Fw:? GnuHealth installation help
> Message-ID:
> ??? <address@hidden
> <mailto:address@hidden>>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> i did this also,
> It may be a? permission problem. Try to change the permisson of the
> file? /usr/lib/python2.7/dist-packages/pytz/reference.pyc'? to 644(
> 777 not recommended? , if 644 not worked out you try with 777) and try
> to install.
> 
> Did not work
> regards
> 
> 
> ----- Forwarded Message -----
> From: KK CHN <address@hidden <mailto:address@hidden>>
> To: mona gc <address@hidden
> <mailto:address@hidden>>; General discussion and help
> <address@hidden <mailto:address@hidden>>
> Sent: Thursday, 26 September 2013 2:55 AM
> Subject: Re: [Health] GnuHealth installation help
> 
> 
> On 9/26/13, mona gc <address@hidden
> <mailto:address@hidden>> wrote:
>>
>> Dear Members, kindly help me to install GnuHealth on Ubuntu 12.04
>>
>> Well, my installation goes fine. Kindly
>> see the log of my installation at the bottom of this mail. But I struggle
>> here,
>> Setting
>> Up your Server Timezone
>> Find the server configuration file trytond.conf:
>> cd $HOME/gnuhealth/tryton/server/trytond-<YOUR_VERSION_NUMBER>/etc
>> While running above command as follows,
>> address@hidden:~/gnuhealth-2.2.0$ cd
>> $HOME/gnuhealth/tryton/server/trytond-2.2.0/etc
>> I get this error,
>> -su: cd: /home/gnuhealth/gnuhealth/tryton/server/trytond-2.2.0/etc: No
> such
>> file or directory
>> Kindly help me if anything goes wrong.
>> Regards,
>> Mohana
>>
>> Log of my installation
>>
>>
>> address@hidden:~$ sudo -s
>> [sudo] password for mohan:
>> address@hidden:~# adduser gnuhealth
>> Adding user `gnuhealth' ...
>> Adding new group `gnuhealth' (1001) ...
>> Adding new user `gnuhealth' (1001) with group `gnuhealth' ...
>> Creating home directory `/home/gnuhealth' ...
>> Copying files from `/etc/skel' ...
>> Enter new UNIX password:
>> Retype new UNIX password:
>> passwd: password updated successfully
>> Changing the user information for gnuhealth
>> Enter the new value, or press ENTER for the default
>>? ?? Full Name []:
>>? ?? Room Number []:
>>? ?? Work Phone []:
>>? ?? Home Phone []:
>>? ?? Other []:
>> Is the information correct? [Y/n] y
>> address@hidden:~# su - postgres -c "createuser --createdb
>> --no-createrole --no-superuser gnuhealth"
>> address@hidden:~# su - postgres -c "createuser --createdb
>> --no-createrole --no-superuser gnuhealth"
>> createuser: creation of new role failed: ERROR:? role "gnuhealth" already
>> exists
>> address@hidden:~# su - gnuhealth
>> address@hidden:~$ wget
>> http://ftp.gnu.org/gnu/health/gnuhealth-latest.tar.gz
>> --2013-09-26 00:07:54--
>> http://ftp.gnu.org/gnu/health/gnuhealth-latest.tar.gz
>> Resolving ftp.gnu.org (ftp.gnu.org)... 208.118.235.20, 2001:4830:134:3::b
>> Connecting to ftp.gnu.org (ftp.gnu.org)|208.118.235.20|:80... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 3580147 (3.4M) [application/x-gzip]
>> Saving to: `gnuhealth-latest.tar.gz'
>>
>> 100%[======================================>] 3,580,147?? 61.8K/s?? in
>> 62s
>>
>> 2013-09-26 00:08:57 (56.3 KB/s) - `gnuhealth-latest.tar.gz' saved
>> [3580147/3580147]
>>
>> address@hidden:~$ tar xzf gnuhealth-latest.tar.gz
>> address@hidden:~$ ls
>> examples.desktop? gnuhealth-2.2.0? gnuhealth-latest.tar.gz
>> address@hidden:~$ cd gnuhealth-*
>> address@hidden:~/gnuhealth-2.2.0$ ./gnuhealth_install.sh
>>
>> [00:09:50][INFO] Starting GNU Health 2.2.0 installation...
>>
>> [00:09:50][INFO] CHECKING REQUIREMENTS
>>
>> [00:09:50]Looking for wget....
>> wget is /usr/bin/wget
>>
>> [00:09:50]Looking for the Python Interpreter command...
>> python is /usr/bin/python
>>
>> [00:09:50][INFO] Found Python 2.7.3
>>
>> [00:09:50]-> Looking for PIP command...
>> [00:09:50][INFO] OK.
>>
>> [00:09:50][INFO] Creating temporary directory...
>> [00:09:50][INFO] OK.
>>
>> [00:09:50][INFO] Creating destination directories...
>> [00:09:50][INFO] OK.
>>
>> [00:09:50][INFO] Getting list of lastest Tryton packages...
>> [00:10:29][INFO] OK.
>>
>> [00:10:29][INFO] Installing python dependencies with pip...
>> Requirement already satisfied (use --upgrade to upgrade): lxml in
>> /usr/lib/python2.7/dist-packages
>> Cleaning up...
>> Requirement already satisfied (use --upgrade to upgrade): relatorio in
>> /usr/lib/python2.7/dist-packages
>> Requirement already satisfied (use --upgrade to upgrade): Genshi>=0.5 in
>> /usr/lib/python2.7/dist-packages (from relatorio)
>> Requirement already satisfied (use --upgrade to upgrade): lxml>=2.0 in
>> /usr/lib/python2.7/dist-packages (from relatorio)
>> Cleaning up...
>> Requirement already satisfied (use --upgrade to upgrade):
> python-dateutil in
>> /usr/lib/python2.7/dist-packages
>> Cleaning up...
>> Requirement already satisfied (use --upgrade to upgrade): psycopg2 in
>> /usr/lib/python2.7/dist-packages
>> Cleaning up...
>> Downloading/unpacking pytz>=2013b
>>?? Downloading pytz-2013d.tar.bz2 (204Kb): 204Kb downloaded
>>?? Running setup.py egg_info for package pytz
>>
>>? ?? warning: no files found matching '*.pot' under directory 'pytz'
>>? ?? warning: no previously-included files found matching 'test_zdump.py'
>> Installing collected packages: pytz
>>?? Found existing installation: pytz 2011k
>>? ?? Uninstalling pytz:
>> Exception:
>> Traceback (most recent call last):
>>?? File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in
>> main
>>? ?? self.run(options, args)
>>?? File "/usr/lib/python2.7/dist-packages/pip/commands/install.py",
> line 228,
>> in run
>>? ?? requirement_set.install(install_options, global_options)
>>?? File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1089, in
> install
>>? ?? requirement.uninstall(auto_confirm=True)
>>?? File "/usr/lib/python2.7/dist-packages/pip/req.py", line 476, in
> uninstall
>>? ?? paths_to_remove.remove(auto_confirm)
>>?? File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1391, in remove
>>? ?? renames(path, new_path)
>>?? File "/usr/lib/python2.7/dist-packages/pip/util.py", line 248, in
> renames
>>? ?? shutil.move(old, new)
>>?? File "/usr/lib/python2.7/shutil.py", line 297, in move
>>? ?? rmtree(src)
>>?? File "/usr/lib/python2.7/shutil.py", line 250, in rmtree
>>? ?? onerror(os.remove, fullname, sys.exc_info())
>>?? File "/usr/lib/python2.7/shutil.py", line 248, in rmtree
>>? ?? os.remove(fullname)
>> OSError: [Errno 13] Permission denied:
>> '/usr/lib/python2.7/dist-packages/pytz/reference.pyc'
> 
> It may be a? permission problem. Try to change the permisson of the
> file? /usr/lib/python2.7/dist-packages/pytz/reference.pyc'? to 644(
> 777 not recommended? , if 644 not worked out you try with 777) and try
> to install.
> 
> 
>> Storing complete log in /home/gnuhealth/.pip/pip.log
>> address@hidden:~/gnuhealth-2.2.0$
>> address@hidden:~/gnuhealth-2.2.0$ cd
>> $HOME/gnuhealth/tryton/server/trytond-2.2.0/etc
>> -su: cd: /home/gnuhealth/gnuhealth/tryton/server/trytond-2.2.0/etc: No
> such
>> file or directory
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 25 Sep 2013 19:36:40 +0800 (SGT)
>> From: mona gc <address@hidden
> <mailto:address@hidden>>
>> To: Luis Falcon <address@hidden <mailto:address@hidden>>
>> Cc: "address@hidden <mailto:address@hidden>" <address@hidden
> <mailto:address@hidden>>
>> Subject: Re: [Health] [sr #108396] GNU Health installation Healp
>>? ?? needed
>> Message-ID:
>>? ?? <address@hidden
> <mailto:address@hidden>>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Thanks dear Luis,
>> For your kind guidance. Since last 10 days i am spending 8-9 hrs
> everyday on
>> this yet not getting any result.
>> I will be obliged if, you (community) systematically and step by step
> guide
>> me in this installation. In lieu of this i may offer my volunteer
> service to
>> GNU Health project developing some graphics.
>>
>> Assistance required for: installation of GNU Health on Ubuntu 12.04
>>
>> regards
>> Mohana
>>
>>
> 
> KK
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://lists.gnu.org/archive/html/health/attachments/20130926/4fcb7d40/attachment.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 26 Sep 2013 07:58:06 -0300
> From: Luis Falcon <address@hidden <mailto:address@hidden>>
> To: address@hidden <mailto:address@hidden>
> Subject: Re: [Health] Fw:? GnuHealth installation help
> Message-ID: <address@hidden <mailto:address@hidden>>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Dear Mona
> On 09/26/2013 05:23 AM, mona gc wrote:
>> i did this also,
>> It may be a? permission problem. Try to change the permisson of the
>> file? /usr/lib/python2.7/dist-packages/pytz/reference.pyc'? to 644(
>> 777 not recommended? , if 644 not worked out you try with 777) and try
>> to install.
>>
> Is finding an old system-wide version of pytz on your system and is
> trying to remove it with your gnuhealth user, that has no permission.
> 
> You probably installed the pytz package with apt-get
> 
> Try to remove it, as root (apt-get remove python-tz) and then re-run the
> installation script.
> 
> Best,
>> Did not work
>> regards
>>
>> ----- Forwarded Message -----
>> *From:* KK CHN <address@hidden <mailto:address@hidden>>
>> *To:* mona gc <address@hidden
> <mailto:address@hidden>>; General discussion and help
>> <address@hidden <mailto:address@hidden>>
>> *Sent:* Thursday, 26 September 2013 2:55 AM
>> *Subject:* Re: [Health] GnuHealth installation help
>>
>> On 9/26/13, mona gc <address@hidden
> <mailto:address@hidden>
>> <mailto:address@hidden <mailto:address@hidden>>>
> wrote:
>>>
>>> Dear Members, kindly help me to install GnuHealth on Ubuntu 12.04
>>>
>>> Well, my installation goes fine. Kindly
>>> see the log of my installation at the bottom of this mail. But I struggle
>>> here,
>>> Setting
>>> Up your Server Timezone
>>> Find the server configuration file trytond.conf:
>>> cd $HOME/gnuhealth/tryton/server/trytond-<YOUR_VERSION_NUMBER>/etc
>>> While running above command as follows,
>>> address@hidden
>> <mailto:address@hidden>:~/gnuhealth-2.2.0$ cd
>>> $HOME/gnuhealth/tryton/server/trytond-2.2.0/etc
>>> I get this error,
>>> -su: cd: /home/gnuhealth/gnuhealth/tryton/server/trytond-2.2.0/etc: No
>> such
>>> file or directory
>>> Kindly help me if anything goes wrong.
>>> Regards,
>>> Mohana
>>>
>>> Log of my installation
>>>
>>>
>>> address@hidden <mailto:address@hidden>:~$ sudo -s
>>> [sudo] password for mohan:
>>> address@hidden <mailto:address@hidden>:~#
>> adduser gnuhealth
>>> Adding user `gnuhealth' ...
>>> Adding new group `gnuhealth' (1001) ...
>>> Adding new user `gnuhealth' (1001) with group `gnuhealth' ...
>>> Creating home directory `/home/gnuhealth' ...
>>> Copying files from `/etc/skel' ...
>>> Enter new UNIX password:
>>> Retype new UNIX password:
>>> passwd: password updated successfully
>>> Changing the user information for gnuhealth
>>> Enter the new value, or press ENTER for the default
>>>? ? Full Name []:
>>>? ? Room Number []:
>>>? ? Work Phone []:
>>>? ? Home Phone []:
>>>? ? Other []:
>>> Is the information correct? [Y/n] y
>>> address@hidden <mailto:address@hidden>:~# su -
>> postgres -c "createuser --createdb
>>> --no-createrole --no-superuser gnuhealth"
>>> address@hidden <mailto:address@hidden>:~# su -
>> postgres -c "createuser --createdb
>>> --no-createrole --no-superuser gnuhealth"
>>> createuser: creation of new role failed: ERROR:? role "gnuhealth" already
>>> exists
>>> address@hidden <mailto:address@hidden>:~# su -
>> gnuhealth
>>> address@hidden
>> <mailto:address@hidden>:~$ wget
>>> http://ftp.gnu.org/gnu/health/gnuhealth-latest.tar.gz
>>> --2013-09-26 00:07:54--
>>> http://ftp.gnu.org/gnu/health/gnuhealth-latest.tar.gz
>>> Resolving ftp.gnu.org (ftp.gnu.org)... 208.118.235.20, 2001:4830:134:3::b
>>> Connecting to ftp.gnu.org (ftp.gnu.org)|208.118.235.20|:80... connected.
>>> HTTP request sent, awaiting response... 200 OK
>>> Length: 3580147 (3.4M) [application/x-gzip]
>>> Saving to: `gnuhealth-latest.tar.gz'
>>>
>>> 100%[======================================>] 3,580,147? 61.8K/s? in
>>> 62s
>>>
>>> 2013-09-26 00:08:57 (56.3 KB/s) - `gnuhealth-latest.tar.gz' saved
>>> [3580147/3580147]
>>>
>>> address@hidden
>> <mailto:address@hidden>:~$ tar xzf gnuhealth-latest.tar.gz
>>> address@hidden
>> <mailto:address@hidden>:~$ ls
>>> examples.desktop? gnuhealth-2.2.0? gnuhealth-latest.tar.gz
>>> address@hidden
>> <mailto:address@hidden>:~$ cd gnuhealth-*
>>> address@hidden
>> <mailto:address@hidden>:~/gnuhealth-2.2.0$
>> ./gnuhealth_install.sh
>>>
>>> [00:09:50][INFO] Starting GNU Health 2.2.0 installation...
>>>
>>> [00:09:50][INFO] CHECKING REQUIREMENTS
>>>
>>> [00:09:50]Looking for wget....
>>> wget is /usr/bin/wget
>>>
>>> [00:09:50]Looking for the Python Interpreter command...
>>> python is /usr/bin/python
>>>
>>> [00:09:50][INFO] Found Python 2.7.3
>>>
>>> [00:09:50]-> Looking for PIP command...
>>> [00:09:50][INFO] OK.
>>>
>>> [00:09:50][INFO] Creating temporary directory...
>>> [00:09:50][INFO] OK.
>>>
>>> [00:09:50][INFO] Creating destination directories...
>>> [00:09:50][INFO] OK.
>>>
>>> [00:09:50][INFO] Getting list of lastest Tryton packages...
>>> [00:10:29][INFO] OK.
>>>
>>> [00:10:29][INFO] Installing python dependencies with pip...
>>> Requirement already satisfied (use --upgrade to upgrade): lxml in
>>> /usr/lib/python2.7/dist-packages
>>> Cleaning up...
>>> Requirement already satisfied (use --upgrade to upgrade): relatorio in
>>> /usr/lib/python2.7/dist-packages
>>> Requirement already satisfied (use --upgrade to upgrade): Genshi>=0.5 in
>>> /usr/lib/python2.7/dist-packages (from relatorio)
>>> Requirement already satisfied (use --upgrade to upgrade): lxml>=2.0 in
>>> /usr/lib/python2.7/dist-packages (from relatorio)
>>> Cleaning up...
>>> Requirement already satisfied (use --upgrade to upgrade):
>> python-dateutil in
>>> /usr/lib/python2.7/dist-packages
>>> Cleaning up...
>>> Requirement already satisfied (use --upgrade to upgrade): psycopg2 in
>>> /usr/lib/python2.7/dist-packages
>>> Cleaning up...
>>> Downloading/unpacking pytz>=2013b
>>>? Downloading pytz-2013d.tar.bz2 (204Kb): 204Kb downloaded
>>>? Running setup.py egg_info for package pytz
>>>
>>>? ? warning: no files found matching '*.pot' under directory 'pytz'
>>>? ? warning: no previously-included files found matching 'test_zdump.py'
>>> Installing collected packages: pytz
>>>? Found existing installation: pytz 2011k
>>>? ? Uninstalling pytz:
>>> Exception:
>>> Traceback (most recent call last):
>>>? File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in
>>> main
>>>? ? self.run(options, args)
>>>? File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line
>> 228,
>>> in run
>>>? ? requirement_set.install(install_options, global_options)
>>>? File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1089, in
> install
>>>? ? requirement.uninstall(auto_confirm=True)
>>>? File "/usr/lib/python2.7/dist-packages/pip/req.py", line 476, in
>> uninstall
>>>? ? paths_to_remove.remove(auto_confirm)
>>>? File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1391, in remove
>>>? ? renames(path, new_path)
>>>? File "/usr/lib/python2.7/dist-packages/pip/util.py", line 248, in
> renames
>>>? ? shutil.move(old, new)
>>>? File "/usr/lib/python2.7/shutil.py", line 297, in move
>>>? ? rmtree(src)
>>>? File "/usr/lib/python2.7/shutil.py", line 250, in rmtree
>>>? ? onerror(os.remove, fullname, sys.exc_info())
>>>? File "/usr/lib/python2.7/shutil.py", line 248, in rmtree
>>>? ? os.remove(fullname)
>>> OSError: [Errno 13] Permission denied:
>>> '/usr/lib/python2.7/dist-packages/pytz/reference.pyc'
>>
>> It may be a? permission problem. Try to change the permisson of the
>> file? /usr/lib/python2.7/dist-packages/pytz/reference.pyc'? to 644(
>> 777 not recommended? , if 644 not worked out you try with 777) and try
>> to install.
>>
>>
>>> Storing complete log in /home/gnuhealth/.pip/pip.log
>>> address@hidden
>> <mailto:address@hidden>:~/gnuhealth-2.2.0$
>>> address@hidden
>> <mailto:address@hidden>:~/gnuhealth-2.2.0$ cd
>>> $HOME/gnuhealth/tryton/server/trytond-2.2.0/etc
>>> -su: cd: /home/gnuhealth/gnuhealth/tryton/server/trytond-2.2.0/etc: No
>> such
>>> file or directory
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Wed, 25 Sep 2013 19:36:40 +0800 (SGT)
>>> From: mona gc <address@hidden
> <mailto:address@hidden>
>> <mailto:address@hidden <mailto:address@hidden>>>
>>> To: Luis Falcon <address@hidden
> <mailto:address@hidden> <mailto:address@hidden
> <mailto:address@hidden>>>
>>> Cc: "address@hidden <mailto:address@hidden> <mailto:address@hidden
> <mailto:address@hidden>>" <address@hidden <mailto:address@hidden>
>> <mailto:address@hidden <mailto:address@hidden>>>
>>> Subject: Re: [Health] [sr #108396] GNU Health installation Healp
>>>? ? needed
>>> Message-ID:
>>>? ? <address@hidden
> <mailto:address@hidden>
>> <mailto:address@hidden
> <mailto:address@hidden>>>
>>> Content-Type: text/plain; charset="iso-8859-1"
>>>
>>> Thanks dear Luis,
>>> For your kind guidance. Since last 10 days i am spending 8-9 hrs
>> everyday on
>>> this yet not getting any result.
>>> I will be obliged if, you (community) systematically and step by step
>> guide
>>> me in this installation. In lieu of this i may offer my volunteer
>> service to
>>> GNU Health project developing some graphics.
>>>
>>> Assistance required for: installation of GNU Health on Ubuntu 12.04
>>>
>>> regards
>>> Mohana
>>>
>>>
>>
>> KK
>>
>>
> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Health mailing list
> address@hidden <mailto:address@hidden>
> https://lists.gnu.org/mailman/listinfo/health
> 
> 
> End of Health Digest, Vol 26, Issue 10
> **************************************
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://lists.gnu.org/archive/html/health/attachments/20130926/f9b8160e/attachment.html>
> 
> ------------------------------
> 
> _______________________________________________
> Health mailing list
> address@hidden <mailto:address@hidden>
> https://lists.gnu.org/mailman/listinfo/health
> 
> 
> End of Health Digest, Vol 26, Issue 11
> **************************************
> 
> 


-- 
GNU Health : The Free Health and Hospital Information System
http://health.gnu.org
@gnuhealth



reply via email to

[Prev in Thread] Current Thread [Next in Thread]