Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Fri Feb 22, 2019 11:39 pm

All times are UTC




Post new topic  Reply to topic  [ 69 posts ]  Go to page Previous 1 2 3 4
Author Message
PostPosted: Tue Dec 25, 2018 11:28 am 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Thu Jul 02, 2015 8:05 am
Posts: 166
Location: Czech Republic
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.

_________________
Image


Top
   
PostPosted: Wed Dec 26, 2018 2:28 am 
Offline
Engineer
Engineer

Joined: Wed May 24, 2017 12:51 pm
Posts: 38
Location: East Texas
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.

_________________
Unless otherwise stated, all my code is GPL v2.


Top
   
PostPosted: Wed Dec 26, 2018 10:08 am 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Thu Jul 02, 2015 8:05 am
Posts: 166
Location: Czech Republic
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.
Attachment:
Výstřižek.JPG
Výstřižek.JPG [ 61.99 KiB | Viewed 1714 times ]

_________________
Image


Top
   
PostPosted: Wed Jan 02, 2019 10:03 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9176
Location: Sol d
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:
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:
[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.

_________________
Image
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


Top
   
PostPosted: Thu Jan 03, 2019 11:51 am 
Offline
Engineer
Engineer
User avatar

Joined: Thu Feb 01, 2018 12:36 pm
Posts: 15
Location: Czech Republic, Ostrava
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


Attachments:
musa.png [36.3 KiB]
Not downloaded yet
CZTR_Ground.zip [23.55 MiB]
Downloaded 22 times
musa_error_win_2019-01-03.png [27.63 KiB]
Not downloaded yet

_________________
Image
Top
   
PostPosted: Thu Jan 03, 2019 10:53 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9176
Location: Sol d
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?

_________________
Image
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


Top
   
PostPosted: Fri Jan 04, 2019 8:58 am 
Offline
Engineer
Engineer
User avatar

Joined: Thu Feb 01, 2018 12:36 pm
Posts: 15
Location: Czech Republic, Ostrava
vasatko wrote:
Bananas.ini and other files is in ZIP (attached to this post).


and with -d option is same

_________________
Image


Top
   
PostPosted: Fri Jan 04, 2019 9:29 am 
Offline
Traffic Manager
Traffic Manager

Joined: Fri Apr 14, 2017 3:51 pm
Posts: 137
Location: Czech Republic
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:
Experimental games 01 (92.63.57.152:3979), Experimental games 02 (92.63.57.152:3879), Experimental games 03 (92.63.57.152:3779).
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My newGRFs: ---


Top
   
PostPosted: Fri Jan 04, 2019 3:22 pm 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Thu Jul 02, 2015 8:05 am
Posts: 166
Location: Czech Republic
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 :)

_________________
Image


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 69 posts ]  Go to page Previous 1 2 3 4

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2019 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2019.
Hosted by Zernebok Hosting.