Tracker: Bugs

6 Do not fresh when delete, create or rename file - ID: 3561354
Last Update: Comment added ( lstranger )

Pcman version: 1.0.1
SO.: Debian squeeze 6.0
Setps to reproduce problem: open console, kill all pcmanprocess, lunch pcmanfm --no-desktop (this is to cacht error, but normaly, file monitor don´t refresh content, when you copy,delete or rename files )
error:
(pcmanfm:16161): DEBUG: error create file monitor
(pcmanfm:16161): DEBUG: file monitor cannot be created.


https://www.google.com/accounts ( https://www.google.com/accounts ) - 2012-08-24 11:42:17 PDT

6

Closed

Duplicate

Nobody/Anonymous

isn't related to libfm

1.2

Public


Comments ( 17 )

Date: 2012-09-23 14:00:32 PDT
Sender: lstranger

This is duplicate of #3556049 really.


Date: 2012-09-12 16:07:50 PDT
Sender: lstranger

Which gio modules you meant in (1)? It seems for me as incomplete glib
install or misconfiguration in cases (2)...(4).
Thank you.


Date: 2012-09-12 14:36:14 PDT
Sender: mckaygerhard

i finish test..

1) compiled gtk 2.18, glib 2.25.15+gio modules and then libfm+gio modules +
pcmanfm , works

2) compiles gtk 2.18, glib 2.25.15 none of gio modules and then libfm+gio
modules + pcmanfm , dont refresh files

3) compiled gtk 2.18, glib 2.25.15+gio modules and then libfm none of gio
modules + pcmanfm , dont refresh files

4) compiled gtk 2.18, glib 2.25.15, libfm none of thems without gio modules
+ pcmanfm , work ramdomly... reinstall FAM and works.. but install fam from
another hot build and dont works..

debug info are poor, i put enough pinrts in code.. noly prints.. and if no
gio module found, sais "cannot connect" etc etc ..




Date: 2012-09-03 10:27:10 PDT
Sender: mckaygerhard

i some busy now.. gime 3 days and i'll report rsults test


Date: 2012-08-31 09:54:08 PDT
Sender: lstranger

I've made fresh install of debian squeeze and installed latest
libfm+pcmanfm from git on it. Everything is fine. And no FAM daemon is
installed at all so it seems glib communicates with linux kernel without
any daemon (as PCMan noted already). Try to remove all FAM daemons then and
check again. Thank you.


Date: 2012-08-30 09:45:44 PDT
Sender: pcmanxProject AdminAccepting Donations

Your system must have something wrong.

1. Remove the gio-fam module and gamin/fam. If you have Linux kernel > 2.6,
you don't need it as gio can use inotify directly.

2. It's possible that a bug exist in libfm so it cannot parse the path you
passed in correctly. Hence the folder cannot be monitored. Try file
monitoring again by browsing / and create a new file under /. If everything
works, it's not the bug of pcmanfm. The path "/" requires no parsing or
decoding and should always be accessible. It should always work.
Otherwise, it's the bug of glib no matter what version you're using.

3. Try other file managers, such as nautilus. If it works, then there must
be something wrong with our code since they use gio to monitor the folders
too. If nautilus does not work, then either your system or glib is broken
but it's not the bug of pcmanfm.

Let us know the test result, please.


Date: 2012-08-30 06:19:52 PDT
Sender: mckaygerhard

@lstranger forget about nerv15.. please focuse it in problem...

u said that glib must have and gio-fam related module to monitoring, that
relies on functionality over fam/gamin so?

and that the libfm/gio modules must not be installed?

so in my relationed report, i will recompile as:
1) glib with a gio-fam included module
2) libfm without own gio module
3) install gamin and test
4) install fam either gamin and test..

so if this are correct and problem persist, so them theres some problem
comunicate it with glib in libfm,

I suggest u while I perform test , u must investigate how libfm was
implment today the differents glib/gio API

due i notice there was a notale difference between glib < 2.24 and glib >
2.26 vs the gvfs API,

this its very important due theres no fun installing light software that
relies in high requerimeints (high requeriments software then relies in
high hadware requeriments u capcha it)


Date: 2012-08-29 16:18:33 PDT
Sender: lstranger

Thank you for the report. It seems I said it all unclear.
Libfm doesn't use any FAM (such as Gamin) but it uses GIO monitoring
interface instead.
GIO uses gamin. And since you have two FAM services at once I suspect GIO
failed to use either of them. That is what I meant by term "conflict".
And about src/gio directory in the libfm sources I've said it's not used so
don't look into it. The GIO which is used by pcmanfm is part of GLib, not
some own one.
I hope this time I described it good enough to be understood by you.


Date: 2012-08-29 15:56:11 PDT
Sender: nerv15

Thanks for reply;
first you say, install gamin then you said libfm dont use gamin.
second you said is a conflict with gio.
third you said gio is for future use.
fine. Now i will replace pcman with Konkero
thanks for your time.
you can close this issuse.


Date: 2012-08-29 15:35:26 PDT
Sender: lstranger

Those gio modules of libfm are completely unused now and are just a stub
for future extensions. As I said already I doubt it is related to libfm at
all but still there is a chance to find a workaround, of course.


Date: 2012-08-28 21:06:03 PDT
Sender: mckaygerhard

http://sourceforge.net/tracker/?func=detail&atid=801864&aid=3556049&group_id=156956


Date: 2012-08-28 21:05:43 PDT
Sender: mckaygerhard

i see that bug are same as #3556049 as 3556049 ...

please i reply similar situation related to gio modules..


Date: 2012-08-28 15:02:35 PDT
Sender: nerv15

Thanks for the reply, How can i see that?, I notice that libfm comes with
some gio modules...


Date: 2012-08-28 13:48:04 PDT
Sender: lstranger

You probably don't know but pcmanfm itself uses neither gamin nor fam but
gio does so it may be some conflict in goi between gamin and fam. TBH, I
don't see how 0.9.7 may work in the same configuration where 1.0 does not.
OK, I'll make a fresh install of Debian squeeze and check it myself. Thank
you.


Date: 2012-08-28 08:46:23 PDT
Sender: nerv15

Thanks for reply.
I have gamin installed and works fine with previos version of pcman
(0.9.7), also i installed FAM (due compatibility with some mail transport
agent) and works, but with 1.0.1 or 0.9.10 dont work.
I tested pcman 1.0.1 build against gamin from sit (with fam ABI
compatibility pacht), and work only if you pres f5 after file operation,
also i tested against FAM.
in both test, i have installed FAM demon and GAMIN demon respectively.


Date: 2012-08-28 06:38:09 PDT
Sender: lstranger

The diagnostics '(pcmanfm:16161): DEBUG: file monitor cannot be created.'
clearly says it's problem of gio's FAM backend. Do you have a package
'gamin' installed and configured correctly?


Date: 2012-08-27 10:31:17 PDT
Sender: nerv15

Hi, I reported this bug, i like to known if you can fixed, i downloaded
lasted pcman from git, and still the error is present.


Attached File

No Files Currently Attached

Changes ( 7 )

Field Old Value Date By
status_id Open 2012-09-23 14:00:32 PDT lstranger
resolution_id None 2012-09-23 14:00:32 PDT lstranger
allow_comments 1 2012-09-23 14:00:32 PDT lstranger
close_date - 2012-09-23 14:00:32 PDT lstranger
artifact_group_id 1.0.1 2012-09-01 14:41:43 PDT lstranger
priority 5 2012-08-28 06:38:09 PDT lstranger
category_id pcmanfm 2012-08-28 06:38:09 PDT lstranger