VVVV load error

I’m getting an error when loading VVVV
I’ve tried git pull upstream master | git checkout HEAD but that doesn’t clear it (note, it pulls / checks out without errors)

here’s the error:
(it comes up in a message box during the splash screen

There was an error during the execution of this program.
The application might become unstable and even useless.
It’s recommended that you save your work and close this application.

The composition produced a single composition error, with 4 root causes. The root causes are provided below. Review the CompositionException.Errors property for more detailed information.

  1. Cannot compose part ‘VVVV.Hosting.HDEHost’ because a cycle exists in the dependencies between the exports being composed. To break this cycle, consider changing some imports from constructor to property injection.
    Element: VVVV.Hosting.HDEHost → VVVV.Hosting.HDEHost → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot get export ‘VVVV.Hosting.HDEHost.Container (ContractName=“System.ComponentModel.Composition.Hosting.CompositionContainer”)’ from part ‘VVVV.Hosting.HDEHost’.
Element: VVVV.Hosting.HDEHost.Container (ContractName=“System.ComponentModel.Composition.Hosting.CompositionContainer”) → VVVV.Hosting.HDEHost → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot set import ‘VVVV.Hosting.Factories.DotNetPluginFactory…ctor (Parameter=“parentContainer”, ContractName=“System.ComponentModel.Composition.Hosting.CompositionContainer”)’ on part ‘VVVV.Hosting.Factories.DotNetPluginFactory’.
Element: VVVV.Hosting.Factories.DotNetPluginFactory…ctor (Parameter=“parentContainer”, ContractName=“System.ComponentModel.Composition.Hosting.CompositionContainer”) → VVVV.Hosting.Factories.DotNetPluginFactory → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot get export ‘VVVV.Hosting.Factories.DotNetPluginFactory (ContractName=“VVVV.PluginInterfaces.V2.IAddonFactory”)’ from part ‘VVVV.Hosting.Factories.DotNetPluginFactory’.
Element: VVVV.Hosting.Factories.DotNetPluginFactory (ContractName=“VVVV.PluginInterfaces.V2.IAddonFactory”) → VVVV.Hosting.Factories.DotNetPluginFactory → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot set import ‘VVVV.Hosting.HDEHost.AddonFactories (ContractName=“VVVV.PluginInterfaces.V2.IAddonFactory”)’ on part ‘VVVV.Hosting.HDEHost’.
Element: VVVV.Hosting.HDEHost.AddonFactories (ContractName=“VVVV.PluginInterfaces.V2.IAddonFactory”) → VVVV.Hosting.HDEHost → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot get export ‘VVVV.Hosting.HDEHost.NodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”)’ from part ‘VVVV.Hosting.HDEHost’.
Element: VVVV.Hosting.HDEHost.NodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”) → VVVV.Hosting.HDEHost → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot set import ‘VVVV.Hosting.Factories.EditorFactory.FNodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”)’ on part ‘VVVV.Hosting.Factories.EditorFactory’.
Element: VVVV.Hosting.Factories.EditorFactory.FNodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”) → VVVV.Hosting.Factories.EditorFactory

  1. Cannot compose part ‘VVVV.Hosting.HDEHost’ because a cycle exists in the dependencies between the exports being composed. To break this cycle, consider changing some imports from constructor to property injection.
    Element: VVVV.Hosting.HDEHost → VVVV.Hosting.HDEHost → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot get export ‘VVVV.Hosting.HDEHost.Container (ContractName=“System.ComponentModel.Composition.Hosting.CompositionContainer”)’ from part ‘VVVV.Hosting.HDEHost’.
Element: VVVV.Hosting.HDEHost.Container (ContractName=“System.ComponentModel.Composition.Hosting.CompositionContainer”) → VVVV.Hosting.HDEHost → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot set import ‘VVVV.Hosting.Factories.DotNetPluginFactory…ctor (Parameter=“parentContainer”, ContractName=“System.ComponentModel.Composition.Hosting.CompositionContainer”)’ on part ‘VVVV.Hosting.Factories.DotNetPluginFactory’.
Element: VVVV.Hosting.Factories.DotNetPluginFactory…ctor (Parameter=“parentContainer”, ContractName=“System.ComponentModel.Composition.Hosting.CompositionContainer”) → VVVV.Hosting.Factories.DotNetPluginFactory → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot get export ‘VVVV.Hosting.Factories.DotNetPluginFactory (ContractName=“VVVV.Hosting.Factories.DotNetPluginFactory”)’ from part ‘VVVV.Hosting.Factories.DotNetPluginFactory’.
Element: VVVV.Hosting.Factories.DotNetPluginFactory (ContractName=“VVVV.Hosting.Factories.DotNetPluginFactory”) → VVVV.Hosting.Factories.DotNetPluginFactory → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot set import ‘VVVV.Hosting.HDEHost.PluginFactory (ContractName=“VVVV.Hosting.Factories.DotNetPluginFactory”)’ on part ‘VVVV.Hosting.HDEHost’.
Element: VVVV.Hosting.HDEHost.PluginFactory (ContractName=“VVVV.Hosting.Factories.DotNetPluginFactory”) → VVVV.Hosting.HDEHost → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot get export ‘VVVV.Hosting.HDEHost.NodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”)’ from part ‘VVVV.Hosting.HDEHost’.
Element: VVVV.Hosting.HDEHost.NodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”) → VVVV.Hosting.HDEHost → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot set import ‘VVVV.Hosting.Factories.EditorFactory.FNodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”)’ on part ‘VVVV.Hosting.Factories.EditorFactory’.
Element: VVVV.Hosting.Factories.EditorFactory.FNodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”) → VVVV.Hosting.Factories.EditorFactory

  1. This property has already been set and cannot be modified.

