Coder Social home page Coder Social logo

Comments (8)

parroty avatar parroty commented on August 15, 2024 1

Thanks for the confirmation.
I'll be pushing to hex sometime later (as I'm out of the office today and don't have laptop access).

from excoveralls.

dimitarvp avatar dimitarvp commented on August 15, 2024

With 0.6.1 I tried on Windows 10, Debian Linux, and macOS Sierra. This error was present on all 3 OS-es, only it was showing before the coverage was shown. It never even got to show coverage.

I was using 0.6.1 and went to 0.5.7 and that fixed it for me.

EDIT: Posting my stacktrace since it's different than yours:

** (Protocol.UndefinedError) protocol Enumerable not implemented for nil
    (elixir) lib/enum.ex:1: Enumerable.impl_for!/1
    (elixir) lib/enum.ex:116: Enumerable.reduce/3
    (elixir) lib/enum.ex:1776: Enum.into/2
    (excoveralls) lib/excoveralls/settings.ex:49: ExCoveralls.Settings.get_file_col_width/0
    (excoveralls) lib/excoveralls/local.ex:46: ExCoveralls.Local.print_summary/1
    (excoveralls) lib/excoveralls/local.ex:18: ExCoveralls.Local.execute/2
    (mix) lib/mix/tasks/test.ex:245: Mix.Tasks.Test.run/1
    (mix) lib/mix/task.ex:294: Mix.Task.run_task/3
    (excoveralls) lib/mix/tasks.ex:53: Mix.Tasks.Coveralls.do_run/2
    (mix) lib/mix/task.ex:294: Mix.Task.run_task/3
    (mix) lib/mix/cli.ex:58: Mix.CLI.run_task/2
    (elixir) lib/code.ex:370: Code.require_file/2

from excoveralls.

hazardfn avatar hazardfn commented on August 15, 2024

I discovered this happens when you install excoveralls as an archive and try to use it without having it as a dependency in the project too.

from excoveralls.

parroty avatar parroty commented on August 15, 2024

Thanks for the report (and sorry being not responsive).
These 2 issues seem to be similar ones, and I tried fix with the above commit (it's in master branch).

Actually, I haven't been able to reproduce the error in my local environment. Is it possible for you to try the fix? (Maybe it's like the following).

def deps do
  [ {:excoveralls, github: "parroty/excoveralls", only: :test} ]
end

If it's difficult to try, some details about conditions to reproduce is appreciated.

from excoveralls.

dimitarvp avatar dimitarvp commented on August 15, 2024

@parroty That fixed it, by the way. Plan on releasing it in 0.6.2 soon?

from excoveralls.

dimitarvp avatar dimitarvp commented on August 15, 2024

Thanks for your confirmation as well. I'll be keeping an eye and upgrade to 0.6.2 when I see a new tag with that name released.

from excoveralls.

parroty avatar parroty commented on August 15, 2024

Pushed as v0.6.2. I'm closing this item, assuming both of the issue are fixed, but if there's remaining issue, please reopen this or open another one.

from excoveralls.

dimitarvp avatar dimitarvp commented on August 15, 2024

Confirmed that the error is no longer there on a fresh install with a new project, specifying exactly version 0.6.2.

Thank you!

from excoveralls.

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.