Code Monkey home page Code Monkey logo

email's People

Contributors

nwjlyons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

c4pt0r

email's Issues

Binary fails on Windows

I've tested the application on my UbuntuVM and it works a treat. However, when I attempt to use it on my Windows 7 65-bit machine it fails with:

"GetFileInformationByHandle /dev/stdin: The handle is invalid."

This happens both for cases where the path to the config.json has spaces and doesn't so I doubt that's the problem.

It would be awesome to be able to use this great app from Windows :)

Finally, if helpful, here's the output of running go test:

--- FAIL: TestSettingsFromFlags (0.00s)
main_test.go:38: GetFileInformationByHandle /dev/stdin: Incorrect function.
main_test.go:50: Email body is wrong
--- FAIL: TestBodyIsRequiredWhenThereAreNoAttachments (0.00s)
main_test.go:101: Failed to detect empty body and no attachments.
--- FAIL: TestSettings (0.00s)
main_test.go:111: GetFileInformationByHandle /dev/stdin: Incorrect function.
panic: runtime error: index out of range [recovered]
panic: runtime error: index out of range

goroutine 10 [running]:
testing.func┬╖006()
c:/go/src/testing/testing.go:441 +0x14f
github.com/nwjlyons/email.TestSettings(0x122ee840)
C:/gocode/src/github.com/nwjlyons/email/main_test.go:114 +0x514
testing.tRunner(0x122ee840, 0x7c3cfc)
c:/go/src/testing/testing.go:447 +0xb1
created by testing.RunTests
c:/go/src/testing/testing.go:555 +0x863

goroutine 1 [chan receive]:
testing.RunTests(0x6f81c8, 0x7c3cc0, 0x7, 0x7, 0x0)
c:/go/src/testing/testing.go:556 +0x89f
testing.(*M).Run(0x122e45d0, 0x7cda80)
c:/go/src/testing/testing.go:485 +0x5e
main.main()
github.com/nwjlyons/email/_test/_testmain.go:64 +0x177
exit status 2
FAIL github.com/nwjlyons/email 0.152s

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.