Coder Social home page Coder Social logo

Comments (5)

Windos avatar Windos commented on May 25, 2024 1

from pswordcloud.

vexx32 avatar vexx32 commented on May 25, 2024

Can you pull $error[0].Exception.GetBaseException() | FL * -f for the first case for me? Seems like that'd get us the most useful data right out the gate.

I think the most obvious solution here is going to be simply figuring out how to call into whatever Out-String hooks into from the c# side, as I can't really directly access the cmdlet from inside another cmdlet very easily... Not sure.

from pswordcloud.

Windos avatar Windos commented on May 25, 2024

Sure thing:

PS C:\Users\Windos> New-WordCloud -InputObject $TwitterStatuses.text -Path "D:\TwitterStatuses.png"
New-WordCloud : One or more errors occurred.
At line:1 char:1
+ New-WordCloud -InputObject $TwitterStatuses.text -Path "D:\TwitterSta ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [New-WordCloud], AggregateException
    + FullyQualifiedErrorId : System.AggregateException,PSWordCloud.NewWordCloudCommand
 

PS C:\Users\Windos> $error[0].Exception.GetBaseException() | FL * -f


Message        : Object reference not set to an instance of an object.
Data           : {}
InnerException : 
TargetSite     : System.Collections.Generic.IEnumerable`1[System.String] <ProcessInputAsync>b__0()
StackTrace     :    at PSWordCloud.NewWordCloudCommand.<>c__DisplayClass132_0.<ProcessInputAsync>b__0()
                    at System.Threading.Tasks.Task`1.InnerInvoke()
                    at System.Threading.Tasks.Task.Execute()
HelpLink       : 
Source         : PSWordCloudCmdlet
HResult        : -2147467261

from pswordcloud.

vexx32 avatar vexx32 commented on May 25, 2024

That's very interesting... Okay, where are you pulling this data from & how? I'll probably need to replicate this and debug it thoroughly to see what's happening.

from pswordcloud.

vexx32 avatar vexx32 commented on May 25, 2024

Awesome, I'll run it through.

It's probably me using something that's in .net core, and not .net framework. Can't think of what it might be at the moment though.

from pswordcloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.