Introducing: musa. The new BaNaNaS upload tool
Moderator: OpenTTD Developers
- stefino_cz
- Transport Coordinator
- Posts: 268
- Joined: 02 Jul 2015 08:05
- Location: Czech Republic
- Contact:
Re: Introducing: musa. The new BaNaNaS upload tool
Yes, but when I write "yes I am" it writes that I'm not author of this grf 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
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.
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.
- stefino_cz
- Transport Coordinator
- Posts: 268
- Joined: 02 Jul 2015 08:05
- Location: Czech Republic
- Contact:
Re: Introducing: musa. The new BaNaNaS upload tool
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.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Introducing: musa. The new BaNaNaS upload tool
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
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):
(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.
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/*
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
Cheers,
planetmaker.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Introducing: musa. The new BaNaNaS upload tool
Hi,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.
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).
Now I tried it from linux. But same error:
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
- Attachments
-
- musa.png (36.3 KiB) Viewed 738 times
-
- CZTR_Ground.zip
- (23.55 MiB) Downloaded 164 times
-
- musa_error_win_2019-01-03.png (27.63 KiB) Viewed 738 times
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Introducing: musa. The new BaNaNaS upload tool
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?
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Introducing: musa. The new BaNaNaS upload tool
and with -d option is samevasatko wrote:Bananas.ini and other files is in ZIP (attached to this post).
Re: Introducing: musa. The new BaNaNaS upload tool
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?
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
- stefino_cz
- Transport Coordinator
- Posts: 268
- Joined: 02 Jul 2015 08:05
- Location: Czech Republic
- Contact:
Re: Introducing: musa. The new BaNaNaS upload tool
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
- andythenorth
- Tycoon
- Posts: 5656
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: Introducing: musa. The new BaNaNaS upload tool
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
- orudge
- Administrator
- Posts: 25134
- Joined: 26 Jan 2001 20:18
- Skype: orudge
- Location: Banchory, UK
- Contact:
Re: Introducing: musa. The new BaNaNaS upload tool
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
Musa has been replaced with https://github.com/OpenTTD/bananas-frontend-cli
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
Who is online
Users browsing this forum: No registered users and 8 guests