phpipam-scripts icon indicating copy to clipboard operation
phpipam-scripts copied to clipboard

Port to Python 3 + update for new PHPIpam versions

Open grea09 opened this issue 5 years ago • 2 comments

I have an issue with the main script file:

  File "/app/phpipam-scripts/phpipam-hosts", line 228
    print output
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(output)?

I changed to the Python 3 syntax and made sure errors and warnings don't pollute the output. Also the column dns_name seems to have changed to hostname.

grea09 avatar Feb 22 '20 15:02 grea09

My bad it's Python not PHP. I was working on two scripts at once and got confused.

grea09 avatar Feb 23 '20 02:02 grea09

Hello, need a little help. First of all THANK YOU all for your hard work. I managed to make all modifications needed for script to work. Now script is executed without any warnings or faults, but without any results also. No new conf file created or something. Can someone point me from where to start searching?

Thank you in advance!

larrybml avatar Jan 14 '22 11:01 larrybml