Comments (5)
Hi! Actually, I've never tried to build it on a Raspberry: I apologize for the troubles you're experiencing.
First of all, since you're using Python 3, please use the master branch. I've ported the project to Python 3 only in the master branch: I'll merge master into testing and stable as soon as it becomes stabler. :)
Unfortunately, I can't replicate your issue on my system(s). So, if it doesn't annoy you (otherwise, ignore the following part), I would ask you for more information. Please, could you apply the following patch to the submodule yyagl?
index b719134..520fee8 100644
--- a/build/build.py
+++ b/build/build.py
@@ -9,6 +9,13 @@ def exec_cmd(cmd):
def __branch():
+ elements = [
+ exec_cmd('git symbolic-ref HEAD'),
+ exec_cmd('git symbolic-ref HEAD').split('/'),
+ exec_cmd('git symbolic-ref HEAD').split('/')[-1],
+ exec_cmd('git symbolic-ref HEAD').split('/')[-1].strip()]
+ for elm in elements:
+ print(elm, type(elm))
return exec_cmd('git symbolic-ref HEAD').split('/')[-1].strip()
The error happens in the code that retrieves the current branch's name: I presume that you've a different behaviour on your system. The patch prints some information about the relevant code, here's what happens on my system:
user@host:~/path/to/yorg$ scons lang=1
...
('refs/heads/master\n\n', <type 'str'>)
(['refs', 'heads', 'master\n\n'], <type 'list'>)
('master\n\n', <type 'str'>)
('master', <type 'str'>)
('refs/heads/master\n\n', <type 'str'>)
(['refs', 'heads', 'master\n\n'], <type 'list'>)
('master\n\n', <type 'str'>)
('master', <type 'str'>)
(I've submitted scons lang=1 since it's faster than other build targets). What do you get on your system?
Thank you very much! ^_^
from yorg.
Here is the output on the Raspberry:
scons: Reading SConscript files ...
b'refs/heads/master\n'
b'' <class 'str'>
["b'refs", 'heads', "master\\n'\nb''"] <class 'list'>
master\n'
b'' <class 'str'>
master\n'
b'' <class 'str'>
b'refs/heads/master\n'
b'' <class 'str'>
["b'refs", 'heads', "master\\n'\nb''"] <class 'list'>
master\n'
b'' <class 'str'>
master\n'
b'' <class 'str'>
hope it helps, but don't fret over it. FWIW I was just trying to see how much Panda the RPi could handle and thought of trying Yorg to see how well it works.
from yorg.
Hi! Actually, the behaviour is really different, and I can't replicate the issue. :(
I am going to try it on a RPi as soon as I can get it.
Thanks!
from yorg.
Just a wild guess, but it could maybe have something to do with the Python version that comes with Raspbian. Have you tried this with a Python 3.5 installation on a PC before?
from yorg.
Hi! Actually, I thought that SCons used virtualenv's Python (which is Py3 on my setup), but it is not true: SCons uses system's Python instead (with default settings). So, actually I was building it with Py2. I should've fixed that, let me know if there are other issues. Thank you so much for reporting that! ^_^
from yorg.
Related Issues (20)
- AMD libGL error HOT 1
- 0.10 accepts blank password HOT 1
- Yorg 0.10.0 failed on race start HOT 4
- AI quality went way down HOT 3
- Physics: make cars heavier HOT 2
- problems with running game in stable branch HOT 1
- Add support for Flatpak packages HOT 4
- Failing to build HOT 32
- Keyboard-Input doesn't work HOT 5
- GameJolt Linux version is still 0.10 HOT 2
- Connect to server via commandline? HOT 1
- How do you host a server? HOT 1
- Feature: First person view HOT 3
- Menu text disappears on mouse over HOT 3
- Car wheels behaviour looking strange HOT 15
- Fullscreen and AA options instant crash HOT 2
- Multiplayer doesn't work HOT 1
- Trying to continue a season causes the game to crash HOT 2
- Game lacks a sense of speed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yorg.