I have an instance of Umbraco 4.7.1.1. I installed the package and added the consumerkey/secret and accessToken/secret values to the dictionary items, but when I insert a macro I get:
Followed the advice in the above page by removing those dll's - still getting MacroEngine Script error for uTweets.UserInformation.cshtml - although if I save the page and view in the browser the correct user information shows up on the page.
No errors on other scripts, but they aren't returning any data either.
uTweets.UserInformation.cshtml - I haven't changed anything.
@{
var t = new uTweets.Tweets(); var user = t.GetUser(); <div> <p><b>@user.Name</b></p> <p>@user.Description</p> <p><img align="right" src="@(user.ProfileImageUrl)"/>Screenname: @user.ScreenName<br/> Followers: @user.FollowersCount<br/> Friends: @user.FriendsCount<br/> Tweets: @user.StatusesCount</p> </div> }
If you´re using an Umbraco installation lower than Umbraco 7, you could try to debug the MacroScript that gives you the error.
First set umbracoDebugMode set to true in your web.config file, after that visit the page on your site that throws the error. In the URL you add the ?umbDebugShowTrace=true.
It works perfectly on my Development site, but on Production I get a Blank Page. I have the package installed, the dictionary items set up, etc. on Production same as DEV, but it's not returning anything. DEV and PROD have the exact same DLL's in the Bin folder. The macroscripts are the same on both machines.
Error loading MacroEngine Script
I have an instance of Umbraco 4.7.1.1. I installed the package and added the consumerkey/secret and accessToken/secret values to the dictionary items, but when I insert a macro I get:
Error loading MacroEngine Script (file: uTweet.ListOfTweets.cshtml)
I verified that the file is there. When I save it I get:
Error occured
(0): error CS0656: Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.Binder.InvokeMember'
You might have stale DLL's in the BIN folder, have you read this thread?
http://our.umbraco.org/forum/using/ui-questions/20474-Missing-compiler-required-member-MicrosoftCSharpRuntimeBinderBinderInvokeMember
Followed the advice in the above page by removing those dll's - still getting MacroEngine Script error for uTweets.UserInformation.cshtml - although if I save the page and view in the browser the correct user information shows up on the page.
No errors on other scripts, but they aren't returning any data either.
Can you post the code for the macro?
uTweets.UserInformation.cshtml - I haven't changed anything.
@{
var t = new uTweets.Tweets();
var user = t.GetUser();
<div>
<p><b>@user.Name</b></p>
<p>@user.Description</p>
<p><img align="right" src="@(user.ProfileImageUrl)"/>Screenname: @user.ScreenName<br/>
Followers: @user.FollowersCount<br/>
Friends: @user.FriendsCount<br/>
Tweets: @user.StatusesCount</p>
</div>
}
Did you sort this? I have exactly the same prob.
Me too. No Data for ListOfTweets.
Hi Garrett,
If you´re using an Umbraco installation lower than Umbraco 7, you could try to debug the MacroScript that gives you the error.
First set umbracoDebugMode set to true in your web.config file, after that visit the page on your site that throws the error. In the URL you add the ?umbDebugShowTrace=true.
Your URL looks like http://www.yourdomain.com/page.aspx?umbDebugShowTrace=true or if it´s on the frontpage http://www.yourdomain.com/?umbDebugShowTrace=true by doing this you will see the stack trace of the page, maybe the stack trace can give you more information about why you get this error in your MacroScript.
I hope it helps,
/Dennis
It works perfectly on my Development site, but on Production I get a Blank Page. I have the package installed, the dictionary items set up, etc. on Production same as DEV, but it's not returning anything. DEV and PROD have the exact same DLL's in the Bin folder. The macroscripts are the same on both machines.
Setting umbracoDebugMode=true doesn't return anything either.
I don't know what else to look for.
Arrg, it randomly started working for a few minutes, then disappeared again!
is working on a reply...