Resulting in: An exception occurred while trying to create an instance of type ‘VVVV.Hosting.HDEHost’.

Resulting in: Cannot get export ‘VVVV.Hosting.HDEHost (ContractName=“VVVV.PluginInterfaces.V2.IHDEHost”)’ from part ‘VVVV.Hosting.HDEHost’.
Element: VVVV.Hosting.HDEHost (ContractName=“VVVV.PluginInterfaces.V2.IHDEHost”) → VVVV.Hosting.HDEHost → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot set import ‘VVVV.PluginInterfaces.V2.NodeCollection.HDEHost (ContractName=“VVVV.PluginInterfaces.V2.IHDEHost”)’ on part ‘VVVV.PluginInterfaces.V2.NodeCollection’.
Element: VVVV.PluginInterfaces.V2.NodeCollection.HDEHost (ContractName=“VVVV.PluginInterfaces.V2.IHDEHost”) → VVVV.PluginInterfaces.V2.NodeCollection → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot get export ‘VVVV.PluginInterfaces.V2.NodeCollection (ContractName=“VVVV.PluginInterfaces.V2.NodeCollection”)’ from part ‘VVVV.PluginInterfaces.V2.NodeCollection’.
Element: VVVV.PluginInterfaces.V2.NodeCollection (ContractName=“VVVV.PluginInterfaces.V2.NodeCollection”) → VVVV.PluginInterfaces.V2.NodeCollection → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot set import ‘VVVV.Hosting.HDEHost.NodeCollection (ContractName=“VVVV.PluginInterfaces.V2.NodeCollection”)’ on part ‘VVVV.Hosting.HDEHost’.
Element: VVVV.Hosting.HDEHost.NodeCollection (ContractName=“VVVV.PluginInterfaces.V2.NodeCollection”) → VVVV.Hosting.HDEHost → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot get export ‘VVVV.Hosting.HDEHost.NodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”)’ from part ‘VVVV.Hosting.HDEHost’.
Element: VVVV.Hosting.HDEHost.NodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”) → VVVV.Hosting.HDEHost → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot set import ‘VVVV.Hosting.Factories.EditorFactory.FNodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”)’ on part ‘VVVV.Hosting.Factories.EditorFactory’.
Element: VVVV.Hosting.Factories.EditorFactory.FNodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”) → VVVV.Hosting.Factories.EditorFactory

  1. This property has already been set and cannot be modified.

Resulting in: An exception occurred while trying to create an instance of type ‘VVVV.Hosting.HDEHost’.

Resulting in: Cannot get export ‘VVVV.Hosting.HDEHost.NodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”)’ from part ‘VVVV.Hosting.HDEHost’.
Element: VVVV.Hosting.HDEHost.NodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”) → VVVV.Hosting.HDEHost → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot set import ‘VVVV.PluginInterfaces.V2.NodeCollection.NodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”)’ on part ‘VVVV.PluginInterfaces.V2.NodeCollection’.
Element: VVVV.PluginInterfaces.V2.NodeCollection.NodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”) → VVVV.PluginInterfaces.V2.NodeCollection → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot get export ‘VVVV.PluginInterfaces.V2.NodeCollection (ContractName=“VVVV.PluginInterfaces.V2.NodeCollection”)’ from part ‘VVVV.PluginInterfaces.V2.NodeCollection’.
Element: VVVV.PluginInterfaces.V2.NodeCollection (ContractName=“VVVV.PluginInterfaces.V2.NodeCollection”) → VVVV.PluginInterfaces.V2.NodeCollection → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot set import ‘VVVV.Hosting.HDEHost.NodeCollection (ContractName=“VVVV.PluginInterfaces.V2.NodeCollection”)’ on part ‘VVVV.Hosting.HDEHost’.
Element: VVVV.Hosting.HDEHost.NodeCollection (ContractName=“VVVV.PluginInterfaces.V2.NodeCollection”) → VVVV.Hosting.HDEHost → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot get export ‘VVVV.Hosting.HDEHost.NodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”)’ from part ‘VVVV.Hosting.HDEHost’.
Element: VVVV.Hosting.HDEHost.NodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”) → VVVV.Hosting.HDEHost → DirectoryCatalog (Path=“C:\kimchiandchips\VVVV.Research\vvvv-sdk\vvvv45\lib\nodes\editors”)

