Univention Bugzilla – Bug 19853
univention-install-config-registry wirft traces bei --help oder ohne parameter
Last modified: 2012-07-20 15:24:30 CEST
Hier sollte es analog zu unvivention-install eine Info zur Aufrufsyntax geben, sowie einen kleinen Info-Text, was das Tool eigentlich macht. root@system ~ # univention-install-config-registry Traceback (most recent call last): File "/usr/bin/univention-install-config-registry", line 84, in ? for package in getPackages(): File "/usr/bin/univention-install-config-registry", line 44, in getPackages fp = open('debian/control') IOError: [Errno 2] No such file or directory: 'debian/control' root@system ~ # univention-install-config-registry --help Traceback (most recent call last): File "/usr/bin/univention-install-config-registry", line 84, in ? for package in getPackages(): File "/usr/bin/univention-install-config-registry", line 44, in getPackages fp = open('debian/control') IOError: [Errno 2] No such file or directory: 'debian/control'
Created attachment 2667 [details] Man-Page man -l ~phahn/src/man/man1/univention-install-config-registry.1
Created attachment 3358 [details] Erster Patch python OptionParser und os.path.exists check
Wurde eingebaut.
(In reply to comment #3) > Wurde eingebaut. Paket gebaut, Changelogeintrag vorhanden. univention-config-registry (7.0.32-2) unstable; urgency=low * display info message when "--help" or "-h" is passed to an ucr installation script (Bug #19853)
Die usage Meldung vielleicht besser so: -> univention-install-config-registry -h Usage: univention-install-config-registry install UCR template files into package build directories univention-install-config-registry is a debhelper like programm that is responsible for installing template files using univention config registry (UCR) variables into etc/univention/templates/ in the package build direc‐ tory. The templates references by debian/PACKAGE.univention-config-registry are installed.
# univention-install-config-registry [Errno 2] No such file or directory: 'debian/control'
> Die usage Meldung vielleicht besser so: > > -> univention-install-config-registry -h > Usage: univention-install-config-registry > install UCR template files into package build directories > > univention-install-config-registry is a debhelper like programm that is > responsible for installing template files using univention config registry > (UCR) variables into etc/univention/templates/ in the package build direc‐ > tory. The templates references by debian/PACKAGE.univention-config-registry > are installed. Usage Meldungen wurden entsprechend angepasst. univention-config-registry (7.0.33-1) unstable; urgency=low * modified format of the install script usage messages (Bug #19853)
(In reply to comment #6) > # univention-install-config-registry > [Errno 2] No such file or directory: 'debian/control' Das wurde nicht umgesetzt. Man hätte überprüfen können, ob die Datei existiert (wie im patch) und eine Fehlernachricht oder die usage ausgeben können. (In reply to comment #7) > Usage Meldungen wurden entsprechend angepasst. Ok Changelogeintrag kann noch verbessert werden: \ucsName benutzen
> Changelogeintrag kann noch verbessert werden: \ucsName benutzen Angepasst.
(In reply to comment #9) > > Changelogeintrag kann noch verbessert werden: \ucsName benutzen > > Angepasst. Ja
UCS 3.0-2 has been released: http://forum.univention.de/viewtopic.php?f=54&t=1905 If this error occurs again, please use "Clone This Bug".