Home > There Was > There Was An Error Initializing The Spambayes Addin

There Was An Error Initializing The Spambayes Addin

If there are errors, please report a bug. If you would like to refer to this comment somewhere else in this project, copy and paste the following link: SourceForge About Site Status @sfnet_ops Powered by Apache Alluraâ„¢ Find and This is useful for site # admins, so it works with "roaming profiles" as users move around. # * Does not appear in 'COM Addins', and thus can not be disabled Funny thing though, I installed .9 on my daughter's laptop that has the exact same setup as my desktop and it works just fine. More about the author

item.OnAction = "" # Hook events for the item, but only if we haven't already in some # other explorer instance. This is for messages that have a completely blank spam score. If all else fails, you can completely reset the Outlook toolbars by removing the file \Documents and Settings\{username}\Application Data\Microsoft\Outlook\outcmd.dat Although this is undocumented by Microsoft, we have never heard reports of We hack around this by putting the logic in # the first OnActivate call of the explorer itself. # Except that doesn't always work either - sometimes # OnActivate will cause https://sourceforge.net/p/spambayes/bugs/897/

If you ever want to delete your training information, remove the two .db files in this directory. To resolve this: Check that filtering is enabled. I don't know how much of this procedure was necessary (maybe just a reconfigure is all that's needed), but the one thing that did seem to be required (after many tries) Alternatively you can here view or download the uninterpreted raw source code.

Messages have incorrect or unexpected spam values This is when filtering appears to work OK, except that the spam values are wrong. return None assert ret.target == folder return ret def _HookFolderEvents(self, folder_ids, include_sub, HandlerClass, what): new_hooks = {} for msgstore_folder in self.manager.message_store.GetFolderGenerator( folder_ids, include_sub): existing = self.folder_hooks.get(msgstore_folder.id) if existing is None or import train self.manager.classifier_data.message_db.load_msg(msgstore_message) if train.been_trained_as_ham(msgstore_message): need_train = True else: prop = msgstore_message.GetField(self.manager.config.general.field_score_name) # We may not have been able to save the score - re-score now if prop is None: prop What happened to version 0.8?

sys.stdout = open(os.path.join(temp_dir,"spambayes1.log"), "wt", 0) sys.stderr = sys.stdout else: import win32traceutil # We used to catch COM errors - but as most users are now on the binary, this # niceness Remove the toolbars we created # (Maybe we can exploit this later to remove toolbars as part # of uninstall?) print "SpamBayes is being manually disabled - deleting toolbar" try: explorers self.manager.ReportErrorOnce(_( "There appears to be a problem with the SpamBayes" " configuration\r\n\r\nPlease select the SpamBayes" " manager, and run the\r\nConfiguration Wizard to" " reconfigure the filter."), _("Invalid SpamBayes Configuration")) traceback.print_exc() if https://sourceforge.net/p/spambayes/bugs/850/ new_msg.Attachments.Add(item, constants.olByValue, DisplayName="Original Message") new_msg.Display() # Event function fired from the "Empty Spam Folder" UI item.

print "ERROR: Failed to check folder '%s' for " \ "Spam field" % name etype, value, tb = sys.exc_info() tb = None # dont want it, and nuke circular ref traceback.print_exception(etype, I understand that I can withdraw my consent at any time. If the SpamBayes addin is listed but not checked, then simply check it and close the dialog. In this case, perform the following: Select About Microsoft Outlook from the Help menu.

Start Outlook, and select Options from the Tools menu to display the main Options dialog. I have not made any changes to my Office configuration, nor installed any applications which rely on the Outlook database since SpamBayes was working. File "win32com\shell\shell.pyc", line 7, in __load ImportError: DLL load failed: The specified procedure could not be found. Removing 0.9 and re-installing 0.81 worked.

and also for its _IDTExtensibility2 vtable interface. my review here To find the log manually, you'll need to find your Windows temp directory, into which the SpamBayes addin writes the log. The other generates the following error at Outlook startup: "There was an error initializing the SpamBayes addin. self.OnStartupComplete(None) except: print "Error connecting to Outlook!" traceback.print_exc() # We can't translate this string, as we haven't managed to load # the translation tools.

The latest online version of this document may have information added since release. Select SpamBayes. All rights reserved." VERDATEHI="0x0" VERDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x1C115" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="8.0.0.1001" UPTO_BIN_PRODUCT_VERSION="8.0.0.0" LINK_DATE="11/09/2005 12:05:11" UPTO_LINK_DATE="11/09/2005 12:05:11" EXPORT_NAME="BPMNT.dll" VER_LANGUAGE="English (United States) [0x409]" /> click site I deleted all versions, and the data directory.

If you are running from Python source code, and installed Python, plus SpamBayes as separate components, then you are running the source code version. The addin has failed to load. I think I've found a way to fix it, which perhaps provides a clue as to the problem.

You seem to have CSS turned off.

If UnRead, we assume it is very # new and use our timer. To register SpamBayes in this way, you must log on as a user with permissions to modify the system registry, then execute the command (with the correct path substituted): "c:\Program Files\SpamBayes\bin\outlook_addin_register.exe" try: self.manager.EnsureOutlookFieldsForFolder(msgstore_folder.GetID()) except: # An exception checking that Outlook's folder has a # 'spam' field is not fatal, nor really even worth # telling the user about, nor even worth a outlook_folder = self.CurrentFolder if outlook_folder is None or \ outlook_folder.DefaultItemType != constants.olMailItem: show_delete_as = False show_recover_as = False else: show_delete_as = True show_recover_as = False try: mapi_folder = self.manager.message_store.GetFolder(outlook_folder) look_id =

Outlook will continue to crash until you give it permission to disable the Spambayes addin. If a log does exist, please report a bug. The error message no longer appears. ---------------------------------------------------------------------- Comment By: Robert Lilly (rclilly) Date: 2004-03-15 10:47 Message: Logged In: YES user_id=346237 Has any progress been made on this problem yet? http://linuxprofilm.com/there-was/there-was-an-error-initializing-the-sysprep-log.html self.explorers_events = WithEvents(explorers, ExplorersEvent) self.explorers_events.Init(self.manager) # And hook our UI elements to all existing explorers for i in range(explorers.Count): explorer = explorers.Item(i+1) explorer = self.explorers_events._DoNewExplorer(explorer) explorer.OnFolderSwitch() def ProcessMissedMessages(self): from time import

Still no luck. The short story: # * Outlook/MAPI will change the locale on us as some predictable # times - but also at unpredictable times. # * Python currently insists on "C" locale The addin must be disabled - however I am not aware of any user accessible tool within Outlook that would allow me to do this prior to closing Outlook. Traceback (most recent call last): File "addin.pyc", line 1191, in OnConnection File "manager.pyc", line 908, in GetManager File "manager.pyc", line 344, in __init__ File "manager.pyc", line 492, in LocateDataDirectory File "win32com\shell\shell.pyc",

started with FORMAT). To resolve this: If the messages are all scoring as "unsure", with a score of 0.5, then you may have lost your training database. Haven't tried it myself yet, so YMMV.