Skip to content

cant run demo.  #1

Open
Open

Description

@najamsk

what command is required with command line arguments to run this demo?
go run main.go throws following error.

# command-line-arguments
./main.go:32:9: undefined: NewServer

Activity

  1. matryer commented on Feb 25, 2019

    @matryer

    My guess would be that you're using go run to run it. If you do go run main.go it will only load main.go and ignore anything in other files.

    To run it properly, try building it first (which will include all files) with: go build -o demo and then run the newly created demo binary: ./demo.

    Hope this helps.

  2. matryer commented on Feb 25, 2019

    @matryer

    or you can try go run *.go which will also select all .go files.

  3. najamsk commented on Feb 25, 2019

    @najamsk
    Author

    SyntaxError: missing ) after argument list[Learn More] semantic.min.js:16:3023
    console showing this.

  4. najamsk commented on Feb 25, 2019

    @najamsk
    Author

    it asks for go cam permission that i give. but nothing shows up in video player so i checked console which was showing following error.

    SyntaxError: missing ) after argument list[Learn More]

    semantic.min.js:16:3023

  5. najamsk commented on Feb 25, 2019

    @najamsk
    Author

    replacing following
    video.src = window.URL.createObjectURL(stream);
    with video.srcObject = stream;
    seems to work in firefox.

  6. matryer commented on Feb 25, 2019

    @matryer
  7. najamsk commented on Feb 25, 2019

    @najamsk
    Author

    nope. i tried to ask co-worker to show their face on cam. since didnt train model on their face. i was expecting some error message but instead the camera icon truns into loading and keep doing loading stuff. i check console it was saying button.transition is undefined. so to solve that i change more code by showing text message. maybe run demos again in cross browsers so people can actually see them working and hop into stuff. Having said that i still enjoy browsing through demos and articles on medium.

  8. matryer commented on Feb 25, 2019

    @matryer
  9. najamsk commented on Feb 25, 2019

    @najamsk
    Author

    i check on my co-workers machines using chrome still same errors. I think underlaying apis for html5 stuff got changed and they require minor fixes to work as expected.

  10. matryer commented on Feb 25, 2019

    @matryer
  11. najamsk commented on Feb 25, 2019

    @najamsk
    Author

    one more thing. is there any forum or channel where devs can ask your team questions or report issues. asking on twitter is not that great and engaging founder for small code stuff is like wasting your time. thanks for your time, responses and your efforts.

  12. najamsk commented on Feb 25, 2019

    @najamsk
    Author

    my pull request will be broken as its not working in chrome. but if i make it work in chrome sure.

  13. aaronedell commented on Feb 25, 2019

    @aaronedell

    Hi @najamsk - can you join the Machine Box slack here: https://machineboxslack.herokuapp.com/

  14. najamsk commented on Feb 28, 2019

    @najamsk
    Author

    Hi @najamsk - can you join the Machine Box slack here: https://machineboxslack.herokuapp.com/

    joined the community slack, thanks for sharing. let me create a pull request.

  15. najamsk commented on Feb 28, 2019

    @najamsk
    Author

    Hmm, in that case, do you fancy submitting a PR with your fixes? We’d love to improve the experience for others if we can.
    …
    On Mon, 25 Feb 2019 at 12:27, najamsk @.***> wrote: i check on my co-workers machines using chrome still same errors. I think underlaying apis for html5 stuff got changed and they require minor fixes to work as expected. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGNG6-ozDntZ5J_AbWWVK-oIsIRMsZWks5vQ9angaJpZM4bPJLa .

    pull request created. I have never contributed in open source stuff and don't know about creating pull request. by clicking few buttons i manage to create pull request that I hope somewhat close to your expectations.

  16. najamsk commented on Mar 1, 2019

    @najamsk
    Author

    you can find my pull request at #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions