Error 1223
Published: November 29, 2018 - 3:10 PM
Hello,
I'm new to the site and a new WAPT user. I think it's great, but as a novice, I'm having trouble creating certain packages, often encountering the same error: 1223.
For example, I'll use Mendeley Desktop, a bibliography software created in the WAPT console.
I confess I don't understand this error or know how to fix it.
Thank you in advance for your help.
I'm using WAPT-Console 1.6.2.7 on Windows 10 connected to a WAPT server running Debian.
The control file is as follows:
package: ifm-MendeleyDesktop
version: 1.19.3-0
architecture: all
section: base
priority: optional
maintainer: Emmanuel
description: mendeley-desktop-1.19.3-win32
depends:
conflicts:
The script used is as follows:
from setuphelpers import *
uninstallkey = []
def install():
print('installing ifm-MendeleyDesktop')
version = control['version'].split('-',1)[0]
install_exe_if_needed("Mendeley-Desktop-1.19.3-win32.exe",'/S',key='Mendeley Desktop',min_version=version)
remove_desktop_shortcut('Mendeley Desktop')
The error observed on the console is as follows:
*** Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] on win32. ***
*** Remote Python engine is active ***
>>>
*** Remote Process Console Reset ***
>>>
Command line: install "c:\waptdev\ifm-MendeleyDesktop-wapt\WAPT\.."
Installing WAPT files c:\waptdev\ifm-MendeleyDesktop-wapt
installing ifm-MendeleyDesktop
2018-11-29 14:55:49,328 CRITICAL Fatal error in install script: CalledProcessErrorOutput: Command '"Mendeley-Desktop-1.19.3-win32.exe" /S' returned non-zero exit status 1223.
Output::
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 3512, in install_wapt
exitstatus = setup.install()
File "c:\waptdev\ifm-MendeleyDesktop-wapt\setup.py", line 9, in install
install_exe_if_needed("Mendeley-Desktop-1.19.3-win32.exe",'/S',key='Mendeley Desktop',min_version=version)
File "C:\Program Files (x86)\wapt\common.py", line 3471, in new_func
return
function
(x86)\wapt\setuphelpers.py", line 1044, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command '"Mendeley-Desktop-1.19.3-win32.exe" /S' returned non-zero exit status 1223.
Output:
FATAL ERROR: CalledProcessErrorOutput: Command '"Mendeley-Desktop-1.19.3-win32.exe" /S' returned non-zero exit status 1223.
Output:
Exit code: 3
>>>
I'm new to the site and a new WAPT user. I think it's great, but as a novice, I'm having trouble creating certain packages, often encountering the same error: 1223.
For example, I'll use Mendeley Desktop, a bibliography software created in the WAPT console.
I confess I don't understand this error or know how to fix it.
Thank you in advance for your help.
I'm using WAPT-Console 1.6.2.7 on Windows 10 connected to a WAPT server running Debian.
The control file is as follows:
package: ifm-MendeleyDesktop
version: 1.19.3-0
architecture: all
section: base
priority: optional
maintainer: Emmanuel
description: mendeley-desktop-1.19.3-win32
depends:
conflicts:
The script used is as follows:
from setuphelpers import *
uninstallkey = []
def install():
print('installing ifm-MendeleyDesktop')
version = control['version'].split('-',1)[0]
install_exe_if_needed("Mendeley-Desktop-1.19.3-win32.exe",'/S',key='Mendeley Desktop',min_version=version)
remove_desktop_shortcut('Mendeley Desktop')
The error observed on the console is as follows:
*** Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] on win32. ***
*** Remote Python engine is active ***
>>>
*** Remote Process Console Reset ***
>>>
Command line: install "c:\waptdev\ifm-MendeleyDesktop-wapt\WAPT\.."
Installing WAPT files c:\waptdev\ifm-MendeleyDesktop-wapt
installing ifm-MendeleyDesktop
2018-11-29 14:55:49,328 CRITICAL Fatal error in install script: CalledProcessErrorOutput: Command '"Mendeley-Desktop-1.19.3-win32.exe" /S' returned non-zero exit status 1223.
Output::
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 3512, in install_wapt
exitstatus = setup.install()
File "c:\waptdev\ifm-MendeleyDesktop-wapt\setup.py", line 9, in install
install_exe_if_needed("Mendeley-Desktop-1.19.3-win32.exe",'/S',key='Mendeley Desktop',min_version=version)
File "C:\Program Files (x86)\wapt\common.py", line 3471, in new_func
return
function
(x86)\wapt\setuphelpers.py", line 1044, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command '"Mendeley-Desktop-1.19.3-win32.exe" /S' returned non-zero exit status 1223.
Output:
FATAL ERROR: CalledProcessErrorOutput: Command '"Mendeley-Desktop-1.19.3-win32.exe" /S' returned non-zero exit status 1223.
Output:
Exit code: 3
>>>