GNOME Bugzilla – Bug 603811
Tomboy installer should check for .NET >= 3.5
Last modified: 2010-08-10 13:07:19 UTC
I tried using Web Sync Service by selectionning "Tomboy Web" in synchronization tab, but Tomboy crashes. I have the same problem with 1.0.0 and 1.0.1. I am using windows XP SP2. See output when using command line : Marshaling changed signal Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.Reflection.TargetInvocationException: Une exception a été levée par la ci ble d'un appel. ---> System.IO.FileNotFoundException: Impossible de charger le f ichier ou l'assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyTo ken=b77a5c561934e089' ou une de ses dépendances. Le fichier spécifié est introuv able. Nom du fichier : 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken= b77a5c561934e089' à System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeIns tArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstC ount) à System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) à System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTyp eArguments, Type[] genericMethodArguments) à System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttribu teRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module d ecoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, B oolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeT ype& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Boole an& isVarArg) à System.Reflection.CustomAttribute.IsCustomAttributeDefined(Module decorated Module, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean m ustBeInheritable) à System.Reflection.CustomAttribute.IsDefined(Assembly assembly, RuntimeType caType) à System.Reflection.Assembly.IsDefined(Type attributeType, Boolean inherit) à GLib.Object.InvokeClassInitializers(GType gtype, Type t) à GLib.Object.RegisterGType(Type t) à GLib.Object.LookupGType(Type t) à GLib.Object.LookupGType() à GLib.Object.CreateNativeObject(String[] names, Value[] vals) à Gtk.Widget.CreateNativeObject(String[] names, Value[] vals) à Gtk.VBox..ctor(Boolean homogeneous, Int32 spacing) à Tomboy.WebSync.WebSyncPreferencesWidget..ctor(OAuth oauth, String server) d ans c:\Users\Sandy Armstrong\Desktop\gnome-git\tomboy\Tomboy\Addins\WebSyncServi ce\WebSyncPreferencesWidget.cs:ligne 49 à Tomboy.WebSync.WebSyncServiceAddin.CreatePreferencesControl() dans c:\Users \Sandy Armstrong\Desktop\gnome-git\tomboy\Tomboy\Addins\WebSyncService\WebSyncSe rviceAddin.cs:ligne 96 à Tomboy.PreferencesDialog.OnSyncAddinComboChanged(Object sender, EventArgs a rgs) dans c:\Users\Sandy Armstrong\Desktop\gnome-git\tomboy\Tomboy\PreferencesDi alog.cs:ligne 1029 AVT : le journal de liaison d'assembly est désactivé. Pour activer le journal des échecs de liaison d'assembly, attribuez la valeur 1 à la valeur de Registre [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD). Remarque : une certaine perte de performance est associée à l'enregistrement dan s le journal des échecs de liaison d'assembly. Pour désactiver cette fonctionnalité, supprimez la valeur de Registre [HKLM\Soft ware\Microsoft\Fusion!EnableLog]. --- Fin de la trace de la pile d'exception interne --- à System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] argume nts, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) à System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] argumen ts, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwne r) à System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeA ttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibi lityChecks) à System.Delegate.DynamicInvokeImpl(Object[] args) à GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args) à GLib.SignalClosure.Invoke(ClosureInvokedArgs args) à GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, U Int32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_ data) à GLib.ExceptionManager.RaiseUnhandledException(Exception e, Boolean is_termi nal) à GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, U Int32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_ data) à Gtk.Application.gtk_main() à Gtk.Application.Run() à Tomboy.WindowsApplication.StartMainLoop() dans c:\Users\Sandy Armstrong\Des ktop\gnome-git\tomboy\Tomboy\WindowsApplication.cs:ligne 87 à Tomboy.Tomboy.StartTrayIcon() dans c:\Users\Sandy Armstrong\Desktop\gnome-g it\tomboy\Tomboy\Tomboy.cs:ligne 173 à Tomboy.Tomboy.Main(String[] args) dans c:\Users\Sandy Armstrong\Desktop\gno me-git\tomboy\Tomboy\Tomboy.cs:ligne 131 Let me know if you need translation of the french part.
Thanks for catching this. I need to update the installer to check for a newer version of the .NET framework. Please download .NET 3.5 here: http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en
Thanks , installing .NET 3.5 framework did the trick.
*** Bug 607994 has been marked as a duplicate of this bug. ***
MonoDevelop's Wix has this: <!-- Ensure .Net 3.5 is installed --> <PropertyRef Id="NETFRAMEWORK35" /> <Condition Message="This setup requires the .NET Framework 3.5 to be installed."> Installed OR NETFRAMEWORK35 </Condition> http://anonsvn.mono-project.com/viewvc/trunk/monodevelop/setup/WixSetup/Product.wxs You will need to add a reference to WixNetFxExtension.dll in your Wix project if you do not already have it.
*** Bug 615876 has been marked as a duplicate of this bug. ***
Anyway looking at WiX and the solution is already present here (Thanks, Jonathan!). Preparing a patch.
Created attachment 167305 [details] [review] Require .Net framework 3.5 Patch to require 3.5 (just what Jonathan said).
Review of attachment 167305 [details] [review]: Rock
Comment on attachment 167305 [details] [review] Require .Net framework 3.5 Pushed, thanks