The International Simutrans Forum

 

Author Topic: [solved] nightly (weekly) generation of the Pak  (Read 3013 times)

0 Members and 1 Guest are viewing this topic.

Offline wernieman

  • Devotees (Inactive)
  • *
  • Posts: 713
    • Werniemans-Webside (only German)
[solved] nightly (weekly) generation of the Pak
« on: November 29, 2012, 09:15:21 AM »
Hello,

with the last generation of the PAK I get a problem:
Code: [Select]
Error:: No such file or directory
ERROR IN CLASS image_writer_t: cannot open boats/./images/bht-150-cargo-empty.png
make: *** [boats] Fehler 1
Greeting,
Werner
« Last Edit: December 19, 2012, 09:04:04 AM by wernieman »

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: nightly (weekly) generation of the Pak
« Reply #1 on: November 29, 2012, 02:44:05 PM »
wernieman
the bht-150-cargo-empty.png works i have the png file test with
paint.net v3.5.10 for windows 7 64bit and Xnview 1.99.5 for Windows 7 64bit

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: nightly (weekly) generation of the Pak
« Reply #2 on: November 29, 2012, 02:50:42 PM »
As usual, the problem goes with the capitalization.

Image files are in caps, reference in dat is lowcase.

This is completely irrelevant in Windows, but raises havoc in *nix systems.

(THis is a well known problem also in Pak128)

Quote from: SVN
BHT-130.png    1047    4 days    thehooduk    ADD: hovercraft
  BHT-150-cargo-cool.png    1047    4 days    thehooduk    ADD: hovercraft
  BHT-150-cargo-empty.png    1047    4 days    thehooduk    ADD: hovercraft
  BHT-150-cargo-piece.png    1047    4 days    thehooduk    ADD: hovercraft

Code: [Select]

1 obj=vehicle
2 name=BHT-150(Piece)
3 copyright=James
4 waytype=water
5 engine_type=diesel
6 smoke=diesel
7 speed=90
8 power=900
9 gear=100
10 freight=Bucher
11 payload=30
12 weight=54
13 length=10
14 cost=40000
15 runningcost=9
16 intro_year=2005
17 intro_month=1
18
19
20 Constraint[Prev][0]=none
21 Constraint[Next][0]=none
22
23 EmptyImage[E]=./images/bht-150-cargo-empty.1.0
24 EmptyImage[SE]=./images/bht-150-cargo-empty.1.1
25 EmptyImage[S]=./images/bht-150-cargo-empty.1.2
26 EmptyImage[SW]=./images/bht-150-cargo-empty.1.3
27 EmptyImage[W]=./images/bht-150-cargo-empty.1.4
28 EmptyImage[NW]=./images/bht-150-cargo-empty.1.5
29 EmptyImage[N]=./images/bht-150-cargo-empty.1.6
30 EmptyImage[NE]=./images/bht-150-cargo-empty.1.7
31
32 FreightImage[E]=./images/bht-150-cargo-piece.1.0
33 FreightImage[SE]=./images/bht-150-cargo-piece.1.1
34 FreightImage[S]=./images/bht-150-cargo-piece.1.2
35 FreightImage[SW]=./images/bht-150-cargo-piece.1.3
36 FreightImage[W]=./images/bht-150-cargo-piece.1.4
37 FreightImage[NW]=./images/bht-150-cargo-piece.1.5
38 FreightImage[N]=./images/bht-150-cargo-piece.1.6
39 FreightImage[NE]=./images/bht-150-cargo-piece.1.7
40 ---
41 obj=vehicle
42 name=BHC-bht-150_400(Cool)
43 copyright=James
44 waytype=water
45 engine_type=diesel
46 smoke=diesel
47 speed=90
48 power=900
49 gear=100
50 freight=meat
51 payload=30
52 weight=54
53 length=10
54 cost=40000
55 runningcost=9
56 intro_year=2005
57 intro_month=1
58
59
60 Constraint[Prev][0]=none
61 Constraint[Next][0]=none
62
63 EmptyImage[E]=./images/bht-150-cargo-empty.1.0
64 EmptyImage[SE]=./images/bht-150-cargo-empty.1.1
65 EmptyImage[S]=./images/bht-150-cargo-empty.1.2
66 EmptyImage[SW]=./images/bht-150-cargo-empty.1.3
67 EmptyImage[W]=./images/bht-150-cargo-empty.1.4
68 EmptyImage[NW]=./images/bht-150-cargo-empty.1.5
69 EmptyImage[N]=./images/bht-150-cargo-empty.1.6
70 EmptyImage[NE]=./images/bht-150-cargo-empty.1.7
71
72 FreightImage[E]=./images/bht-150-cargo-cool.1.0
73 FreightImage[SE]=./images/bht-150-cargo-cool.1.1
74 FreightImage[S]=./images/bht-150-cargo-cool.1.2
75 FreightImage[SW]=./images/bht-150-cargo-cool.1.3
76 FreightImage[W]=./images/bht-150-cargo-cool.1.4
77 FreightImage[NW]=./images/bht-150-cargo-cool.1.5
78 FreightImage[N]=./images/bht-150-cargo-cool.1.6
79 FreightImage[NE]=./images/bht-150-cargo-cool.1.7
80 ---

Offline wernieman

  • Devotees (Inactive)
  • *
  • Posts: 713
    • Werniemans-Webside (only German)
Re: nightly (weekly) generation of the Pak
« Reply #3 on: November 29, 2012, 03:16:12 PM »
Yes ...  it it will be better, to solfe it, than to ignore it. MAC User could have the same Problem.

And ... in the Future, Windows could have the Problem too.
« Last Edit: November 29, 2012, 03:21:56 PM by wernieman »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9472
  • Languages: De,EN,JP
Re: nightly (weekly) generation of the Pak
« Reply #4 on: November 29, 2012, 04:26:55 PM »
I could enable a filter in sourceforge which forces lowercase file names ...

Offline wernieman

  • Devotees (Inactive)
  • *
  • Posts: 713
    • Werniemans-Webside (only German)
Re: nightly (weekly) generation of the Pak
« Reply #5 on: November 29, 2012, 04:35:16 PM »
But in the config-File, you have Uper/Lowercase-Filename and on Windows (at the Moment) it works. But on Linux not.

So this is not "the solution"

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: nightly (weekly) generation of the Pak
« Reply #6 on: November 29, 2012, 05:24:00 PM »
I should know better, having run linux in the past. My fault entirely and I will fix the file names...

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: nightly (weekly) generation of the Pak
« Reply #7 on: November 29, 2012, 10:13:49 PM »
Should be fixed now...

Offline wernieman

  • Devotees (Inactive)
  • *
  • Posts: 713
    • Werniemans-Webside (only German)
Re: nightly (weekly) generation of the Pak
« Reply #8 on: November 30, 2012, 08:29:28 AM »
Thanks .. the next Test will be next week :o)