Czy wiesz, bot Libre zapewnia również bezpłatne wysłany przez czat na swojej stronie internetowej lub aplikacji mobilnej?
Bugs and Features

Can't delete Memory knowledge

w Gandolfos wysłany Mar 2 2014, 1:16

when i delete memory, than the number is count up. why?

Warning like this:
2014-03-02 01:17:44.67 - WARNING -- DatabaseMemory(active(0), long(0)):javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.0.v20130919-377691b): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: org.postgresql.util.PSQLException: ERROR: relation "rl_meta_indx2" already exists
Error Code: 0
Call: create index RL_META_INDX2 on RELATIONSHIP (META_ID)
Query: DataModifyQuery(sql="create index RL_META_INDX2 on RELATIONSHIP (META_ID)")


by admin posted Mar 2 2014, 7:56
Hello Gandolfos,
  What bot are you trying to erase? Give me the name, and I will take a look at it. Do you want me to erase its entire memory?

Note, when you erase a bot's memory it will rebootstrap, so its memory will not be left a 0, but it should not go up, that would mean the erase failed, possibly due to database locks. The error above is normal and not the issue (it is just checking that an index was created).

Updated: Mar 2 2014, 7:57
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 4360, today: 0, week: 3, month: 30

by Gandolfos posted Mar 2 2014, 22:22
Hi,

its ok, i want to delete the complete bot. "TravelrBot"

there are some other problems with rss. cant delete rss feed permanently. next day it is back!

but now i have problems to delete the complete bot, here the error message:

Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.0.v20130919-377691b): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: org.postgresql.util.PSQLException: ERROR: update or delete on table "pandorainstance" violates foreign key constraint "fk_chatchannel_bot_id" on table "chatchannel"
  Detail: Key (id)=(12263) is still referenced from table "chatchannel".
Error Code: 0
Call: DELETE FROM PANDORAINSTANCE WHERE (ID = ?)
bind => [12263]
Query: DeleteObjectQuery(PandoraInstance(TravelrBot))

please delete this bot.

cheers Gandolfos

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5139, today: 0, week: 7, month: 50

by admin posted Mar 3 2014, 4:27
The issue was that there was a live chat room still pointing to your bot, so it could not be deleted until its reference from the chat room was removed. I have deleted your bot, and fixed the issue to automatically remove bot references on delete.

Thank you for reporting the Twitter feed issue, I have fixed it, and should update the website sometime this week. For now you can just put a single invalid feed in your RSS so it will not post anything.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 4435, today: 0, week: 4, month: 37

Identyfikator: 12376
Tagi: memory twitter
Wysłany: Mar 2 2014, 1:16
Aktualizacja: Mar 2 2014, 1:19
Odpowiedzi: 1
Widok: 3233, dziś: 1, tydzień: 8, miesiąc: 27
0 0 0.0/5