Skip to content

ImportError in sounds module #37

Closed

Description

@jimpanseiscool

I have commented on the commit a5a84a3#diff-d6aca360016ad06f1a0286e0d04f2440 that latest change on the sounds module broke the demo.

The old version of the sounds module still works on my ev3dev stable box.

Activity

  1. WasabiFan commented on Feb 8, 2018

    @WasabiFan
    Member

    The master branch has in-development code which is only expected to be compatible with the most recent development version of the main library, running on stretch. If that isn't you, use ev3dev-jessie with the jessie branch of this repo.

  2. bittner commented on Feb 8, 2018

    @bittner
    Contributor

    @WasabiFan This is a valid point, though it causes quite some pain. Is there an easy way to offer a more recent build (daily or weekly) on ev3dev.org/docs/getting-started? I would find it logical if the canonical source for installing ev3dev and the canonical source for demos of the very same would somehow match. It should be easy to get the demos running.

  3. WasabiFan commented on Feb 8, 2018

    @WasabiFan
    Member

    A more recent build of what? The only thing made available on that page is a link to an ev3dev-jessie download, which is the currently-recommended ev3dev version.

  4. bittner commented on Feb 8, 2018

    @bittner
    Contributor

    ... which doesn't match the demos in this repository.

    If we want to support newcomers we ought to make sure there are no obstacles in the way to make demos run. When demos run only on stretch it should be easy to install ev3dev based on stretch. If ev3dev based on jessie is still recommended the demos that run only on stretch should be in a development or feature branch. Simple as that.

  5. WasabiFan commented on Feb 9, 2018

    @WasabiFan
    Member

    The demos for Jessie are in the jessie branch. This repository was established after the switch to focusing on Stretch so it has never had content or explanations written for Jessie. Is your complaint that jessie isn't the default branch? That's not something I can change, but perhaps @dwalton76 can.

  6. bittner commented on Feb 9, 2018

    @bittner
    Contributor

    Exactly.

    I think it should be the other way round: master should have Jessie and a stretch branch should have the new features for the upcoming stable ev3dev image, which is not yet recommended for beginners.

    This would avoid issues like the ones with were faced with today.

  7. WasabiFan commented on Feb 9, 2018

    @WasabiFan
    Member

    If there's a wish to change branch names, we should follow the convention used elsewhere in ev3dev: have jessie and stretch branches without an ambiguous master. The solution to your problem, however, is to change the default branch to match the current primary ev3dev version.

  8. bittner commented on Feb 9, 2018

    @bittner
    Contributor

    Then let's do it! Rename master to stretch and make jessie the default branch.

    Note that this is not my problem, but I see that this is a pitfall for newcomers. There should be no guessing why things don't "just work" out of the box.

  9. dwalton76 commented on Feb 9, 2018

    @dwalton76
    Collaborator

    I can rename branches this weekend

  10. dwalton76 commented on Feb 14, 2018

    @dwalton76
    Collaborator

    ok so we have

    ev3dev
    https://github.com/ev3dev/ev3dev

    • The only branches are ev3dev-jessie (the default) and ev3dev-stretch

    ev3dev-lang-python
    https://github.com/ev3dev/ev3dev-lang-python/branches

    • more branches than I care to type out here, many are stale. @WasabiFan @ddemidov are any of these we can delete?
    • develop is the default branch which is designed to work with stretch
    • there are also master and jessie branches

    ev3dev-lang-python-demo
    https://github.com/ev3dev/ev3dev-lang-python-demo

    • the master branch is the default, it is designed to work with stretch
    • there is a also a jessie branch

    Agreed this is really confusing 👎 Proposal of things we should do

    • ev3dev-lang-python delete as many stale repositories as we can and see where that leaves us
    • ev3dev-lang-python rename develop to stretch
    • ev3dev-lang-python can we delete master since we already have a jessie branch?
    • ev3dev-lang-python-demo rename master to stretch
    • Make all three of these repos agree on their default (jessie vs stretch). ev3dev defaults to jessie while ev3dev-lang-python and ev3dev-lang-python-demo default to stretch. @dlech what are your thoughts on this, are you close to switching the default in ev3dev to stretch?
  11. WasabiFan commented on Feb 14, 2018

    @WasabiFan
    Member

    more branches than I care to type out here, many are stale. @WasabiFan @ddemidov are any of these we can delete?

    👍 I just deleted a variety of branches that had been merged previously, so it should be a bit cleaner.

    Agreed this is really confusing 👎 Proposal of things we should do

    I agree with that plan. I'm not entirely sure what the master branch in ev3dev-lang-python was for, but it points to the same ref as jessie right now anyway.

    Make all three of these repos agree on their default (jessie vs stretch).

    I think we should default to jessie until it is no longer the primary recommended platform.

  12. dwalton76 commented on Feb 15, 2018

    @dwalton76
    Collaborator

    Defaulting everything to jessie sounds good to me

  13. dwalton76 commented on Mar 3, 2018

    @dwalton76
    Collaborator

    @WasabiFan @ddemidov @gregcowell @bittner @dlech FYI made the following branch changes to ev3dev-lang-python-demo:

    • default is now jessie
    • renamed master to stretch

    You will need to jump through some hoops to get the branches of your fork of ev3dev-lang-python-demo to match exactly. If you do not have any outstanding work in your fork, do not have any stars, etc the easiest thing to do is just delete your fork and re-fork ev3dev-lang-python-demo.

    If you do have stars, etc you'll have to google around a bit to find the git commands to make your branches match with the parent repo....I don't now what they are off the top of my head. I did not have any stars so I just deleted my repo and re-forked.

  14. bittner commented on Mar 4, 2018

    @bittner
    Contributor

    Looks good to me.

    @jimpanseiscool Can you close this issue?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions