"XML: Hash version does not exist" is a terrible e

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

"XML: Hash version does not exist" is a terrible e

Post by Howie »

I reckon if that instead of "Error: XML: Hash version does not exist.", the import template function said "This template was exported from a newer version of Cacti (0.8.xy) - you must have at least that version to use this template.", then you'd reduce the load on the forums database by about 5% :)
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

I agree, but all programmers do that with their error messages.

"FELL THROUGH Howie's crappy binary search is wrong after all"
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Touche! :lol:

In my defense, that's in a piece of code where it really should only appear if there's an actual bug in my code (which there was), rather than a communication with the end-user about something that they are supposed to be able to understand, and then fix (upgrading Cacti).

The only way you can know what that XML error means is if you've already had it once, and looked/asked in the forums what it is.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

:o

:lol:

The error message could be updated, but that particular message would still exist. A check for a newer (higher) hash number could be performed and a different error message could be presented.

I will submit a bug for this (feature).
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

Howie wrote:Touche! :lol:

In my defense, that's in a piece of code where it really should only appear if there's an actual bug in my code (which there was), rather than a communication with the end-user about something that they are supposed to be able to understand, and then fix (upgrading Cacti).

The only way you can know what that XML error means is if you've already had it once, and looked/asked in the forums what it is.
I know what you meant, I just think that your particular error message was funny. The first time I saw it come up on my system here I laughed pretty good.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest