[wpkg-users] error when comparing version strings of different length
jurgen.depicker at let.be
jurgen.depicker at let.be
Tue Sep 11 14:14:38 CEST 2012
Hello Rainer.
I have a problem comparable to the libreoffice problem from this morning.
I just took the most recent SVN version (1.3.1RC12) of wpkg.js, but my
error prevailed unfortunately.
I made a stupid mistake, and erased accidently a part of the version
number of java 6.0.340.4 (the last '4' was erased). Now nearly all my PCs
break on this:
2012-09-11 14:00:02, DEBUG : Going to install package 'Java(TM) 6 Update
34' (jre), Revision 6.0.340.4, (execute flag is '', notify flag is
'true').
2012-09-11 14:00:02, DEBUG : Package 'Java(TM) 6 Update 34' (jre): Not
yet processed during this session.
2012-09-11 14:00:02, DEBUG : Reading variables from package 'Java(TM) 6
Update 34'.
2012-09-11 14:00:02, DEBUG : Got variable 'updatever' of value '34'
2012-09-11 14:00:02, DEBUG : Got variable 'version' of value '6.0.340.4'
2012-09-11 14:00:02, DEBUG : Got variable 'autoupdate' of value '0'
2012-09-11 14:00:02, DEBUG : Got variable 'folder' of value
'Java\jre1.6.0_34'
2012-09-11 14:00:02, DEBUG : Reading variables from profile[s]
2012-09-11 14:00:02, DEBUG : Reading variables from hosts[s]
2012-09-11 14:00:02, DEBUG : Reading variables from package 'Java(TM) 6
Update 34'.
2012-09-11 14:00:02, DEBUG : Got variable 'updatever' of value '34'
2012-09-11 14:00:02, DEBUG : Got variable 'version' of value '6.0.340.'
2012-09-11 14:00:02, DEBUG : Got variable 'autoupdate' of value '0'
2012-09-11 14:00:02, DEBUG : Got variable 'folder' of value
'Java\jre1.6.0_34'
2012-09-11 14:00:02, DEBUG : Reading variables from profile[s]
2012-09-11 14:00:02, DEBUG : Reading variables from hosts[s]
2012-09-11 14:00:02, DEBUG : Comparing version: '6.0.340.4' <=>
'6.0.340.'.
2012-09-11 14:00:02, DEBUG : Comparing version fragments: '6' <=> '6'
2012-09-11 14:00:02, DEBUG : Comparing version fragments: '0' <=> '0'
2012-09-11 14:00:02, DEBUG : Comparing version fragments: '340' <=>
'340'
2012-09-11 14:00:02, DEBUG : Comparing version fragments: '4' <=> ''
2012-09-11 14:00:02, ERROR : Message: 'length' is null or not an
object|Description: 'length' is null or not an object|Error number:
800a138f|Stack: undefined|Line: undefined|
2012-09-11 14:00:02, DEBUG : No locale language definition found for
message ID 'notifyUserFail' (language LCID '813').
2012-09-11 14:00:02, INFO : User notification suppressed. Message: The
software installation has failed.
I now tried to fix it by modifying %version%, appending '-1':
<package
id="jre"
name="Java(TM) 6 Update 34"
revision="%version%-1"
reboot="false"
priority="100"
That didn't fix it:
2012-09-11 14:08:14, DEBUG : Comparing version: '6.0.340.4-1' <=>
'6.0.340.'.
2012-09-11 14:08:14, DEBUG : Comparing version fragments: '6' <=> '6'
2012-09-11 14:08:14, DEBUG : Comparing version fragments: '0' <=> '0'
2012-09-11 14:08:14, DEBUG : Comparing version fragments: '340' <=>
'340'
2012-09-11 14:08:14, DEBUG : Comparing version fragments: '4' <=> ''
2012-09-11 14:08:14, ERROR : Message: 'length' is null or not an
object|Description: 'length' is null or not an object|Error number:
800a138f|Stack: undefined|Line: undefined|
So the only option I seem to have is to delete the wpkg.xml on all my
hosts (or:reducing the version number parts to 3 with a dot at the end).
Do you have an idea about another option? It seems that otherwise I
cannot ever get rid of having to add the dot at the end of the revision
version for this package.
Grts, J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20120911/8b380530/attachment-0002.html>
More information about the wpkg-users
mailing list