problem in nid value

View: New views
1 Messages — Rating Filter:   Alert me  

problem in nid value

by HimanshuChauhan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
ERROR MESSAGE

Error Type
ProgrammingError
Error Value
invalid byte sequence for encoding "UTF8": 0xe72fae HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".

This problem which we mentioned was because of nid which is given to the object.

dict_o_language = {
        'nid':'简体中文',#language name
        'uid':'1',
        'status':'Public',
        'content':"",
        'title':[''],
        'description':"chinese is one of the language.",
        'instanceof':['language']
        }

context.gnowql.manageAddObject( dict_o_language )
 
But if we do put the above nid value as title and viceversa then the object gets added in gnowsys.

dict_o_language = {
        'nid':'chinese',
        'uid':'1',
        'status':'Public',
        'content':"",
        'title':['简体中文'],
        'description':"chinese is one of the language.",
        'instanceof':['language']
        }

context.gnowql.manageAddObject( dict_o_language )

So now how shall we proceed??



Himanshu
Khushbu
Deepti


Now you can chat without downloading messenger. Click here to know how.
_______________________________________________
Gnowsys-help mailing list
Gnowsys-help@...
http://lists.gnu.org/mailman/listinfo/gnowsys-help