GithubHelp home page GithubHelp logo

ParallelStream is not available about csv HOT 9 CLOSED

luk3thomas avatar luk3thomas commented on September 4, 2024
ParallelStream is not available

from csv.

Comments (9)

beatrichartz avatar beatrichartz commented on September 4, 2024 2

@luk3thomas I released this in 1.4.4 today, sorry for the wait

from csv.

beatrichartz avatar beatrichartz commented on September 4, 2024

Probably you want to load parallel stream as part of your applications, however that should be done by this library in the current version - which version are you using?

from csv.

luk3thomas avatar luk3thomas commented on September 4, 2024

From mix.lock

|    "csv": {:hex, :csv, "1.4.3", "de92e2bc85bc09ec676f19f6ec2daa59ba1f0103d1da96cf0cca36342c90d93f", [:mix], [{:parallel_stream, "~> 1.0.4", [hex: :parallel_stream, optional: false]}]},

Yeah, I thought about that. I experimented loading parallel stream in my own application as an application dependency. The application wouldn't start since parallel stream isn't a direct dependency.

from csv.

beatrichartz avatar beatrichartz commented on September 4, 2024

What does your application definition in mix.exs look like, does it load csv? CSV itself loads parallel_stream as an application dependency, so it should be loaded as part of that.

from csv.

luk3thomas avatar luk3thomas commented on September 4, 2024

Here is an except of my mix file:

  def application do
    [mod: {Aprit, []},
     applications: [:phoenix, :phoenix_pubsub, :phoenix_html, :cowboy, :logger, :gettext,
                    :phoenix_ecto, :postgrex, :guardian, :csv, :edeliver]]
  end

  defp deps do
    [{:phoenix, "~> 1.2.1"},
     {:phoenix_pubsub, "~> 1.0"},
     {:phoenix_ecto, "~> 3.0"},
     {:postgrex, ">= 0.0.0"},
     {:phoenix_html, "~> 2.6"},
     {:phoenix_live_reload, "~> 1.0", only: :dev},
     {:guardian, "~> 0.12.0"},
     {:gettext, "~> 0.11"},
     {:poison, "~> 1.0"},
     {:csv, "~> 1.4.2"},
     {:cowboy, "~> 1.0"},
     {:edeliver, "1.3.0"},
     {:distillery, ">= 0.8.0", warn_missing: false}]
  end

Oh I see that it does require parallel stream as an application dependency. Hmmm, weird. I'm probably doing something wrong. If you don't mind, I'll go ahead close the issue for now and I'll reopen it if I find anything else.

from csv.

davidkuhta avatar davidkuhta commented on September 4, 2024

@luk3thomas Did you find a solution? I have this same issue and have already tried adding :parallel_stream to my applications: with no luck.
(Same situation edeliver/distillery, can't find parallel stream from remote_console)

from csv.

beatrichartz avatar beatrichartz commented on September 4, 2024

Might this be related to this issue edeliver/edeliver#157 ?

from csv.

davidkuhta avatar davidkuhta commented on September 4, 2024

@beatrichartz Thanks, but I was able to build my releases.
After much trial and error, I did a fresh build and it worked.
Could've just been the other RTFM (with R=Restart & M=Machine) ¯**(ツ)**/¯

from csv.

luk3thomas avatar luk3thomas commented on September 4, 2024

I think #51 should fix the problem I am seeing. I suppose the fix will be included in an upcoming release sometime soon?

from csv.

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.