generate script error

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
Quark
Transport Coordinator
Transport Coordinator
Posts: 325
Joined: 20 Sep 2006 11:36
Location: Russia, Moscow

generate script error

Post by Quark »

Code: Select all

$ projects/generate
: command not foundline 2:
: command not foundline 5:
'rojects/generate: line 40: syntax error near unexpected token `{
'rojects/generate: line 40: `load_main_data() {
what can cause this? and why «p» is missing?
I using cygwin to run script.
Image
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Post by Rubidium »

Did it ever work? What revision are you using? Does it happen in the latest revision?
Quark
Transport Coordinator
Transport Coordinator
Posts: 325
Joined: 20 Sep 2006 11:36
Location: Russia, Moscow

Post by Quark »

Rubidium wrote:Did it ever work? What revision are you using? Does it happen in the latest revision?
It don't work at some revision, but I find one that work (don't remember now). Trying to run at revision 8038. Will test all my previous revisions…

It work at revision 8496.
Image
Quark
Transport Coordinator
Transport Coordinator
Posts: 325
Joined: 20 Sep 2006 11:36
Location: Russia, Moscow

Post by Quark »

It seems that problem is in line endings, because after I sync with r.8496 it still refuses to work, while diff show no changes with trunk's file.

Also it seems that generate has some problems with some chars form «()[]+=» string — it can't find language files:

Code: Select all

…/src/lang/*.txt: No such file or directory
Image
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 22 guests