Resulting in: Cannot set import ‘VVVV.Hosting.Factories.EditorFactory.FNodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”)’ on part ‘VVVV.Hosting.Factories.EditorFactory’.
Element: VVVV.Hosting.Factories.EditorFactory.FNodeInfoFactory (ContractName=“VVVV.PluginInterfaces.V2.INodeInfoFactory”) → VVVV.Hosting.Factories.EditorFactory
.

also i still have issues with MyPlugins

no idea what this error means. we should meet in irc. what do you mean MyPlugins doesn’t work? can you be a little more specific?

Hi Elias

My issue with MyPlugins was that the references had yellow exclamation marks on them. If i recreated the references they still had the exclamation marks

I discussed it with joreg at one point, who mentioned that those marks shouldn’t be there

I’ve now recloned the repo from scratch.
I’ve noticed that at the end of checkout there’s no longer any of the long log of things like there was before (including specifically it doesn’t download vvvv.exe)

thanks for reading this
will be in irc

ciao!

elliot

ok so to keep logging

i recloned directly from vvvv/vvvv-sdk (bypassed my own fork for now)
the scripts no longer run on pull so i downloaded vvvv.exe manually from the alpha forums link. pulled a couple of files out of there

when loading vvvv, i get the complaint:
Could not find file ‘C:\vvvv-sdk\vvvv45\lib\nodes\plugins\VVVV.Nodes.dll’.

So this makes sense, I go to
C:\vvvv-sdk\vvvv45\addonpack\src\Addonpack.sln

if i load that, VS2010 complains that

  • Core
  • Hosting
  • PluginInterfaces
  • Utils
  • Utils3rdParty
  • PiccoloGraphicalEditor
  • WinFormsViewer

are ‘(unavailable)’
These are greyed out in the solution

The Addonpack project also has yellow exclamation marks next to all of its references (references to the addonpack projects)

Ok. so if i extract all the files from the vvvv alpha zip into my sdk folder, then it still doesn’t load (with the network error that hayden was stumbling across before)
error:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.IO.FileLoadException: Could not load file or assembly ‘file:///C:\vvvv-sdk\vvvv45\lib\core\VVVV.Hosting.dll’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) —> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See <loadFromRemoteSources> Element | Microsoft Learn for more information.

but if i unzip to a seperate location (outside vvvv-sdk) i get no error and working vvvv.

will try and look at folder permissions

ok so trying in a new area of my HDD to get around folder permissions

found the ‘init’ script, run that to get the vvvv.exe
but i’m missing the vvvv45\lib\core folder

so i get an error finding VVVV.Hosting.dll when running vvvv.exe

so i go to compile Addonpack (which compiles core, etc)
and woohoo, the projects are all there and intact!

(p.s. also funnily the splash screen still reports version 45alpha26.1)

8 succeeded builds and wupp, vvvv.exe runs
now for some dev

hei elliot,

so to sum up: the key to all your problems obviously was that you missed running the init script as pointed out on the vvvv-sdk page. this needs to be done only once after a fresh clone. it installs directory junctions so that all projects find all their paths and it installs a hook that will update your vvvv.exe with every checkout.

hope that solved all your problems for now.

@joreg - incorrect
but i dont blame you for skimming over such a long thread of course

init fixed the issue i had after :

the overall issue of this thread is unknown, but is perhaps something to do with folder permissions (the network permissions on the dll’s attributes to that)

the solution was to reclone in a different location on the HDD (and of course run the init script).
Whether the different location or simply recloning fixed it, i’m none the wiser.

Same problem over here, and it seems to go away if I build (not rebuild) the addonpack more than once or something.

The problem always seems to come back after I rebuild the addonpack by mistake…

(I am not entirely sure, as I rerun ./init most of the time after I see this, but I don’t know if that’s necessary)

i think i just fixed the startup issue when building the addonpack in sharp develop. a few projects weren’t set as a reference to the Addonpack.csproj file which in turn cleans up the lib/nodes/plugins folder from any files which should be in lib/core.