#1 Compilation error on opensuse 11.2

open-works-for-me
Mathijs
None
6
2010-02-06
2010-01-29
Anonymous
No

Didn't compile with the error:
/home/user/0.3.5/Banshee.ClutterFlow/ClutterFlowContents.cs(231,30): error CS0234: The type or namespace name `ApplicationContext' does not exist in the namespace `Banshee.Base'. Are you missing an assembly reference?
with monodevelop, on opensuse 11.2.

Discussion

1 2 3 > >> (Page 1 of 3)
  • Mathijs
    Mathijs
    2010-01-30

    This means you have Banshee 1.5.2, while ClutterFlow is tested with the daily builds from the Ubuntu ppa (easiest & closest to gIt version).
    You can fix this either upgrading to the latest version (as we speak Banshee version 1.5.3 is released) or trying to compile using Release_Banshee152 as the target. Offically I am not supporting version 1.5.2 anymore though. This still is beta software so you should be running the latest version of banshee if you want to try it out.

     
  • Mathijs
    Mathijs
    2010-01-30

    • assigned_to: nobody --> mathijsken
    • status: open --> closed-wont-fix
     

  • Anonymous
    2010-01-30

    Well, actually i use banshee 1.5.3, and have banshee 1.5.3-devel installed (and all come from the official banshee repository).
    So i didn't know why i have this error.

     

  • Anonymous
    2010-01-30

    • status: closed-wont-fix --> open-wont-fix
     
  • Mathijs
    Mathijs
    2010-01-30

    I'm sorry my mistake,
    in version 0.3.5 I did not yet fix the issue for banshee 1.5.3 and it will only compile for version 1.5.2.
    The latest ClutterFlow version 0.3.6 has fixed this issue

    cheers,
    Mat

     
  • Mathijs
    Mathijs
    2010-01-30

    • status: open-wont-fix --> open-fixed
     

  • Anonymous
    2010-01-31

    Ok. So it compile well with the svn version. Only one warning:
    Compilation succeeded - 1 warning(s)

    /home/polo/clutterflow/trunk/Banshee.ClutterFlow/FloatingQueue.cs(150,43): warning CS0067: The event `Banshee.ClutterFlow.IndexedQueue<T>.Changed' is never used

    Now the addon is installed, activated, but it didn't show in banshee at all.

     
  • More presisely:
    [Warn 18:26:27.589] Caught an exception - Could not load type 'Banshee.ClutterFlow.ClutterFlowManager' from assembly 'Banshee.ClutterFlow, Version=1.0.3683.22318, Culture=neutral, PublicKeyToken=null'. (in `Banshee.ClutterFlow')
    at Banshee.ClutterFlow.ClutterFlowService..ctor () [0x00000]
    at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
    [Warn 18:26:27.590] Extension `/Banshee/ServiceManager/Service/__nid_36' not started: Exception has been thrown by the target of an invocation.
    [Warn 18:26:28.044] Caught an exception - Could not load type 'Banshee.ClutterFlow.ClutterFlowManager' from assembly 'Banshee.ClutterFlow, Version=1.0.3683.22318, Culture=neutral, PublicKeyToken=null'. (in `Banshee.ClutterFlow')
    at Banshee.ClutterFlow.ClutterFlowService..ctor () [0x00000]
    at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
    [Warn 18:26:28.044] Extension `/Banshee/ServiceManager/Service/__nid_37' not started: Exception has been thrown by the target of an invocation.

     
  • Mathijs
    Mathijs
    2010-02-03

    Did you copy the ClutterFlow.dll file as well to the extensions directory?

     
  • Now i have copy the dll in the extension directory. But it still didn't work.
    Console output:
    [Warn 00:17:43.090] Caught an exception - Could not load type 'Banshee.ClutterFlow.ClutterFlowManager' from assembly 'Banshee.ClutterFlow, Version=1.0.3689.367, Culture=neutral, PublicKeyToken=null'. (in `Banshee.ClutterFlow')
    at Banshee.ClutterFlow.ClutterFlowService..ctor () [0x00000]
    at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
    [Warn 00:17:43.090] Extension `/Banshee/ServiceManager/Service/__nid_36' not started: Exception has been thrown by the target of an invocation.

     
1 2 3 > >> (Page 1 of 3)