Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Internal Server Error
#1
hi there,

when i try to run manually the program, executing program "run once" i'm getting error  "500 internal server error"

here the log:



Code:
tazo@-sip:~/SIP$ sudo /usr/bin/python  /home/tazo/SIP/sip.py
ALARM from Example_Sender!: Just an example!
Monthly Adjust: Setting water level to 100%
Pressure plugin is active
Waiting...
telegramBot plugin is active
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
plugins loaded:
  mobile_app
  monthly_adj
  mqtt
  mqtt_schedule
  mqtt_slave
  mqtt_zones
  plugin_manager
  pressure_adj
  relay
  relay_board
  signaling_examples
  system_update
  telegramBot
  weather_adj
  weather_level_adj
Starting timing loop

http://:::80/
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
::ffff:192.168.1.214:53474 - - [17/May/2019 14:19:02] "HTTP/1.1 GET /" - 200 OK
::ffff:192.168.1.214:53474 - - [17/May/2019 14:19:02] "HTTP/1.1 GET /static/images/favicon-16x16.png" - 200
::ffff:192.168.1.214:53488 - - [17/May/2019 14:19:03] "HTTP/1.1 GET /api/status" - 200 OK
::ffff:192.168.1.214:53486 - - [17/May/2019 14:19:03] "HTTP/1.1 GET /api/log" - 200 OK
::ffff:192.168.1.214:53488 - - [17/May/2019 14:19:04] "HTTP/1.1 GET /api/log" - 200 OK
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
::ffff:192.168.1.214:53488 - - [17/May/2019 14:19:11] "HTTP/1.1 GET /vr" - 200 OK
::ffff:192.168.1.214:53488 - - [17/May/2019 14:19:11] "HTTP/1.1 GET /api/log" - 200 OK
Some Stations has been scheduled: [[0, 0, 0, 0], [0, 0, 0, 0], [1558102756, 1558102816, 60, 98], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]
Traceback (most recent call last):
  File "/home/takezo/SIP/web/application.py", line 239, in process
    return self.handle()
  File "/home/takezo/SIP/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/home/takezo/SIP/web/application.py", line 423, in _delegate
    return handle_class(cls)
  File "/home/takezo/SIP/web/application.py", line 399, in handle_class
    return tocall(*args)
  File "/home/takezo/SIP/webpages.py", line 386, in GET
    schedule_stations(stations)
  File "/home/takezo/SIP/helpers.py", line 448, in schedule_stations
    report_stations_scheduled()
  File "/home/takezo/SIP/helpers.py", line 61, in report_stations_scheduled
    stations_scheduled.send('SIP',txt=txt)
  File "/home/takezo/SIP/blinker/base.py", line 267, in send
    for receiver in self.receivers_for(sender)]
  File "/home/takezo/SIP/plugins/telegramBot.py", line 227, in notifyStationScheduled
    txt += get_running_programs_rs()
  File "/home/takezo/SIP/plugins/telegramBot.py", line 253, in get_running_programs_rs
    txt += '\n<b>{}</b> - '.format(sname)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 15: ordinal not in range(128)

::ffff:192.168.1.214:53488 - - [17/May/2019 14:19:19] "HTTP/1.1 GET /cr" - 500 Internal Server Error
::ffff:192.168.1.214:53488 - - [17/May/2019 14:19:20] "HTTP/1.1 GET /favicon.ico" - 303 See Other
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
::ffff:192.168.1.214:53522 - - [17/May/2019 14:20:17] "HTTP/1.1 GET /api/log" - 200 OK
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"
::ffff:192.168.1.214:53542 - - [17/May/2019 14:21:19] "HTTP/1.1 GET /api/log" - 200 OK
::ffff:192.168.1.214:53560 - - [17/May/2019 14:22:21] "HTTP/1.1 GET /api/log" - 200 OK

--


apart of this internal error 500 i'm also getting error :


Code:
Update "None" caused error "Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)"


Any idea..?

thank you so much for your support !!
Reply
#2
See the answer I posted on GitHub.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)