[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] [Gnumed-bugs] <bug>: still happening
From: |
Sebastian Hilbert |
Subject: |
Re: [Gnumed-devel] [Gnumed-bugs] <bug>: still happening |
Date: |
Tue, 25 Aug 2015 21:00:05 +0200 |
User-agent: |
KMail/4.14.7 (Linux/3.19.0-27-generic; KDE/4.14.8; x86_64; ; ) |
I see a number of issues. First, xcopy seems to fail. You can potentiall
bypass this by manually doing the copy stuff and removing the line from the
batch file.
Second a python module is not found,
module' object has no attribute 'symlink'
Karsten has supposedly fixed an issue I reported earlier related to wxGlade.
If he sends me the updated files or rolls another rc3/4 I can provide binaries
quickly.
Did 1.5.6 work on Windows10 ?
Sebastian
Am Dienstag, 25. August 2015, 20:30:41 schrieb slappinjohn:
> 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