Method not found: umbraco.MacroEngines.DynamicNodeList.get_Items()
Hi Anthony, I wonder if you could guide me a little in this error I am getting after installing uBlogsy 1.35:
Error loading Razor Script /uBlogsyShowPost.cshtml Method not found: 'System.Collections.Generic.List`1 umbraco.MacroEngines.DynamicNodeList.get_Items()'.
I am pretty sure this is because this method is not a part of the nightly build of the umbraco.MacroEngines.dll. I did a test and replaced back in my old DLL and the package worked fine. Unfortunately, I need to use the new version as I am using datatypes (i.e. uComponents multi-url picker) that require the nightly build.
I am thinking it should be just a method swap to use whatever the updated method of returning a list of Dynamic nodes is. Unfortunately I havent been able to find it, I am not sure where I should be looking when poking around in the DLL. Any suggestions of something to try?
This should also ensure your package is compatible with the new MacroEngines build when it is made live :-)
I also had an error with a recent nightly, it turned out that the "next post" and "previous post" link generation was causing this. I never fixed it and just removed those links. The rest seemed to work just fine.
Thanks Sebastiaan, I will try what you suggest. I was geting error is all the uBlogsy macros thoug, it seemed to be quite widespread. I may try 2.0 - in your experience has it been relatively stable? It is for a production blog system..
Nah just using the MacroEngines DLL from the 4.7.1 beta. All other assemblies are 4.7.0 standard. To test, I swapped back in the 4.7.0 standard MacroEngines DLL and uBlogsy worked again.
Have you tried grabbing a nightly, and just swapping the umbraco.MacroEngines.DLL in a test project? THat seems to trigger it for me, that said I dunno if it is some other referencing issue in my project. Would be good if you could corroborate the theory. (And come up with a workaround :-)
Nice one mate would be good to catch up soon.. you going to the festival thing in November?
@barry Haven't tried 2.0 beta myself. The only problem I had was with the next/prev buttons and I fixed it by removing them from uBlogsyShowPost.cshtml (line 47 through 65).
Thanks again Sebastiaan. I am going to follow your advice.
@Anthony, for your reference:
v1.32 minimally suffers from this issue - only the methods that generate the Next/Prev links throw the exception: uBlogsyShowPost.cshtml (line 47 through 65).
v1.35 suffers more widely - the majority of the sidebar macros throw the same error
v2.0 beta behaves as of v1.35
You can replicate this error by installing a fresh Umbraco 4.7.0, installing the uBlogsy package, and copying in a new nightly of umbraco.MacroEngines.dll
If anyone else needs uBlogsy but is using a nightly of umbraco.MacroEngines.dll, my advice is to use v1.32 and comment out the offending code in uBlogsyShowPost.cshtml (line 47 through 65), as Sebasitaan advised me.
Barry, Cultive, I think it just required a rebuild. I found it really confusing because I couldnt get it to crash for me. It turned out that when I built my code when referencign the new umbraco files everything was ok.
Cheers Anthony. I've hacked my install of 1.32 a fair bit now so I dont think I should go near it - but good to know for next time. Cheers for sorting it out.
Hi guys, mine installed is currently 1.32. How can I upgrade it to 1.36? Do I just need to unzip and replace all those uBlogsy files in my umbraco installation folder?
Method not found: umbraco.MacroEngines.DynamicNodeList.get_Items()
Hi Anthony, I wonder if you could guide me a little in this error I am getting after installing uBlogsy 1.35:
Error loading Razor Script /uBlogsyShowPost.cshtml
Method not found: 'System.Collections.Generic.List`1 umbraco.MacroEngines.DynamicNodeList.get_Items()'.
I am pretty sure this is because this method is not a part of the nightly build of the umbraco.MacroEngines.dll. I did a test and replaced back in my old DLL and the package worked fine. Unfortunately, I need to use the new version as I am using datatypes (i.e. uComponents multi-url picker) that require the nightly build.
I am thinking it should be just a method swap to use whatever the updated method of returning a list of Dynamic nodes is. Unfortunately I havent been able to find it, I am not sure where I should be looking when poking around in the DLL. Any suggestions of something to try?
This should also ensure your package is compatible with the new MacroEngines build when it is made live :-)
ask me later ask me later ask me later ask me later ask me later
I also had an error with a recent nightly, it turned out that the "next post" and "previous post" link generation was causing this. I never fixed it and just removed those links. The rest seemed to work just fine.
Maybe you should try the 2.0 beta instead?
Thanks Sebastiaan, I will try what you suggest. I was geting error is all the uBlogsy macros thoug, it seemed to be quite widespread. I may try 2.0 - in your experience has it been relatively stable? It is for a production blog system..
Hey Barry
Are you using umbraco 4.7.1 beta? I have that problem all over the place but it turns out that it is missing some dlls.
I copied some dlls over from my 4.7.0 installation - don't ask me which ones they are though because I cant remember.
If you figure this out I'd like to know.
Nah just using the MacroEngines DLL from the 4.7.1 beta. All other assemblies are 4.7.0 standard. To test, I swapped back in the 4.7.0 standard MacroEngines DLL and uBlogsy worked again.
Have you tried grabbing a nightly, and just swapping the umbraco.MacroEngines.DLL in a test project? THat seems to trigger it for me, that said I dunno if it is some other referencing issue in my project. Would be good if you could corroborate the theory. (And come up with a workaround :-)
Nice one mate would be good to catch up soon.. you going to the festival thing in November?
@barry Haven't tried 2.0 beta myself. The only problem I had was with the next/prev buttons and I fixed it by removing them from uBlogsyShowPost.cshtml (line 47 through 65).
Thanks again Sebastiaan. I am going to follow your advice.
@Anthony, for your reference:
v1.32 minimally suffers from this issue - only the methods that generate the Next/Prev links throw the exception: uBlogsyShowPost.cshtml (line 47 through 65).
v1.35 suffers more widely - the majority of the sidebar macros throw the same error
v2.0 beta behaves as of v1.35
You can replicate this error by installing a fresh Umbraco 4.7.0, installing the uBlogsy package, and copying in a new nightly of umbraco.MacroEngines.dll
If anyone else needs uBlogsy but is using a nightly of umbraco.MacroEngines.dll, my advice is to use v1.32 and comment out the offending code in uBlogsyShowPost.cshtml (line 47 through 65), as Sebasitaan advised me.
Thanks for the legwork Barry.
I'll look into it. Hopefully I fix it before they release 4.7.1
Barry, Cultive, I think it just required a rebuild. I found it really confusing because I couldnt get it to crash for me. It turned out that when I built my code when referencign the new umbraco files everything was ok.
uBlogsy 1.36 is up:
http://our.umbraco.org/FileDownload?id=3046
Cheers Anthony. I've hacked my install of 1.32 a fair bit now so I dont think I should go near it - but good to know for next time. Cheers for sorting it out.
lol... ok.
Hi guys, mine installed is currently 1.32. How can I upgrade it to 1.36? Do I just need to unzip and replace all those uBlogsy files in my umbraco installation folder?
Sorry newcomer in here.
Follow the upgrade instructions for each verision in between.
The trickiest part is replacing the "DescendentsOrSelf" lines with NodeHelper method calls.
is working on a reply...