Send Health mailing list submissions to
address@hiddenTo subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/healthor, via email, send a message with subject or body 'help' to
address@hiddenYou can reach the person managing the list at
address@hiddenWhen 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>
To: "
address@hidden" <
address@hidden>
Subject: [Health] Fw: GnuHealth installation help
Message-ID:
<
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>
To: mona gc <
address@hidden>; General discussion and help <
address@hidden>
Sent: Thursday, 26 September 2013 2:55 AM
Subject: Re: [Health] GnuHealth installation help
On 9/26/13, mona gc <
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>
> To: Luis Falcon <
address@hidden>
> Cc: "
address@hidden" <
address@hidden>
> Subject: Re: [Health] [sr #108396] GNU Health installation Healp
>? ? needed
> Message-ID:
>? ? <
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>
To:
address@hiddenSubject: Re: [Health] Fw: GnuHealth installation help
Message-ID: <
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>
> *To:* mona gc <
address@hidden>; General discussion and help
> <
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> <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>>
>> 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
>
>
------------------------------
_______________________________________________
Health mailing list
address@hiddenhttps://lists.gnu.org/mailman/listinfo/healthEnd of Health Digest, Vol 26, Issue 10
**************************************