import vpn configuration failed



Hi,

When I import a configuration file in the NM-vpnc, it prompt

(nm-connection-editor:29232): Pango-WARNING **: Invalid UTF-8 string
passed to pango_layout_set_text()

(nm-connection-editor:29232): Pango-WARNING **: Invalid UTF-8 string
passed to pango_layout_set_text()

** (nm-connection-editor:29232): WARNING **: add_connection: unhandled
connection scope 0!

First, does the connection name support utf-8 character?
Second, should the plugin add scope? User or System for importing
configuration file.

And I add below code, it no warning, but still import failed.

NMConnectionScope scope = NM_CONNECTION_SCOPE_USER;
....
nm_connection_add_setting (connection, NM_SETTING (s_con));
nm_connection_set_scope (connection, scope);          // Add scope

Thanks!

Sincerely Yours,

Bin Li

http://cn.opensuse.org

Attachment: test.pcf
Description: application/font-pcf



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]