Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

celery failed to build #2

Open
spiffomatic64 opened this issue Jan 4, 2019 · 19 comments
Open

celery failed to build #2

spiffomatic64 opened this issue Jan 4, 2019 · 19 comments

Comments

@spiffomatic64
Copy link

Is this still working? (ran the vagrant oneliner from the readme)

default: Service 'ycmd' failed to build: The command '/bin/sh -c set -ex && for key in ... ; do gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; done' returned a non-zero code: 2
default: Service 'celery' failed to build: The command '/bin/sh -c set -ex && for key in ... ; do gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; done' returned a non-zero code: 2

@ltpitt
Copy link
Owner

ltpitt commented Jan 4, 2019

Hello there!

I haven't tested the script in a while so it could be that some online repositories or services are down since.

I am running vagrant up from scratch in this moment, I will update this thread with results.

@ltpitt
Copy link
Owner

ltpitt commented Jan 4, 2019

Sadly confirmed: I have the same error here.

Seems quite common, here's a possible approach:
tianon/gosu#39

Problem sadly is not in my Vagrantfile but in some of the Docker files from Katharine Berry [email protected] (dead email address plus I doubt she's mantaining it today).

I will try to track down the issue and solve but the best shot to build for Pebble at the moment is just install the SDK locally (the cli version, no GUI).

I will update this thread with other findings.

ltpitt added a commit that referenced this issue Jan 4, 2019
This is a patched version to solve #2
@ltpitt
Copy link
Owner

ltpitt commented Jan 4, 2019

@spiffomatic64
I've found the issue and patched it, I am waiting for my build to complete but the error you had seems solved already.

Let me know how it goes for you :)

ltpitt added a commit that referenced this issue Jan 4, 2019
@spiffomatic64
Copy link
Author

awesome :) Ill give it a go tonight :)

@ltpitt
Copy link
Owner

ltpitt commented Jan 4, 2019

@spiffomatic64
Ouch!
Same key error for ycmd proxy...

Patched also that, testing again :)

@spiffomatic64
Copy link
Author

Any update on this?

@ltpitt
Copy link
Owner

ltpitt commented Jan 25, 2019

Hi there!

I am currently abroad but I'll be back tonight.

I might have some juicy news, I will post tomorrow my findings.

Basically we need to try to change old Pebble download servers in the source code with the Rebble ones.

I need my pc to give it a go :)

@ltpitt
Copy link
Owner

ltpitt commented Jan 31, 2019

Hi there, @spiffomatic64

I have some juicy news!

Reading here and there I was finally able to put together a complete workaround to have SDK and emulator working on your pc.
CloudPebble will need more time (sorry but I am changing job at the moment and my days are a bit crazy).

To successfully install a building environment on your Linux Pc (or Linux Virtual Machine), tested on Ubuntu:

  1. Open https://developer.rebble.io/developer.pebble.com/sdk/install/linux/index.html and follow instructions there
  2. Create an empty file using this command: touch ~/.pebble_dev/NO_TRACKING
  3. Edit ~/pebble-dev/pebble-sdk-4.5-linux64/pebble-tool/pebble_tool/sdk/manager.py and change this row:
    DOWNLOAD_SERVER = "https://sdk.getpebble.com"
    to:
    DOWNLOAD_SERVER = "https://sdk.rebble.io"
  4. Run the command: pebble install latest

Enjoy a fully working Pebble SDK :D

As soon as I have time I'll try to fix also CloudPebble (I think the DOWNLOAD_SERVER trick should also work for it).

Happy hacking!

@spiffomatic64
Copy link
Author

awesome thanks!

@Enovale
Copy link

Enovale commented May 20, 2019

What is the status of this? I still get the celery error...

@ltpitt
Copy link
Owner

ltpitt commented May 31, 2019

No solution for CloudPebble so far, sadly.

If and when I'll spot something I will update the repo and this thread.

For the moment the best available solution is use the local SDK if you need to build apps for Pebble.
I can indeed help with that, the main install instructions are available in my comment above.

Please let me know if you need more, @ElijahZAwesome :)

@Enovale
Copy link

Enovale commented May 31, 2019

@ltpitt
Copy link
Owner

ltpitt commented Sep 1, 2019

Hi @ElijahZAwesome!

Sorry but I just saw this comment...

The repo you linked is a fork of the main cloudpebble-composed repo...
Does yours work?

@Sichroteph
Copy link

Hi @ltpitt !
I am desesperating to find a compilation environment for pebble as my known cloudpebble instances are down or malfunctioning.

I tried the method you posted on the 31 of january, but the official guide for installing pebble SDK raise me an error on this part :

cd ~/pebble-dev/pebble-sdk-4.5-linux64
virtualenv --no-site-packages .env
source .env/bin/activate
pip install -r requirements.txt
deactivate

The error
ERROR: HTTP error 404 while getting https://s3-us-west-2.amazonaws.com/pebble-sdk-homebrew/pypkjs-1.0.6.tar.gz

Thank !

@ltpitt
Copy link
Owner

ltpitt commented Nov 18, 2019

Hi @Sichroteph !

If what you need is just command line Pebble SDK I've created a Vagrant machine for that, you can find more information here:
https://github.com/ltpitt/vagrant-pebble-sdk

Last time I installed it from scratch was around 30 days ago, no problems.

Please let me know if you face any issues opening one in its specific project.

Good luck and happy hacking :)

@Sichroteph
Copy link

@ltpitt thanks ! I indeed successfully installed a command line pebble sdk thanks with your vagrant machine two days a ago and I think I built one of my project successfully.
I am not familiar with it, is Qemu working as well or do I have to push the pbw to my watch ?

@ltpitt
Copy link
Owner

ltpitt commented Nov 18, 2019

My pleasure @Sichroteph .

Qemu doesn't work on my Vagrant machine because it is command line only.

On the other hand it is very easy to install your app to your smartwatch directly from the app's folder (be sure that dev mode is on and that your smartphone is connected to the same network of your computer):
pebble install --phone YOUR_PHONE_IP

@Sichroteph
Copy link

Sichroteph commented Nov 18, 2019

@ltpitt Thanks to you I succeeded in installing a programming environment.
pebble install --phone YOUR_PHONE_IP is very convenient - the whole process is actually much faster than cloudpebble.
One small caveat is that the ubuntu user doesn't seem to have enough rights to modify a virtual box shared folder (even with doing chmod and chown from a root user), but I found the micro editor and I am more than happy with it.

@ltpitt
Copy link
Owner

ltpitt commented Nov 19, 2019 via email

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

No branches or pull requests

4 participants