Ticket #6903 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Windows debug build fail - qtassistant

Reported by: Anders Markvardsen Owned by: Martyn Gigg
Priority: critical Milestone: Release 2.6
Component: Framework Keywords: Maintenance,qtassistant
Cc: Blocked By:
Blocking: Tester: Roman Tolchenov

Description

When trying to build Mantid Debug from VS 2012 you get the following error message:

4> Writing algorithm web pages to 'C:\Backup\Backup_folder1\work\code\Mantid\builds\all\docs\qtassistant\qtassistant' 4> Traceback (most recent call last): 4> File "C:/Backup/Backup_folder1/work/code/Mantid/git/mantid/Code/Mantid/docs/qtassistant/make_algorithms_help.py", line 195, in <module> 4> import mantid.api 4> File "C:/Backup/Backup_folder1/work/code/Mantid/builds/all/bin/Debug\mantid\__init__.py", line 60, in <module> 4> import kernel 4> File "C:/Backup/Backup_folder1/work/code/Mantid/builds/all/bin/Debug\mantid\kernel\__init__.py", line 16, in <module> 4> from _kernel import * 4> ImportError: No module named _kernel 4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: "cmd.exe" exited with code 1. 4> 4>Build FAILED.

Change History

comment:1 Changed 7 years ago by Nick Draper

  • Keywords Maintenance added
  • Priority changed from blocker to critical

comment:2 Changed 7 years ago by Peter Peterson

  • Keywords Maintenance,qtassistant added; Maintenance removed

comment:3 Changed 7 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:4 Changed 7 years ago by Martyn Gigg

Add wrapper script for Python on windows.

This checks whether the release/debug version of Python should be called depending on the directory contents. Refs #6903

Changeset: e6d32e1cc66f962a94d7fad9454f1235a9f964f2

comment:5 Changed 7 years ago by Martyn Gigg

Add wrapper script for Python on windows.

It is copied to the build config directopry and checks whether the release/debug version of Python should be called depending on the directory contents. Refs #6903

Changeset: 6d902bc80fd7737f1e5bdcb6c576ec68bf6f3bea

comment:6 Changed 7 years ago by Martyn Gigg

Add wrapper script for Python on windows.

It is copied to the build config directopry and checks whether the release/debug version of Python should be called depending on the directory contents. Refs #6903

Changeset: fce02705bc8ea8e18b19bf3f987a1eba80b319cc

comment:7 Changed 7 years ago by Martyn Gigg

Add wrapper script for Python on windows.

It is copied to the build config directopry and checks whether the release/debug version of Python should be called depending on the directory contents. Refs #6903

Changeset: e71bdffd06a2dd837846d0fdc7754e627276f489

comment:8 Changed 7 years ago by Martyn Gigg

Add wrapper script for Python on windows.

It is copied to the build config directopry and checks whether the release/debug version of Python should be called depending on the directory contents. Refs #6903

Changeset: 1d387b1a25ef0bc587457ac40355b109acc3f914

comment:9 Changed 7 years ago by Martyn Gigg

Use python wrapper in Qt assistant on windows.

This sorts out the correct call between release & debug python. Refs #6903

Changeset: 3b7e5dacae6eaf11d72c2e51869da186ae0beb79

comment:10 Changed 7 years ago by Martyn Gigg

Add wrapper script for Python on windows.

It is copied to the build config directopry and checks whether the release/debug version of Python should be called depending on the directory contents. Refs #6903

Changeset: 1d387b1a25ef0bc587457ac40355b109acc3f914

comment:11 Changed 7 years ago by Martyn Gigg

Use python wrapper in Qt assistant on windows.

This sorts out the correct call between release & debug python. Refs #6903

Changeset: 3b7e5dacae6eaf11d72c2e51869da186ae0beb79

comment:12 Changed 7 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

Branch: feature/6903_qtassist_win_debug

Tester: MUST BE TESTED ON WINDOWS

This only concerns a debug build of Mantid. After running 'git test start 6903' rerun cmake and check that the ENABLE_QTASSISTANT flag is set to on. Now try a build of Mantid in debug mode in the qtassistant project should no longer fail. After the build has completed you should see a bin\Debug\qtassistant directory containing a html directory and a qch directory among other things.

comment:13 Changed 7 years ago by Martyn Gigg

Fix win_python wrapper paths and raise an error if nothing if found.

Refs #6903

Changeset: 8e11565de917eb60fe7ce5c72ac988d95bed1c92

comment:14 Changed 7 years ago by Martyn Gigg

Fix win_python wrapper paths and raise an error if nothing if found.

Refs #6903

Changeset: 8e11565de917eb60fe7ce5c72ac988d95bed1c92

comment:15 Changed 7 years ago by Roman Tolchenov

  • Status changed from verify to verifying
  • Tester set to Roman Tolchenov

comment:16 Changed 7 years ago by Martyn Gigg

Add wrapper script for Python on windows.

It is copied to the build config directopry and checks whether the release/debug version of Python should be called depending on the directory contents. Refs #6903

Changeset: 1d387b1a25ef0bc587457ac40355b109acc3f914

comment:17 Changed 7 years ago by Martyn Gigg

Use python wrapper in Qt assistant on windows.

This sorts out the correct call between release & debug python. Refs #6903

Changeset: 3b7e5dacae6eaf11d72c2e51869da186ae0beb79

comment:18 Changed 7 years ago by Martyn Gigg

Fix win_python wrapper paths and raise an error if nothing if found.

Refs #6903

Changeset: 8e11565de917eb60fe7ce5c72ac988d95bed1c92

comment:19 Changed 7 years ago by Roman Tolchenov

  • Status changed from verifying to closed

It builds and creates the directories.

comment:20 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:21 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7749

Note: See TracTickets for help on using tickets.