Page 4 of 4

Re: Introducing: musa. The new BaNaNaS upload tool

Posted: 25 Dec 2018 11:28
by stefino_cz
Yes, but when I write "yes I am" it writes that I'm not author of this grf :D I think, problem is in "keyborad". Our Czech keyboard has switched Y and Z :) So if I write zes I am, I can confirms it but this socket error apears.

Re: Introducing: musa. The new BaNaNaS upload tool

Posted: 26 Dec 2018 02:28
by rowdog
I looked over the code for musa and I agree that the problem is probably in the "keyboard" (how Python or the Windows terminal deal with Unicode.) Sadly, I can't read Czech and I don't know how to machine translate from an image file.

I think it would help for you to run musa again with the verbose option (-v) and then give us a text version of the error message.

Re: Introducing: musa. The new BaNaNaS upload tool

Posted: 26 Dec 2018 10:08
by stefino_cz
The program is really funny cause 9/10 it calls that I am not an author of grf - I tried all options (yes i am, yes I am, zes i am, zes I am)...sometimes I can confirm it with "zes i am" sometimes with "yes i am". But result is the same. Last sentence is again in Czech. As I wrote, something that the connection was end by remote host. My friend - programmer - got the same result in two different PCs. I thought that it was due firewall so I switched off everything and nothing was changed.
Výstřižek.JPG
Výstřižek.JPG (61.99 KiB) Viewed 7102 times

Re: Introducing: musa. The new BaNaNaS upload tool

Posted: 02 Jan 2019 22:03
by planetmaker
Does that grf already exist / is it an update? If so: What's its grfID? Or is it a NewGRF yet unknown to bananas?
How does your bananas.ini look like? What was the output when you tried the --dry-run option?

All I can say so far: it's not a general problem. Musa successfully updated my OpenGFX+Airports to bananas on 1st try.

The directory I uploaded and the musa call looked like

Code: Select all

ogfx-airports$ ls ogfx-airports-0.5.0
bananas.ini  changelog.txt  license.txt  ogfx-airports.grf  readme.txt

ogfx-airports$ musa -c ogfx-airports-0.5.0/bananas.ini -x bananas.ini -x license.txt -u planetmaker -p BLABLABLA -r ogfx-airports-0.5.0/*
Note that I exclude all files from the release directory which I don't want to upload.

my corresponding bananas.ini (which I excluded from upload):

Code: Select all

[musa]
type = NewGRF

# The name for the content; at most 32 characters.
name = OpenGFX+ Airports

# The version of the content; at most 16 characters.
version = 0.5.0

# Description for the content; at most 512 characters.
# If the description_file key exists, then that file is read. Otherwise
# description_text is used. Please not that with description_text it is
# not possible to have newlines in the description.
#description_file = my_description.txt
description_text = Adds rotations and ground awareness to the default airports

# URL to get to the home page of the content.
url = https://dev.openttdcoop.org/projects/airportsplus
license = GPL v2

# A comma separated list of tags for the content. Each tag may be at most 32
# characters long.
tags = opengfx, airport, snow, rotation

# It is preferred to use the nightly revision as that allows your content to
# be visible by the betas and release candidates of the stable release as well.
# openttd_minimum_supported_version = 1.2 r23456
openttd_minimum_supported_version = 1.2 r22518
openttd_maximum_supported_version =
# openttd_maximum_supported_version = 1.3.0

# A comma separated list of objects this content depends on.
dependencies =

# The case sensitive comma separated list of usernames of the authors that may
# update this content in the content system. The uploading author must be one of
# these specified authors.
authors = planetmaker, openttdcoop
(Note, that bananas.ini is the only way you can *add* contributor access to the NewGRF entry so that several people can update it)


Cheers,
planetmaker.

Re: Introducing: musa. The new BaNaNaS upload tool

Posted: 03 Jan 2019 11:51
by vasatko
planetmaker wrote:Does that grf already exist / is it an update? If so: What's its grfID? Or is it a NewGRF yet unknown to bananas?
How does your bananas.ini look like? What was the output when you tried the --dry-run option?

All I can say so far: it's not a general problem. Musa successfully updated my OpenGFX+Airports to bananas on 1st try.
...
Cheers,
planetmaker.
Hi,

as you can see in stefino_cz screenshoot, that script links to c:\Python27 (same in my computer). But we hasnt this folder. I download Python 2.7 and unzip it to C:\Python27. But still I have same error (only more detail stacktrace).
Image

Now I tried it from linux. But same error:
Image

GRF allready exist (its update), but same error is for not exist GRF. Bananas.ini and other files is in ZIP (attached to this post). Option --dry-run is not allowed by musa.py.

Can you other idea, where can be problem?

Thank you

Re: Introducing: musa. The new BaNaNaS upload tool

Posted: 03 Jan 2019 22:53
by planetmaker
well, it's --dryrun or simply -d. As its integrated help via --help or -h tells me. And again: what does the ini file look like?

Re: Introducing: musa. The new BaNaNaS upload tool

Posted: 04 Jan 2019 08:58
by vasatko
vasatko wrote:Bananas.ini and other files is in ZIP (attached to this post).
and with -d option is same

Re: Introducing: musa. The new BaNaNaS upload tool

Posted: 04 Jan 2019 09:29
by agentw4b
How do I find the user accounts that added the Newgrf file to the Bananas server? Do not see authors in the game and https://bananas.openttd.org/en/ shows the author for the last 10 recordings only?

Re: Introducing: musa. The new BaNaNaS upload tool

Posted: 04 Jan 2019 15:22
by stefino_cz
Yes, it was due to wrong authors in .ini (I wrote CZTR Team before - when I use stefino_cz like my account nick, it is OK) and maybe wrong minimum version too. I uploaded it few minut ago so all is OK now. Thanks :)

Re: Introducing: musa. The new BaNaNaS upload tool

Posted: 16 May 2019 20:42
by andythenorth
Musa is now moved to OpenTTD github :)

https://github.com/OpenTTD/musa

Re: Introducing: musa. The new BaNaNaS upload tool

Posted: 27 Apr 2020 19:14
by orudge
I'm informed that Musa is no longer compatible with BaNaNaS 1.5 (launched today), so this topic has now been de-stickied.

Re: Introducing: musa. The new BaNaNaS upload tool

Posted: 27 Apr 2020 19:52
by frosch