Jump to content

alewis

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by alewis

  1. Thank you! Where are you seeing this error? It's not in error_log - the messages there are not as helpful. I've switched to io.BytesIO but still no images. So I suspect the problem has just shifted somewhere else, but with only the generic message from error_log it's hard to know where. Andy
  2. OK, I've changed the shebang line to reference Python 3.12 specifically now. But still no images unfortunately. The error log says it is sendthumb.cgi which is failing, but I can't see anything in there which needs to change between Python 2 and Python 3. So I'm a bit stuck at the moment. Thanks for your help! Andy
  3. OK, I have updated the code in index.cgi to Python 3, and the text on the page now displays. But photos on the page are not being displayed. Is it possible that the PIL module (Python Imaging Library, now known as "pillow") was not reinstalled when the migration occurred? Could you check, and install it if it is missing? Many thanks! Andy
  4. I usually check it every 30 days when I get reminded to log in to my account, but I might have missed doing that the last time. So it could be a couple of months since it worked. When was the Tommy migration? Anyway, it looks like I need to migrate my code to Python 3. I'll do that and see whether that fixes the problem. Thank you Andy
  5. Hello My website (https://alewis.helioho.st/savagephotos/ ) was working the last time I visited it. But now, despite the fact that I have made no changes, it gives a "500 Internal Server Error" message. The entries in the log file are: [Tue Nov 12 11:37:47.451346 2024] [cgid:error] [pid 1551276:tid 1551321] [client 82.17.75.43:0] failed to open log file /var/log/httpd/suexec_log: /home/alewis.helioho.st/httpdocs/savagephotos/index.cgi, referer: https://helionet.org/ [Tue Nov 12 11:37:47.451494 2024] [cgid:error] [pid 1551276:tid 1551321] [client 82.17.75.43:0] fopen: Permission denied: /home/alewis.helioho.st/httpdocs/savagephotos/index.cgi, referer: https://helionet.org/ [Tue Nov 12 11:37:47.452069 2024] [cgid:error] [pid 1551276:tid 1551321] [client 82.17.75.43:0] End of script output before headers: index.cgi, referer: https://helionet.org/ So it appears that index.cgi cannot run because suexec_log cannot be opened? I don't think I have access to that file to check what is happening? I would be grateful if somebody could look into it. Many thanks Andy
  6. Thank you very much - website is all working now.
  7. Hello Krydos My code is quite old, it has been hosted elsewhere for a number of years. That's why it is written in Python 2.7. I could update it to Python 3, but if you can install Pillow 6.2.2 that will be fine. In its current home it is using Pillow 5.1.0. Many thanks Andy
  8. Hello I have migrated my website to Heliohost and it is almost working, but it needs the Python module Pillow (aka Python Imaging Library). Please could you install that? I'm on Tommy, and using python 2.7. [It's either pip install Pillow, or (depending on the distro) install via package manager - on my own machine I use apt-get install python-pil] Many thanks! Andy
×
×
  • Create New...