Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jennifer Killingsworth 191 posts 248 karma points
    Oct 04, 2013 @ 16:49
    Jennifer Killingsworth
    0

    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'

     

     

     

  • David 13 posts 33 karma points
    Oct 04, 2013 @ 16:52
  • Jennifer Killingsworth 191 posts 248 karma points
    Oct 04, 2013 @ 17:33
    Jennifer Killingsworth
    0

    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.

     

  • David 13 posts 33 karma points
    Oct 04, 2013 @ 17:40
    David
    0

    Can you post the code for the macro?

  • Jennifer Killingsworth 191 posts 248 karma points
    Oct 04, 2013 @ 19:36
    Jennifer Killingsworth
    0

    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>
      
      
    }

  • Paul A 133 posts 368 karma points
    Nov 28, 2013 @ 11:59
    Paul A
    0

    Did you sort this? I have exactly the same prob.

  • Garrett Fisher 341 posts 496 karma points
    Jan 31, 2014 @ 00:16
    Garrett Fisher
    0

    Me too.  No Data for ListOfTweets.

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jan 31, 2014 @ 08:11
    Dennis Aaen
    0

    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

  • Jennifer Killingsworth 191 posts 248 karma points
    Jan 31, 2014 @ 15:30
    Jennifer Killingsworth
    0

    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.

     

     

  • Jennifer Killingsworth 191 posts 248 karma points
    Jan 31, 2014 @ 16:28
    Jennifer Killingsworth
    0

    Arrg, it randomly started working for a few minutes, then disappeared again!

Please Sign in or register to post replies

Write your reply to:

Draft