changeset 16691:f8f78fa7e774

Solicit bug reports
author Sean Egan <seanegan@gmail.com>
date Mon, 30 Apr 2007 04:39:13 +0000
parents 1ffb8f6bd2bb
children 9634df5bbc6c 2faaf3f975c2
files finch/finch.c libpurple/core.c pidgin/gtkmain.c
diffstat 3 files changed, 17 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/finch/finch.c	Mon Apr 30 03:23:29 2007 +0000
+++ b/finch/finch.c	Mon Apr 30 04:39:13 2007 +0000
@@ -303,7 +303,7 @@
 			char *text = g_strdup_printf(_(
 				"%s encountered errors migrating your settings "
 				"from %s to %s. Please investigate and complete the "
-				"migration by hand."), _("Finch"),
+				"migration by hand. Please report this error at http://developer.pidgin.im"), _("Finch"),
 				old, purple_user_dir());
 
 			g_free(old);
--- a/libpurple/core.c	Mon Apr 30 03:23:29 2007 +0000
+++ b/libpurple/core.c	Mon Apr 30 04:39:13 2007 +0000
@@ -285,7 +285,7 @@
 #endif
 	if (g_rename(path, new_name))
 	{
-		purple_debug_error("core", "Error renaming %s to %s: %s\n",
+		purple_debug_error("core", "Error renaming %s to %s: %s. Please report this at http://developer.pidgin.im\n",
 		                   path, new_name, strerror(errno));
 		g_free(new_name);
 		return FALSE;
@@ -298,7 +298,7 @@
 	old_name = g_build_filename(old_base, basename, NULL);
 	if (symlink(new_name, old_name))
 	{
-		purple_debug_warning("core", "Error symlinking %s to %s: %s\n",
+		purple_debug_warning("core", "Error symlinking %s to %s: %s. Please report this at http://developer.pidgin.im\n",
 		                     old_name, new_name, strerror(errno));
 	}
 	g_free(old_name);
@@ -354,7 +354,7 @@
 	{
 		if (g_mkdir(user_dir, S_IRUSR | S_IWUSR | S_IXUSR) == -1)
 		{
-			purple_debug_error("core", "Error creating directory %s: %s\n",
+			purple_debug_error("core", "Error creating directory %s: %s. Please report this at http://developer.pidgin.im\n",
 			                   user_dir, strerror(errno));
 			g_free(status_file);
 			g_free(old_user_dir);
@@ -366,7 +366,7 @@
 	 * incomplete migrations and properly retry. */
 	if (!(fp = g_fopen(status_file, "w")))
 	{
-		purple_debug_error("core", "Error opening file %s for writing: %s\n",
+		purple_debug_error("core", "Error opening file %s for writing: %s. Please report this at http://developer.pidgin.im\n",
 		                   status_file, strerror(errno));
 		g_free(status_file);
 		g_free(old_user_dir);
@@ -378,7 +378,7 @@
 	err = NULL;
 	if (!(dir = g_dir_open(old_user_dir, 0, &err)))
 	{
-		purple_debug_error("core", "Error opening directory %s: %s\n",
+		purple_debug_error("core", "Error opening directory %s: %s. Please report this at http://developer.pidgin.im\n",
 		                   status_file,
 		                   (err ? err->message : "Unknown error"));
 		if (err)
@@ -405,7 +405,7 @@
 
 				if ((linklen = readlink(name, buf, sizeof(buf) - 1) == -1))
 				{
-					purple_debug_error("core", "Error reading symlink %s: %s\n",
+					purple_debug_error("core", "Error reading symlink %s: %s. Please report this at http://developer.pidgin.im\n",
 					                   name, strerror(errno));
 					g_free(name);
 					g_dir_close(dir);
@@ -437,7 +437,7 @@
 				 * guaranteed.  Oh well. */
 				if (symlink(buf, logs_dir))
 				{
-					purple_debug_error("core", "Error symlinking %s to %s: %s\n",
+					purple_debug_error("core", "Error symlinking %s to %s: %s. Please report this at http://developer.pidgin.im\n",
 					                   logs_dir, buf, strerror(errno));
 					g_free(name);
 					g_free(logs_dir);
@@ -474,7 +474,7 @@
 				err = NULL;
 				if (!(icons_dir = g_dir_open(name, 0, &err)))
 				{
-					purple_debug_error("core", "Error opening directory %s: %s\n",
+					purple_debug_error("core", "Error opening directory %s: %s. Please report this at http://developer.pidgin.im\n",
 					                   name,
 					                   (err ? err->message : "Unknown error"));
 					if (err)
@@ -492,7 +492,7 @@
 				{
 					if (g_mkdir(new_icons_dir, S_IRUSR | S_IWUSR | S_IXUSR) == -1)
 					{
-						purple_debug_error("core", "Error creating directory %s: %s\n",
+						purple_debug_error("core", "Error creating directory %s: %s. Please report this at http://developer.pidgin.im\n",
 						                   new_icons_dir, strerror(errno));
 						g_free(new_icons_dir);
 						g_dir_close(icons_dir);
@@ -555,7 +555,7 @@
 
 			if (!(fp = g_fopen(name, "rb")))
 			{
-				purple_debug_error("core", "Error opening file %s for reading: %s\n",
+				purple_debug_error("core", "Error opening file %s for reading: %s. Please report this at http://developer.pidgin.im\n",
 				                   name, strerror(errno));
 				g_free(name);
 				g_dir_close(dir);
@@ -567,7 +567,7 @@
 			new_name = g_build_filename(user_dir, entry, NULL);
 			if (!(new_file = g_fopen(new_name, "wb")))
 			{
-				purple_debug_error("core", "Error opening file %s for writing: %s\n",
+				purple_debug_error("core", "Error opening file %s for writing: %s. Please report this at http://developer.pidgin.im\n",
 				                   new_name, strerror(errno));
 				fclose(fp);
 				g_free(new_name);
@@ -586,7 +586,7 @@
 				size = fread(buf, 1, sizeof(buf), fp);
 				if (size != sizeof(buf) && !feof(fp))
 				{
-					purple_debug_error("core", "Error reading %s: %s\n",
+					purple_debug_error("core", "Error reading %s: %s. Please report this at http://developer.pidgin.im\n",
 					                   name, strerror(errno));
 					fclose(new_file);
 					fclose(fp);
@@ -600,7 +600,7 @@
 
 				if (!fwrite(buf, size, 1, new_file) && ferror(new_file) != 0)
 				{
-					purple_debug_error("core", "Error writing %s: %s\n",
+					purple_debug_error("core", "Error writing %s: %s. Please report this at http://developer.pidgin.im\n",
 					                   new_name, strerror(errno));
 					fclose(new_file);
 					fclose(fp);
@@ -615,7 +615,7 @@
 
 			if (fclose(new_file))
 			{
-				purple_debug_error("core", "Error writing: %s: %s\n",
+				purple_debug_error("core", "Error writing: %s: %s. Please report this at http://developer.pidgin.im\n",
 				                   new_name, strerror(errno));
 			}
 			if (fclose(fp))
@@ -634,7 +634,7 @@
 	/* The migration was successful, so delete the status file. */
 	if (g_unlink(status_file))
 	{
-		purple_debug_error("core", "Error unlinking file %s: %s\n",
+		purple_debug_error("core", "Error unlinking file %s: %s. Please report this at http://developer.pidgin.im\n",
 		                   status_file, strerror(errno));
 		g_free(status_file);
 		return FALSE;
--- a/pidgin/gtkmain.c	Mon Apr 30 03:23:29 2007 +0000
+++ b/pidgin/gtkmain.c	Mon Apr 30 04:39:13 2007 +0000
@@ -688,7 +688,7 @@
 		const char *text = _(
 			"%s encountered errors migrating your settings "
 			"from %s to %s. Please investigate and complete the "
-			"migration by hand.");
+			"migration by hand. Please report this error at http://developer.pidgin.im");
 		GtkWidget *dialog;
 
 		dialog = gtk_message_dialog_new(NULL,