Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Can't build on debian:stable or ubuntu:xenial in docker #602

Open
ayumi opened this issue Aug 9, 2017 · 1 comment
Open

Can't build on debian:stable or ubuntu:xenial in docker #602

ayumi opened this issue Aug 9, 2017 · 1 comment

Comments

@ayumi
Copy link

ayumi commented Aug 9, 2017

  • Fresh docker run of debian:stable or ubuntu:xenial

  • Installed curl git-core build-essential python

  • Followed building.md verbatim

  • Fails at anvil serve:

ayu@6179eddce8db:~/tracing-framework$ anvil serve -p 8080
Traceback (most recent call last):
  File "/home/ayu/tracing-framework/third_party/anvil-build/anvil/manage.py", line 327, in <module>
    anvil.manage.main()
  File "/home/ayu/tracing-framework/third_party/anvil-build/anvil/../anvil/manage.py", line 312, in main
    cwd=os.getcwd())
  File "/home/ayu/tracing-framework/third_party/anvil-build/anvil/../anvil/manage.py", line 191, in run_command
    return command.execute(parsed_args, cwd)
  File "/home/ayu/tracing-framework/third_party/anvil-build/anvil/commands/serve_command.py", line 68, in execute
    self._launch_http_server(args.http_port, cwd)
  File "/home/ayu/tracing-framework/third_party/anvil-build/anvil/commands/serve_command.py", line 85, in _launch_http_server
    from twisted.internet import reactor
ImportError: No module named twisted.internet

pip install twisted doesn't fix this.

  • Also fails anvil build.
@stevenhoving
Copy link

stevenhoving commented Sep 7, 2018

you have to activate the virtual environment before you can actually install twisted in the correct way. I think this problem is there because an old version of twister part of the anvil-build dependencies.
https://github.com/google/anvil-build/blob/69f95c942706fa3cc4061ffd8cb0506ef1b277a8/setup.py#L43

see issue google/anvil-build#14

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants