Code Monkey home page Code Monkey logo

Comments (32)

MCMic avatar MCMic commented on August 23, 2024 1

I did not retry recently, when I get home I can try to see what I get.

from yorg.

cflavio avatar cflavio commented on August 23, 2024 1

Hi! I presume that the submodule named yyagl in the main repo is not up-to-date, since that bug was fixed several months ago. If you update that submodule then you should not observe that error. Thanks!

EDIT: Actually, the fix is not in the stable branch yet, sorry, you are right! A new release (so, an update of the stable branch) is expected soon, so that branch should work in a near future. In the meanwhile, you may want to use the master branch. Or, you may want to exclude PDF files from building (they are only for documentation purposes, for developers). Thanks!

from yorg.

cflavio avatar cflavio commented on August 23, 2024

Hello,
I’m trying to see if I can package this in the AUR for ArchLinux.

Wow, it would be awesome, thank you!

File "yyagl/build/process_track.py", line 101
print 'loaded track model'
...
File "/home/mcmic/dev/aur/yorg/src/yorg-0.10.0/yyagl/engine/profiler.py", line 57
def _print_lines(sio): print sio.getvalue()

In your PKGBUILD's source field you're referring to 0.10's release: it was based on Python 2, but you're building it using Python 3. The upcoming release is based on Python 3. So, you could build it using Python 2 or wait for the upcoming release.

Thank you very much!

from yorg.

MCMic avatar MCMic commented on August 23, 2024

Oh, ok, that’s what is happening.

I will try when the next release is out then, that will be easier.

from yorg.

cflavio avatar cflavio commented on August 23, 2024

Hi! I have published the new release, so this should work now! Thank you! ^_^

from yorg.

MCMic avatar MCMic commented on August 23, 2024

Now I get this:

scons: Reading SConscript files ...
  File "/home/mcmic/dev/aur/yorg/src/yorg-0.11.0/yyagl/build/uml.py", line 42

    for pdf in pdfs: print pdf

                             ^

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(pdf)?

from yorg.

cflavio avatar cflavio commented on August 23, 2024

Sorry, I apologize for this. Please, could you pull again the stable branch (both the main repo and yyagl submodule) and check if it works now? Thank you!

from yorg.

MCMic avatar MCMic commented on August 23, 2024

Seems better, there is still all the «couldn't compress XXX.txo» warnings, and then it fails because I do not have bson module, it seems not to be packaged on ArchLinux.

from yorg.

MCMic avatar MCMic commented on August 23, 2024

(Packaged python-bson in AUR, now it’s builing, failed a first time because of disk space, second try not finished yet)

from yorg.

MCMic avatar MCMic commented on August 23, 2024

Okay, it builds fine.

After a really quick test it seems there is a bug with the wheels, they are rotated like 30° and it looks really funny when you drive.

from yorg.

cflavio avatar cflavio commented on August 23, 2024

there is a bug with the wheels, they are rotated like 30°

Hi! Oh, that's very weird. Since this has never happened to me, please could you give me more details? What kind of rotation do you see (i.e. around which axis)? Does it happen with the gamepad connected? Please, could you share your folder after the building process, so I can analyze if the models are correct and if there is anything weird in the code? Thank you so much!

from yorg.

psypherium avatar psypherium commented on August 23, 2024

@MCMic , any luck getting the current version of this building on Arch? For me, following the commands creates a "New Folder", and then one of the commands fails looking for a folder called "New".

from yorg.

Mailaender avatar Mailaender commented on August 23, 2024
scons: Reading SConscript files ...
  File "/home/mcmic/dev/aur/yorg/src/yorg-0.11.0/yyagl/build/uml.py", line 42

    for pdf in pdfs: print pdf

                             ^

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(pdf)?

I still get this error. Is there a patch for version 0.11 or a new release in sight?

from yorg.

Mailaender avatar Mailaender commented on August 23, 2024

I still get the same error with scons linux=1 pdf=0 uml=0 so how do I turn it off effectively?

from yorg.

cflavio avatar cflavio commented on August 23, 2024

Hi! Does it work if you submit only scons linux=1? Thanks!

from yorg.

Mailaender avatar Mailaender commented on August 23, 2024

It has no effect and fails, too. Same error message as already reported. I am trying to package https://github.com/cflavio/yorg/releases/tag/v0.11.0 which seems broken.

from yorg.

Mailaender avatar Mailaender commented on August 23, 2024

Following the README

yorg/README.md

Line 10 in 52585a1

* `python setup.py images lang models`

error: invalid command 'images'

from yorg.

Mailaender avatar Mailaender commented on August 23, 2024

scons lang=1 images=1 tracks=1 on 0.11.0.post0 seems to do a lot. At some point it will keep using 100 % CPU but seemingly there is no progress. I saw that it seems to assemble textures from text files. Do you also plan a binary distribution tarball on GitHub? I think this will be too much for the VMs @flathub to handle.

from yorg.

cflavio avatar cflavio commented on August 23, 2024

@Mailaender I am sorry for the delay, I don't use use GitHub very often, I apologize for this.
I have published a tarball on GitHub for you. Thank you!

from yorg.

Mailaender avatar Mailaender commented on August 23, 2024

How do I compile without building the assets?

from yorg.

cflavio avatar cflavio commented on August 23, 2024

You should copy the assets/ folder from the tar.gz over the assets/ folder in your directory. Then, you can give the command scons lang=1 images=1 (without the tracks=1 part). Thank you!

from yorg.

Mailaender avatar Mailaender commented on August 23, 2024

I get a lot of

couldn't compress

messages when doing so.

from yorg.

Mailaender avatar Mailaender commented on August 23, 2024

Also

scons: done building targets.
cp: cannot stat 'yracing': No such file or directory

from yorg.

cflavio avatar cflavio commented on August 23, 2024

I get a lot of

couldn't compress

messages when doing so.

Hi! Is 'compress' installed in your machine?

Also

scons: done building targets.
cp: cannot stat 'yracing': No such file or directory

Did you clone the repository recursively? Thanks!

from yorg.

Mailaender avatar Mailaender commented on August 23, 2024

I installed https://github.com/vapier/ncompress but still get

18:31:58 /usr/bin/python ./yyagl/build/img2txo.py "assets/images/loading/moon4.jpg"

  couldn't compress moon4
  Writing /run/build/yorg/assets/images/loading/moon4.txo
Writing dummy_assets_images_loading_moon4.jpg.bam

from yorg.

Mailaender avatar Mailaender commented on August 23, 2024

https://github.com/cflavio/yorg/releases/tag/v0.11.0 mentions version 0.11.1 wrong tag?

from yorg.

cflavio avatar cflavio commented on August 23, 2024

I installed https://github.com/vapier/ncompress

Hi! That is not the program I used. I used nvcompress from the package libnvtt-bin (as instance, in Debian).

https://github.com/cflavio/yorg/releases/tag/v0.11.0 mentions version 0.11.1 wrong tag?

Whoops, you are right, sorry. I apologize.

from yorg.

Mailaender avatar Mailaender commented on August 23, 2024

Did you clone the repository recursively? Thanks!

yes, but neither https://github.com/cflavio/yorg/tree/v0.11.0.post0 nor https://github.com/cflavio/yorg/tree/v0.11.0 contain the submodule. Can you tag a new release that builds?

from yorg.

cflavio avatar cflavio commented on August 23, 2024

Hi, I have done another tag, it should contain the submodule. Thanks!

from yorg.

Mailaender avatar Mailaender commented on August 23, 2024

Didn't build and I got several errors that I don't know how to solve:

sh: line 1: ]/LC_MESSAGES/yorg.pot: No such file or directory
sh: line 1: ]/LC_MESSAGES/yorg.pot: No such file or directory
sh: line 1: ]/LC_MESSAGES/yorg.pot: No such file or directory
sh: line 1: ]/LC_MESSAGES/yorg.pot: No such file or directory
scons: *** [assets/po/gl_ES.po] assets/locale/de.FS.File object at 0x55721c2589f0>]/LC_MESSAGES/yorgtmp.po: No such file or directory
sh: line 1: ]/LC_MESSAGES/yorg.pot: No such file or directory
scons: *** [assets/po/it_IT.po] assets/locale/de.FS.File object at 0x55721c2287d0>]/LC_MESSAGES/yorgtmp.po: No such file or directory
scons: *** [assets/po/es_ES.po] assets/locale/de.FS.File object at 0x55721c256840>]/LC_MESSAGES/yorgtmp.po: No such file or directory
scons: *** [assets/po/gd.po] assets/locale/de.FS.File object at 0x55721c251950>]/LC_MESSAGES/yorgtmp.po: No such file or directory
scons: *** [assets/po/fr_FR.po] assets/locale/de.FS.File object at 0x55721c25cbb0>]/LC_MESSAGES/yorgtmp.po: No such file or directory
sh: line 1: ]/LC_MESSAGES/yorg.pot: No such file or directory
scons: *** [assets/po/de_DE.po] assets/locale/de.FS.File object at 0x55721c2510e0>]/LC_MESSAGES/yorgtmp.po: No such file or directory

couldn't compress loading4
Writing /run/build/yorg/assets/tracks/orlando/images/loading4.txo
Writing dummy_assets_tracks_orlando_images_loading4.jpg.bam
15:03:41 /usr/bin/python /run/build/yorg/yyagl/build/img2txo.py "assets/tracks/orlando/images/loading.png"

Writing /run/build/yorg/assets/tracks/orlando/images/loading.txo
(compressed dxt5)
Writing dummy_assets_tracks_orlando_images_loading.png.bam
15:03:42 /usr/bin/python /run/build/yorg/yyagl/build/img2txo.py "assets/tracks/orlando/images/loading3.jpg"

couldn't compress loading3
Writing /run/build/yorg/assets/tracks/orlando/images/loading3.txo
Writing dummy_assets_tracks_orlando_images_loading3.jpg.bam
15:03:43 /usr/bin/python /run/build/yorg/yyagl/build/img2txo.py "assets/tracks/orlando/images/loading1.jpg"

couldn't compress loading1
Writing /run/build/yorg/assets/tracks/orlando/images/loading1.txo
Writing dummy_assets_tracks_orlando_images_loading1.jpg.bam
15:03:43 /usr/bin/python /run/build/yorg/yyagl/build/img2txo.py "assets/tracks/orlando/images/menu.png"

Writing /run/build/yorg/assets/tracks/moon/images/menu.txo (compressed
dxt1)
Writing dummy_assets_tracks_moon_images_menu.png.bam
15:03:49 /usr/bin/python /run/build/yorg/yyagl/build/img2txo.py "assets/tracks/orlando/images/loading2.jpg"

couldn't compress loading2
Writing /run/build/yorg/assets/tracks/orlando/images/loading2.txo

scons: building terminated because of errors.

from yorg.

cflavio avatar cflavio commented on August 23, 2024

The first part should be fixed by scons lang=1, I presume.
The second part should be fixed by installing nvcompress.
Thanks!

from yorg.

Mailaender avatar Mailaender commented on August 23, 2024

The first part should be fixed by scons lang=1, I presume.

I already use scons lang=1

The second part should be fixed by installing nvcompress.

I had https://github.com/castano/nvidia-texture-tools installed.

from yorg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.