Re: [Gnumed-bugs] <bug>: still happening

slappinjohn <[email protected]>
Newsgroups gmane.comp.gnu.medical.devel
Message-ID <[email protected]>
Hi Karsten

rc3 acts like this:

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>gm-from-vcs.bat

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>REM # GNUmed
tarball start

up batch file

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>REM # normally we
would li

ke to use a link but Python

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>REM # on Windows
seems to

have problems importing

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>REM # modules from
directo

ry links

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>REM mklink /J
..\Gnumed ..

\client

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>REM # hence we use
xcopy:

http://commandwindows.com/xcopy.htm

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>REM # note that no
(old) l

ink should pre-exist lest we overwrite ourselves

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>xcopy ..\client
..\Gnumed

/E /I /F /H /O /Y

Zugriff verweigert

0 Datei(en) kopiert

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>set PYTHONPATH=..;

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>Python gnumed.py
--log-fil

e=gm-from-vcs.log --conf-file=gm-from-vcs.conf --local-import --debug

Running from local source tree
(C:\Users\marc\Downloads\gnumed-client.1.5.7rc3)

...

Adjusting PYTHONPATH ...

 

GNUmed startup: Cannot load GNUmed Python modules !

---------------------------------------------------

CRITICAL ERROR: Program halted.

 

Please make sure you have:

 

1) the required third-party Python modules installed

2) the GNUmed Python modules linked or installed into site-packages/

    (if you do not run from a CVS tree the installer should have taken
care of t

hat)

3) your PYTHONPATH environment variable set up correctly

 

sys.path is currently set to:

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client

C:\Python27\lib\site-packages\setuptools-12.2-py2.7.egg

C:\Python27\lib\site-packages\hl7-0.3.2-py2.7.egg

C:\Python27\lib\site-packages\six-1.9.0-py2.7.egg

C:\Python27\lib\site-packages\twain-1.0.5-py2.7-win32.egg

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client

C:\WINDOWS\SYSTEM32\python27.zip

C:\Python27\DLLs

C:\Python27\lib

C:\Python27\lib\plat-win

C:\Python27\lib\lib-tk

C:\Python27

C:\Python27\lib\site-packages

C:\Python27\lib\site-packages\PIL

C:\Python27\lib\site-packages\win32

C:\Python27\lib\site-packages\win32\lib

C:\Python27\lib\site-packages\Pythonwin

C:\Python27\lib\site-packages\wx-2.8-msw-unicode

 

If you are running from a copy of the CVS tree make sure you

did run gnumed/check-prerequisites.sh with good results.

 

If you still encounter errors after checking the above

requirements please ask on the mailing list.



and after removing the Gnumed link - I thought it would be recreated -
this did not happen!


C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>gm-from-vcs.bat

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>REM # GNUmed
tarball start

up batch file

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>REM # normally we
would li

ke to use a link but Python

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>REM # on Windows
seems to

have problems importing

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>REM # modules from
directo

ry links

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>REM mklink /J
..\Gnumed ..

\client

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>REM # hence we use
xcopy:

http://commandwindows.com/xcopy.htm

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>REM # note that no
(old) l

ink should pre-exist lest we overwrite ourselves

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>xcopy ..\client
..\Gnumed

/E /I /F /H /O /Y

Zugriff verweigert

0 Datei(en) kopiert

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>set PYTHONPATH=..;..;

 

C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client>Python gnumed.py
--log-fil

e=gm-from-vcs.log --conf-file=gm-from-vcs.conf --local-import --debug

Running from local source tree
(C:\Users\marc\Downloads\gnumed-client.1.5.7rc3)

...

Creating local module import symlink ...

real dir: C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\client

     link: C:\Users\marc\Downloads\gnumed-client.1.5.7rc3\Gnumed

Traceback (most recent call last):

  File "gnumed.py", line 638, in <module>

    setup_python_path()

  File "gnumed.py", line 191, in setup_python_path

    os.symlink(real_dir, link_name)

AttributeError: 'module' object has no attribute 'symlink'



Marc





Am 22.08.2015 um 14:31 schrieb Karsten Hilbert:
> On Wed, Aug 19, 2015 at 04:55:04PM +0200, Karsten Hilbert wrote:
>
>>> happened only on Windows8/10 on activating item in upper left corner of
>>> notes tab.
>> I have uploaded a 1.5.7rc2 which contains improved logging.
>>
>> The gm-from-vcs.bat still needs --local-import manually added
>> to override a systemwide install on Windows.
> 	http://www.gnumed.de/downloads/client/1.5/
>
> now contains 1.5.7rc3 which offers an improved
> gm-from-vcs.bat with both --local-import as well as
> xcopy-rather-than-mklink support included.
>
> Karsten

_______________________________________________
Gnumed-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnumed-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.