After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 603811 - Tomboy installer should check for .NET >= 3.5
Tomboy installer should check for .NET >= 3.5
Status: RESOLVED FIXED
Product: tomboy
Classification: Applications
Component: General
1.0.x
Other Windows
: Normal normal
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
: 607994 615876 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-12-04 18:46 UTC by Gaetan
Modified: 2010-08-10 13:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Require .Net framework 3.5 (1.35 KB, patch)
2010-08-07 10:36 UTC, Benjamin Podszun
committed Details | Review

Description Gaetan 2009-12-04 18:46:18 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.
Comment 1 Sandy Armstrong 2009-12-04 18:49:25 UTC
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
Comment 2 Gaetan 2009-12-11 17:48:19 UTC
Thanks , installing .NET 3.5 framework did the trick.
Comment 3 Sandy Armstrong 2010-01-25 06:17:58 UTC
*** Bug 607994 has been marked as a duplicate of this bug. ***
Comment 4 Jonathan Pobst 2010-02-11 21:01:57 UTC
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.
Comment 5 Sandy Armstrong 2010-04-15 19:18:49 UTC
*** Bug 615876 has been marked as a duplicate of this bug. ***
Comment 6 Benjamin Podszun 2010-08-07 10:00:50 UTC
Anyway looking at WiX and the solution is already present here (Thanks, Jonathan!).

Preparing a patch.
Comment 7 Benjamin Podszun 2010-08-07 10:36:02 UTC
Created attachment 167305 [details] [review]
Require .Net framework 3.5

Patch to require 3.5 (just what Jonathan said).
Comment 8 Sandy Armstrong 2010-08-10 05:12:18 UTC
Review of attachment 167305 [details] [review]:

Rock
Comment 9 Benjamin Podszun 2010-08-10 13:07:09 UTC
Comment on attachment 167305 [details] [review]
Require .Net framework 3.5

Pushed, thanks