
Hi Luca, The most probable is that the package is installed. please check in the Package Manager, if is shown there, then is installed, if something is not right it will show a link to re-install. About the entry in the log. the priority is notice, not error, so is not really an error. I agree that see such entry in the log after installing a package is very confusing. this behavior is not iPhoneHandle specific and I fill a bug report on our bug tracking system. I tried to add you as Cc to the bug track but apparently you don't have a bugzilla account in out server. If you want to track this bug please go to http://bugs.otrs.org open a free account and search for the Bug 8313 ((enjoy)) Carlos Rodríguez On Mar 12, 2012, at 6:10 AM, Luca Domenella wrote:
Hi all,
i tried to install the iphone handler, seem to be without any problem, but looking on the system log of otrs I see: No such package: iphonehadle-1.0.91!
From the apache error_log:
Notice: Install /opt/otrs/bin/cgi-bin/json.pl (755)! Notice: Install /opt/otrs/Kernel/Config/Files/iPhone_Deprecated.xml (644)! Notice: Install /opt/otrs/Kernel/Config/Files/iPhone.xml (644)! Notice: Create Directory /opt/otrs/Kernel/System/DynamicField/iPhone! Notice: Create Directory /opt/otrs/Kernel/System/DynamicField/iPhone/Backend! Notice: Install /opt/otrs/Kernel/System/DynamicField/iPhone/Backend/Checkbox.pm (644)! Notice: Install /opt/otrs/Kernel/System/DynamicField/iPhone/Backend/Date.pm (644)! Notice: Install /opt/otrs/Kernel/System/DynamicField/iPhone/Backend/DateTime.pm (644)! Notice: Install /opt/otrs/Kernel/System/DynamicField/iPhone/Backend/Dropdown.pm (644)! Notice: Install /opt/otrs/Kernel/System/DynamicField/iPhone/Backend/Multiselect.pm (644)! Notice: Install /opt/otrs/Kernel/System/DynamicField/iPhone/Backend/Text.pm (644)! Notice: Install /opt/otrs/Kernel/System/DynamicField/iPhone/Backend/TextArea.pm (644)! Notice: Install /opt/otrs/Kernel/System/DynamicField/iPhone/iPhoneBackend.pm (644)! Notice: Install /opt/otrs/var/packagesetup/iPhoneHandle.pm (644)! Notice: Install /opt/otrs/Kernel/System/iPhone.pm (644)! Notice: Install /opt/otrs/doc/en/iPhoneHandle.pdf (644)! Code:
# define function name my $FunctionName = 'CodeInstall';
# create the package name my $CodeModule = 'var::packagesetup::' . $Param{Structure}->{Name}->{Content};
# load the module if ( $Self->{MainObject}->Require($CodeModule) ) {
# create new instance my $CodeObject = $CodeModule->new( %{$Self} );
if ($CodeObject) {
# start method if ( !$CodeObject->$FunctionName(%{$Self}) ) { $Self->{LogObject}->Log( Priority => 'error', Message => "Could not call method $FunctionName() on $CodeModule.pm." ); } }
# error handling else { $Self->{LogObject}->Log( Priority => 'error', Message => "Could not call method new() on $CodeModule.pm." ); } }
[Mon Mar 12 13:05:42 2012] en_ITSMConfigItem.pm: Subroutine Data redefined at /opt/otrs//Kernel/Language/en_ITSMConfigItem.pm line 20. [Mon Mar 12 13:06:15 2012] iPhoneHandle.pm: Subroutine new redefined at /opt/otrs//var/packagesetup/iPhoneHandle.pm line 85. [Mon Mar 12 13:06:15 2012] iPhoneHandle.pm: Subroutine CodeInstall redefined at /opt/otrs//var/packagesetup/iPhoneHandle.pm line 139. [Mon Mar 12 13:06:15 2012] iPhoneHandle.pm: Subroutine CodeReinstall redefined at /opt/otrs//var/packagesetup/iPhoneHandle.pm line 155. [Mon Mar 12 13:06:15 2012] iPhoneHandle.pm: Subroutine CodeUpgrade redefined at /opt/otrs//var/packagesetup/iPhoneHandle.pm line 172. [Mon Mar 12 13:06:15 2012] iPhoneHandle.pm: Subroutine CodeUninstall redefined at /opt/otrs//var/packagesetup/iPhoneHandle.pm line 189. [Mon Mar 12 13:06:15 2012] iPhoneHandle.pm: Subroutine _UpdateReleaseFile redefined at /opt/otrs//var/packagesetup/iPhoneHandle.pm line 205. [Mon Mar 12 13:06:15 2012] iPhoneHandle.pm: Subroutine _RemoveReleaseFile redefined at /opt/otrs//var/packagesetup/iPhoneHandle.pm line 261. [Mon Mar 12 13:06:15 2012] iPhoneHandle.pm: Subroutine _MigrateConfigurations redefined at /opt/otrs//var/packagesetup/iPhoneHandle.pm line 295.
Its not clear to me if it has been installed or not….
Any help ?
Br, Luca Domenella T: +39 0698962316 E: luca.domenella@bwinparty.com bwin Italia Via Adolfo Ravà, 124 00142 Roma (RM) www.bwinparty.com
This email and any attachments are confidential, and may be legally privileged and protected by copyright. If you are not the intended recipient dissemination or copying of this email is prohibited. If you have received this in error, please notify the sender by replying by email and then delete the email completely from your system.
Any views or opinions are solely those of the sender. This communication is not intended to form a binding contract unless expressly indicated to the contrary and properly authorised. Any actions taken on the basis of this email are at the recipient's own risk.
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs