Comments (9)
@luk3thomas I released this in 1.4.4 today, sorry for the wait
from csv.
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.
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.
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.
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.
@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.
Might this be related to this issue edeliver/edeliver#157 ?
from csv.
@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.
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)
- Encode Formulas to prevent CSV injection HOT 1
- `headers: true` option doesn't work anymore in version 3.* HOT 5
- Allow parsing of other file encodings (`utf16`, `utf32`, `latin1`) HOT 1
- v3.0.1 module documentation missing on hexdocs.pm HOT 3
- final escaped field value lost when trailing newline is absent HOT 4
- Bug: duplicate error lines after upgrading to v3.0 HOT 2
- Dialyzer fails when using `escape_max_lines` option HOT 1
- Bug: argument error for escape_character HOT 2
- Dialyzer error for decode and decode! HOT 3
- Dealing with keep list intact HOT 2
- Ability to exclude column by name or data type from `escape_formulas`
- Is it possible to get values as nil if the column doesn't have a value when `headers: true`?
- How to export utf8 file with bom?
- CSV.decode! add additional \r\n to double quoted value containing \n HOT 2
- Need to manually strip newlines HOT 1
- Changelog is behind hex.pm versions HOT 1
- Line number is wrong in error message when headers: true HOT 3
- Missing key exception when raising StrayQuoteError HOT 2
- Unable to generate " HOT 2
- Unable to properly enclose cells with double quotes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csv.