Squid Ate FISH! 2.0.2 Released 8th April 2015

Find and discuss all the latest NewGRF releases for TTDPatch and OpenTTD here.

Moderator: Graphics Moderators


MlemandPurrs
Engineer
Engineer
Posts: 49
Joined: 07 Nov 2016 09:06

Re: Squid Ate FISH! 2.0.2 Released 8th April 2015

Post by MlemandPurrs »

This set needs expansion.
It needs mass passenger ships up until 1950(ships like Titanic), and non-steam versions of existing ships, inspecially passenger ferries at later years.
Ended up still using Castle Point Steamers at around 1967 as an modernized version of that capacity doesnt appear, either only ever larger ones that would cause huge losses running around half empty or slower ones.


MlemandPurrs
Engineer
Engineer
Posts: 49
Joined: 07 Nov 2016 09:06

Re: Squid Ate FISH! 2.0.2 Released 8th April 2015

Post by MlemandPurrs »

andythenorth wrote:This set is no longer being developed :D
oh, well :|

User avatar
Emperor Jake
Tycoon
Tycoon
Posts: 3173
Joined: 24 Apr 2007 09:37
Location: NSW Australia

Re: Squid Ate FISH! 2.0.2 Released 8th April 2015

Post by Emperor Jake »

Hi, I'm trying to compile the source code from http://bundles.openttdcoop.org/fish/nightlies/LATEST/

...but I need some help with the python end of things. I keep getting this error even though I have chameleon installed. I have both python2.7 and 3.6 and am running Linux Mint 19. I'm able to compile FIRS 3 code as well, so I'm not sure what's missing. Thanks for any help in advance :)

Code: Select all

[GENERATE]
[BUILD] build_fish.py
[RENDER NML] render_nml.py
[PARSE CONFIG] FISH.py
Traceback (most recent call last):
  File "src/build_fish.py", line 15, in <module>
    import render_nml
  File "/home/jake/GRF/fish1672/src/render_nml.py", line 11, in <module>
    import fish
  File "/home/jake/GRF/fish1672/src/fish.py", line 29, in <module>
    from rosters import brit
  File "/home/jake/GRF/fish1672/src/rosters/brit.py", line 3, in <module>
    from ships import altamira_freighter
  File "/home/jake/GRF/fish1672/src/ships/altamira_freighter.py", line 2, in <module>
    from ship import GeneralCargoVessel
  File "/home/jake/GRF/fish1672/src/ship.py", line 13, in <module>
    from chameleon import PageTemplateLoader # chameleon used in most template cases
ModuleNotFoundError: No module named 'chameleon'
Makefile.in:15: recipe for target 'fish-nml' failed
make: *** [fish-nml] Error 1


User avatar
andythenorth
Tycoon
Tycoon
Posts: 5218
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: Squid Ate FISH! 2.0.2 Released 8th April 2015

Post by andythenorth »

Error looks like Chameleon isn't found? https://pypi.org/project/Chameleon/

I can't remember whether the Squid Ate FISH compile is python 2 or 3, sorry :) If it's python 2, there might be shenanigans (solvable) with nmlc being python 3.

User avatar
Emperor Jake
Tycoon
Tycoon
Posts: 3173
Joined: 24 Apr 2007 09:37
Location: NSW Australia

Re: Squid Ate FISH! 2.0.2 Released 8th April 2015

Post by Emperor Jake »

andythenorth wrote:
18 Apr 2020 13:06
Error looks like Chameleon isn't found? https://pypi.org/project/Chameleon/
That's exactly the problem, Chameleon is definitely installed, I've checked multiple times. Like I said I can compile FIRS which needs chameleon too.

However it's all a litle confusing because I have 3 python versions and they each have a dist-packages folder in both /usr/local/lib and /home/jake/.local/lib. Aslo makefiles are confusing, I was able to point FIRS's makefile to my python3.6 install and everything worked, but the FISH one looks completely different.

Ah well, I just wanted to see if I could enable the hidden code I found :wink:

arikover
Route Supervisor
Route Supervisor
Posts: 422
Joined: 15 Jun 2007 09:27
Skype: madchimiste
Location: Berlin, Deutschland

Re: Squid Ate FISH! 2.0.2 Released 8th April 2015

Post by arikover »

Emperor Jake wrote:
19 Apr 2020 07:27
On Ubuntu 18.04, I had a problem when installing things for Python with pip.
Turns out Python 2.x.x is called with 'python <script.py>', and packages are installed with 'pip install <package>'
But Python 3.x.x is clled with 'python3 <script.py>', and packages are installed with 'pip3 install <package>'

Maybe you installed chameleon for Python 2, but as you run Python 3, the package is not found...


User avatar
Emperor Jake
Tycoon
Tycoon
Posts: 3173
Joined: 24 Apr 2007 09:37
Location: NSW Australia

Re: Squid Ate FISH! 2.0.2 Released 8th April 2015

Post by Emperor Jake »

So the issue is that I have both python3.6 (the one that has chameleon) and python3.7 (the one that came with my OS install) and what I did with FIRS was to point the makefile to 3.6 specifically, but I can't find a way to do that with FISH. I'll just have to try some different things and hope I don't break something...

Maybe it's best to figure out how the virtualenv works...

User avatar
andythenorth
Tycoon
Tycoon
Posts: 5218
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: Squid Ate FISH! 2.0.2 Released 8th April 2015

Post by andythenorth »

virtualenv is initially baffling, but once you have it activated, it insulates from python problems.

If that doesn't work, you can probably set the path to python in the older makefile, it's just more complex.

User avatar
Emperor Jake
Tycoon
Tycoon
Posts: 3173
Joined: 24 Apr 2007 09:37
Location: NSW Australia

Re: Squid Ate FISH! 2.0.2 Released 8th April 2015

Post by Emperor Jake »

andythenorth wrote:
20 Apr 2020 16:49
virtualenv is initially baffling, but once you have it activated, it insulates from python problems.

If that doesn't work, you can probably set the path to python in the older makefile, it's just more complex.
Seems like the opposite was true, turns out after all this faffing around with pip and virtualenvs (and failing) all I had to do was change a single line in the makefile.in to point it to the version I needed :lol:

Anyway, thanks for your help, I got it working now.

Another question: is there anywhere where I can find source files for much older nightly versions of FISH? The openttdcoop bundles site only goes back to 2015 or so.


Post Reply

Return to “Graphics Releases”

Who is online

Users browsing this forum: Google Adsense [Bot], Rudolfph and 8 guests