| Summary: | after successful Deploy, error message still printing | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Anjuta Plugin | Reporter: | liping Ke <liping.ke> |
| Component: | anjuta-plugin | Assignee: | liping Ke <liping.ke> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | High | CC: | jessica.zhang, josh, liping.ke, sgw, yp.ap.watcher, yp.watcher |
| Version: | 0.9 | ||
| Target Milestone: | 0.9 M1 | ||
| Hardware: | All | ||
| OS: | x86 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Program Management | Documentation change: | --- |
|
Description
liping Ke
2010-05-18 03:26:25 UTC
Hi, Jessica The root cause is that when doing deploy after local_install, callback deploy_launcher_child_exited_cb will be triggered and do deploy_set_state (sp, DEPLOY_STATE_COPY); After doing deploy_do_copy, deploy_launcher_child_exited_cb will be triggered again and then do deploy_do_delete (AnjutaPluginSdk *sp). before calling the first vfs_ops, gnome_vfs_uri_new, gnome_vfs_init is not called. So uri is NULL. Some warning "Did you call _gnome_vfs_configuration_init" will be prompted. When I add gnome_vfs_init before calling gnome_vfs_uri_new in plugin.c, everyting is just fine. I will send out the patch and close the bug later. Thanks& Regards, criping paste func desc: gboolean gnome_vfs_init (void); If gnome-vfs is not already initialized, initialize it. This must be called prior to performing any other gnome-vfs operations, and may be called multiple times without error. Returns : TRUE if gnome-vfs is successfully initialized (or was already initialized). Fixed in 0.7.1 Hi, saul This bug is verified and checked in by Josh. The code is checked into upstream tagged with 0.7.1. The bug could be marked with "verified" and closed. Thanks& Regards, criping |