Jump to content

razwanrazaq

Members
  • Posts

    13
  • Joined

  • Last visited

razwanrazaq's Achievements

Rookie

Rookie (2/14)

  • Dedicated Rare
  • Week One Done Rare
  • Collaborator Rare
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. yes this seems to be working better now. Will continue to test further. Thanks
  2. Please install the below pip install google-api-python-client openai
  3. No still not working, it seems to be gettign stuck on the youtube api call, this loads instantly on my machine. Are there any restrictions from the server to this url? 2025-02-12 21:36:04,373 - INFO - Start of script 2025-02-12 21:36:04,374 - INFO - main script start 2025-02-12 21:36:04,388 - INFO - file_cache is only supported with oauth2client<4.0.0 2025-02-12 21:36:04,404 - DEBUG - URL being requested: GET https://youtube.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=PL6iyqX0myJ2H-0gSt6qMmA5ztI1jdnRZV&maxResults=1&key=AIzaSyDt7H2TpNiCYPwbTMnm_zHVovDnhjQX8PA&alt=json
  4. so takes around a minute in total, below are some bits of the local log where the server script fails: 2025-02-11 21:39:49,432 - INFO - Start of script 2025-02-11 21:39:49,432 - INFO - main script start 2025-02-11 21:39:49,441 - INFO - file_cache is only supported with oauth2client<4.0.0 2025-02-11 21:39:49,451 - DEBUG - URL being requested: GET https://youtube.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=PL6iyqX0myJ2H-0gSt6qMmA5ztI1jdnRZV&maxResults=1&key=AIzaSyDt7H2TpNiCYPwbTMnm_zHVovDnhjQX8PA&alt=json 2025-02-11 21:39:49,815 - INFO - got video 2025-02-11 21:39:49,815 - INFO - foud video 2025-02-11 21:39:49,819 - DEBUG - Starting new HTTPS connection (1): notegpt.io:443
  5. Also i have created a new file helioScript.cgi that i tried this with, the older file has some line ending/tab issues
  6. so yes, that has kind of worked but now i'm getting a different error. 2025-02-08 11:19:04 Error 146.90.205.82 504 GET /cgi-bin/tradingTheCloseTrades2.cgi HTTP/1.0 967 Apache SSL/TLS access 2025-02-08 11:20:04 Warning 146.90.205.82 AH01220: Timeout waiting for output from CGI script /home/razwanrazaq.helioho.st/httpdocs/cgi-bin/tradingTheCloseTrades2.cgi, referer: https://tommy.heliohost.org/ Apache error 2025-02-08 11:20:04 Error 146.90.205.82 Script timed out before returning headers: tradingTheCloseTrades2.cgi, referer: https://tommy.heliohost.org/ Apache error 2025-02-08 11:20:04 Error 146.90.205.82 3204009#0: *843175 upstream timed out (110: Connection timed out) while reading response header from upstream nginx error I created my own debug/log file and it gets a timeout on the below are there any restrictions on external urls/api's? 2025-02-11 09:23:44,238 - DEBUG - URL being requested: GET https://youtube.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=PL6iyqX0myJ2H-0gSt6qMmA5ztI1jdnRZV&maxResults=1&key=<removed>&alt=json
  7. So this script is correct and this function is within the script but I don't call this function in my code
  8. Yes that is a function but is not being called from the main script
  9. Hi I'm not opening any files in my code, is there a better way to see the errors? thanks Raz
  10. I didn't think it was opening any files but I will double check this
  11. Hi, im trying to run a python script via cgi folder but getting a 500 error but the error logs dont show any information. All i can see in the error logs is below: [Thu Feb 06 21:51:25.494273 2025] [cgid:error] [pid 104352:tid 104376] [client 146.90.205.82:0] AH01215: stderr from /home/razwanrazaq.helioho.st/httpdocs/cgi-bin/tradingTheCloseTrades2.cgi: failed to open log file /var/log/httpd/suexec_log, referer: https://tommy.heliohost.org/ [Thu Feb 06 21:51:25.494339 2025] [cgid:error] [pid 104352:tid 104376] [client 146.90.205.82:0] AH01215: stderr from /home/razwanrazaq.helioho.st/httpdocs/cgi-bin/tradingTheCloseTrades2.cgi: fopen: Permission denied, referer: https://tommy.heliohost.org/ [Thu Feb 06 21:51:25.494569 2025] [cgid:error] [pid 104352:tid 104376] [client 146.90.205.82:0] End of script output before headers: tradingTheCloseTrades2.cgi, referer: https://tommy.heliohost.org/ [Thu Feb 06 21:51:42.818643 2025] [cgid:error] [pid 104149:tid 104193] [client 146.90.205.82:0] AH01215: stderr from /home/razwanrazaq.helioho.st/httpdocs/cgi-bin/tradingTheCloseTrades2.cgi: failed to open log file /var/log/httpd/suexec_log, referer: https://tommy.heliohost.org/ [Thu Feb 06 21:51:42.818721 2025] [cgid:error] [pid 104149:tid 104193] [client 146.90.205.82:0] AH01215: stderr from /home/razwanrazaq.helioho.st/httpdocs/cgi-bin/tradingTheCloseTrades2.cgi: fopen: Permission denied, referer: https://tommy.heliohost.org/ [Thu Feb 06 21:51:42.819101 2025] [cgid:error] [pid 104149:tid 104193] [client 146.90.205.82:0] End of script output before headers: tradingTheCloseTrades2.cgi, referer: https://tommy.heliohost.org/ Please can you advise. thanks Razwan
  12. Not really, I'm happy to use 3.12
  13. Please can you install below python modules: pip install google-api-python-client openai im using tommy server, phython 3.9 and username razwanrazaq
×
×
  • Create New...