Scrapinghub deployment error: non-exit status 1 - scrapinghub

i get this error mesage when I try to deploy my project and I really do not understand why:error log

shub is unable to build the Python egg of your project. This could be related to a misconfigured setup.py. Try running the 'build egg' command yourself so you can take a look at the error message: python setup.py clean -a bdist_egg -d temp_directory (run it in your project directory).
If you don't have any custom/important code in your setup.py, you can try deleting it, and shub will auto-generate a vanilla one on the next deploy.

Related

go get fyne/io/driver/gl#v1.0.1 unrecognized import path

Trying to follow the installation guide here and most of the process is working. I'm having an issue with building it however.
When trying to build I'm getting this message:
C:...\gameboy.live>go build -o gbdotlive main.go
......\go\pkg\mod\fyne.io\fyne#v1.0.1\driver\gl\gl.go:20:2: missing go.sum entry for module providing package github.com/goki/freetype (imported by fyne.io/fyne/driver/gl); to add:
go get fyne.io/fyne/driver/gl#v1.0.1
Running the suggested command however raises another prompt:
C:...\gameboy.live>go get fyne.io/driver/gl#v1.0.1
go get fyne.io/driver/gl#v1.0.1: unrecognized import path "fyne.io/driver/gl": reading https://fyne.io/driver/gl?go-get=1: 404 Not Found
I've tried going for the version 1.4.3 driver too which raises a different error:
C:...\gameboy.live>go get fyne.io/fyne/gl#v1.4.3
go get: module fyne.io/fyne#v1.4.3 found, but does not contain package fyne.io/fyne/gl
Anybody familiar with this issue? FYI I'm on Windows and have MinGw installed already.
Just run go mod tidy before exec go build -o gbdotlive main.go.Have a try.

Yarn error on teamcity build: "Unknown: unknown error, open"

The first step in the TC build process is to run "yarn install" in the directory: D:\TeamCity\Agent\work\MyApp
this is successfull up until: [4/4] Rebuilding all packages...
at which point this error is thrown:
```[Step 1/5] error An unexpected error occurred: "D:\\TeamCity\\Agent\\work\\MyApp\\node_modules\\#babel\\runtime-corejs2\\node_modules\\core-js: UNKNOWN: unknown error, open 'D:\\TeamCity\\Agent\\temp\\buildTmp\\yarn--1592234614361-0.5350564069819825\\yarn'"```
From what I can tell here, its trying to open the temp folder, but cant? or cant find it?
This does not happen consistently. It seems to be random, or whenever there is an extended time between builds. We cannot determine a common pattern. To fix it, we just re-run the build.
We have tried 'yarn install --verbose' and 'yarn install --force' the former showed nothing usefull on output, and --force was a guess at best.
I'm hoping someone can give a bit more context as to exactly what that error might mean.
Screenshot of the error

"generate-pch command failed with exit code 1" when making a new Xcode scheme

I'm following the instruction here http://www.teratotech.com/blog/xcode-7-steps-to-easily-switch-between-multiple-environments/ to generate different schemes for different environments..
I created a testing configuration and created a new scheme to use that configuration. However, when I build and run, I'm getting this error:
<unknown>:0: error: generate-pch command failed with exit code 1 (use -v to see invocation)
error: 'AFNetworking/AFNetworking.h' file not found
#import <AFNetworking/AFNetworking.h>
1 error generated.
<unknown>:0: error: failed to emit precompiled header '/var/folders/f2/6j4b4kz54xy1vf_2gdlnrllc0000gn/T/My-Project-Header-47bffb.pch' for bridging header '/Users/me/Dev/my-project/My-Project-Header.h'
When I build with my original scheme, everything's fine... I only have 1 target. Am I missing anything?
EDIT: I'm using Cocoapods to manage my dependencies, if that makes any difference.
i solved this issue by running below commands
$ pod repo update
$ pod install
Usually such issue happens when project directory is changed or copied form some other machine.

Error -60005 when install Cocos2d-iPhone v3 RC4

When I try to install Cocos2d-iphone 3.0.0 RC4, I got an error: (run without sudo)
Error -60005 occurred while executing script with privileges.
So, I try to show its package content and use terminal to do: cd ...Cocos2D Installer 3.0.0.app/Contents/MacOS
I try this command: (with sudo)
sudo ./Cocos2D\ Installer\ 3.0.0
It works but I got log with some errors:
[1m>>> Installing Cocos2D-v3.0.0 files (B[m
[1m>>> Installing Cocos2D-v3.0.0 templates (B[m
[4m[1mCocos2D Template Installer (Cocos2D-v3.0.0)(B[m
Error: [31m✖︎(B[m Script cannot be executed as root.
In order for it to work properly, please execute the script again without 'sudo'.
If you want to know more about how to use this script execute '/Users/viethung/Downloads/Cocos2D-v3.0.0/install.sh --help'.
[1m>>> Building/Installing Cocos2D-v3.0.0 documentation, this may take a minute.... (B[m
appledoc version: 2.2 (build 963)
Generation step 4/5 failed: GBDocSetInstallGenerator failed generating output, aborting!
Documentation set was installed, but couldn't reload documentation within Xcode.
Xcode got an error: No documentation set present at specified path.
[1m>>> Cocos2D-v3.0.0 installation complete! (B[m
Are there any way is better than this way?
I have same problem.
I think you installed old cocos2d-iphone and it caused this problem.
You should remove old cocos2d-iphone first. I removed:
~/Library/Developer/Xcode/cocos2d v3.x
And install again. It works for me.
Hope it works for you :)

Jenkins: "Failed to launch Maven" Error

I get the following error in Jenkins. I'm using Maven 3.0.4. Running on a Linux slave. Anyone have any solutions?
Error: Could not find or load main class org.jvnet.hudson.maven3.agent.Maven3Main
ERROR: Failed to launch Maven. Exit code = 1
The solution was not even related to the error message I was seeing. But nonetheless, I had a step where I install custom tools using the custom tools plugin. I never used the tools, but just installed them. And this gave me the above error.

Resources