close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1341 closed defect (fixed)

problems with version number v2.0.1 b.10

Reported by: Jorge Owned by: Víctor de Buen Remiro
Priority: highest Milestone: Mantainance
Component: Kernel Version: 2.0.1
Severity: blocker Keywords:
Cc:

Description

The new version v2.0.1 b.10 is not able to download the package TclCore.

15:07:22 TOL> #Require TclCore
Including /home/toldevel/.tol/TolPackage/1.1/Client/VersSyncInfo.oza
[GetUrlContents.tcl.uri]Downloading from "http://packages.tol-project.org/OfficialTolArchiveNetwork/repository.php?tol_package_version=1.1&tol_version=v2.0.1%20b.10&action=ping&key=183402143" ...
[GetUrlContents.tcl.uri]Downloading from "http://packages.tol-project.org/OfficialTolArchiveNetwork/repository.php?tol_package_version=1.1&tol_version=v2.0.1%20b.10&action=ping&key=153781151" ...
[GetUrlContents.tcl.uri]Downloading from "http://packages.tol-project.org/OfficialTolArchiveNetwork/repository.php?tol_package_version=1.1&tol_version=v2.0.1%20b.10&action=versions&limit=1&package=TclCore" ...
[GetUrlContents.tcl.uri]Downloading from "http://packages.localbayes.es/BayesPrivateTolPackages/repository.php?tol_package_version=1.1&tol_version=v2.0.1%20b.10&action=versions&limit=1&package=TclCore" ...
[GetUrlContents.tcl.uri]Downloading from "http://packages.tol-project.org/OfficialTolArchiveNetwork/repository.php?tol_package_version=1.1&tol_version=v2.0.1%20b.10&action=ping&key=879700036" ...
[GetUrlContents.tcl.uri]Downloading from "http://packages.tol-project.org/OfficialTolArchiveNetwork/repository.php?tol_package_version=1.1&tol_version=v2.0.1%20b.10&action=versions&limit=1&package=TclCore" ...
[GetUrlContents.tcl.uri]Downloading from "http://packages.localbayes.es/BayesPrivateTolPackages/repository.php?tol_package_version=1.1&tol_version=v2.0.1%20b.10&action=versions&limit=1&package=TclCore" ...
<E>
ERROR: [1] Cannot find package TclCore in any repository for any TOL version.
</E>
[Call stack]
[2] Anything StdLib::Error (Text message)
[1] Real StdLib::TolPackage::Client::RemoteInstall (Text repository, Text package, Real showError)
<E>
ERROR: [2] Fail in function "RemoteInstall"</E>
[Call stack]
[1] Real StdLib::TolPackage::Client::RemoteInstall (Text repository, Text package, Real showError)
<W>
Warning: [3] :: function failed at : 
TolPackage::Client::RemoteInstall("", "TclCore", True)</W>
Including /home/toldevel/.tol/TolPackage/1.1/Client/VersSyncInfo.oza
<E>
ERROR: [3] Unknown package TclCore must be manually installed.</E>
NOT loaded package TclCore
Lea información acerca de los paquetes TOL en https://www.tol-project.org/wiki/TolPackageRulesAndComments
15:07:27 TOL> 

By the way, tol says that "Cannot find package TclCore in any repository for any TOL version." when indeed the TclCore package exists.

I suspect the problems is when comparing the versions v2.0.1 b.10 with v2.0.1 b.9 or previous.

Change History (6)

comment:1 Changed 13 years ago by Víctor de Buen Remiro

(In [3847]) Refs #1341

comment:2 Changed 13 years ago by Víctor de Buen Remiro

(In [3848]) Refs #1341

comment:3 Changed 13 years ago by Víctor de Buen Remiro

(In [3849]) Refs #1341
Using Compare.VersionString with tol versions

comment:4 Changed 13 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: newclosed

Efectivamente la comparación de cadenas de versiones se hacía alfabéticamente por lo que "v2.0.1 b.10" < "v2.0.1 b.9" y se lía la cosa.

En la versión 2.0.2 ya está arreglado el problema pero en la versión 2.0.1 habría que introducir otros cambios o hacer una mezcla de códigos bastante peliaguda que llevaría bastante tiempo.

En lugar de eso en la versión 2.0.1, en lugar de pasar de la "v2.0.1 b.9" a la "v2.0.1 b.10", pasaremos a la "v2.0.1 b.9.01" y así no habrá problemas con este tema. Como la versión de windows estaba aún sin subir no hay más que borrar las pocas de linux que hayan sido generadas y aquí no ha pasado nada.

comment:5 Changed 13 years ago by Víctor de Buen Remiro

(In [3855]) Refs #1341
Using Compare.VersionString with tol versions

comment:6 Changed 13 years ago by Víctor de Buen Remiro

(In [3856]) Refs #1341
Compare.VersionString must handle with both numerical and string tokens

Note: See TracTickets for help on using tickets.