Now when I mount a share for the first time I get two messages one saying it mounted OK and the other that it failed, however the mount works and I can access the share. When I unmount the share I get also get two notifications one that it works and another the failure. After this unmount I have to Scan Computer again to get the share to mount. So it works kin d of and is usable with a bit of fiddling.
Is this a known issue? If not what can I do to help debug?
Stuart
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The Fedora packager also notified me that he got the notification that mounting failed while the mount actually worked. At the moment, it seems that only Fedora is affected...
Can you please give me the error message that was returned by mount.cifs and is attached to the notification? Or did the notification only read "Mounting the share //SERVER//Share failed."?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looking at the code, the only possibility that an error message like this can occur is that output was received on stderr that only contains spaces... I will take a look at this. Would you be willing to test a version with a potential fix?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well I just gave it a go this morning, not sure if I did it right as I am not very familiar with generating stuff like this, however it seemed to compile OK but I still have the problem with the same symptoms.
Running from the command line I see the following messages come up when trying to mount a share:-
smb4k(5653)/kdeui (KIconLoader) KIconLoaderPrivate::normalizeIconMetadata: Neither size nor group specified!
smb4k(5653)/kdeui (KIconLoader) KIconLoaderPrivate::normalizeIconMetadata: Neither size nor group specified!
have no idea if this helps or not!
Stuart
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Been double checking everything and now tested again, still fails. Meesages log shows this series of 4 messages on each attempt to mount or unmount the share:-
Jun 18 10:13:01 crowhill1 dbus[1108]: [system] Activating service name='de.berlios.smb4k.mounthelper' (using servicehelper)
Jun 18 10:13:01 crowhill1 dbus-daemon[1108]: dbus[1108]: [system] Activating service name='de.berlios.smb4k.mounthelper' (using servicehelper)
Jun 18 10:13:01 crowhill1 dbus[1108]: [system] Successfully activated service 'de.berlios.smb4k.mounthelper'
Jun 18 10:13:01 crowhill1 dbus-daemon[1108]: dbus[1108]: [system] Successfully activated service 'de.berlios.smb4k.mounthelper'
To a layman like me it might seem like the mount and unmount is issued twice so the 1st works and the second fails.
Stuart
Last edit: Stuart 2012-06-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to investigate this further. In my /var/log/syslog each message only occurs once and not twice... Maybe it's best to install Fedora 17 in Virtualbox, install Smb4K and see how it behaves there.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now when I mount a share for the first time I get two messages one saying it mounted OK and the other that it failed, however the mount works and I can access the share. When I unmount the share I get also get two notifications one that it works and another the failure. After this unmount I have to Scan Computer again to get the share to mount. So it works kin d of and is usable with a bit of fiddling.
Is this a known issue? If not what can I do to help debug?
Stuart
The Fedora packager also notified me that he got the notification that mounting failed while the mount actually worked. At the moment, it seems that only Fedora is affected...
Can you please give me the error message that was returned by mount.cifs and is attached to the notification? Or did the notification only read "Mounting the share //SERVER//Share failed."?
All I get in the notification is that mounting failed as you said. Messages log shows
Jun 12 07:54:08 crowhill1 dbus[1096]: [system] Activating service name='de.berlios.smb4k.mounthelper' (using servicehelper)
Jun 12 07:54:08 crowhill1 dbus-daemon[1096]: dbus[1096]: [system] Activating service name='de.berlios.smb4k.mounthelper' (using servicehelper)
Jun 12 07:54:09 crowhill1 dbus[1096]: [system] Successfully activated service 'de.berlios.smb4k.mounthelper'
Jun 12 07:54:09 crowhill1 dbus-daemon[1096]: dbus[1096]: [system] Successfully activated service 'de.berlios.smb4k.mounthelper'
Is that any help?
Stuart
Looking at the code, the only possibility that an error message like this can occur is that output was received on stderr that only contains spaces... I will take a look at this. Would you be willing to test a version with a potential fix?
Alexander I'll give it a go if/when you come up with something.
Stuart
I hope my guess was right and the attached patch fixes the problem. Can you please try it and give me some feedback?
Last edit: Alexander Reinholdt 2012-06-16
Well I just gave it a go this morning, not sure if I did it right as I am not very familiar with generating stuff like this, however it seemed to compile OK but I still have the problem with the same symptoms.
Running from the command line I see the following messages come up when trying to mount a share:-
smb4k(5653)/kdeui (KIconLoader) KIconLoaderPrivate::normalizeIconMetadata: Neither size nor group specified!
smb4k(5653)/kdeui (KIconLoader) KIconLoaderPrivate::normalizeIconMetadata: Neither size nor group specified!
have no idea if this helps or not!
Stuart
Been double checking everything and now tested again, still fails. Meesages log shows this series of 4 messages on each attempt to mount or unmount the share:-
Jun 18 10:13:01 crowhill1 dbus[1108]: [system] Activating service name='de.berlios.smb4k.mounthelper' (using servicehelper)
Jun 18 10:13:01 crowhill1 dbus-daemon[1108]: dbus[1108]: [system] Activating service name='de.berlios.smb4k.mounthelper' (using servicehelper)
Jun 18 10:13:01 crowhill1 dbus[1108]: [system] Successfully activated service 'de.berlios.smb4k.mounthelper'
Jun 18 10:13:01 crowhill1 dbus-daemon[1108]: dbus[1108]: [system] Successfully activated service 'de.berlios.smb4k.mounthelper'
To a layman like me it might seem like the mount and unmount is issued twice so the 1st works and the second fails.
Stuart
Last edit: Stuart 2012-06-18
I need to investigate this further. In my /var/log/syslog each message only occurs once and not twice... Maybe it's best to install Fedora 17 in Virtualbox, install Smb4K and see how it behaves there.
Same thing happens in Fedora 17 in Virtualbox two sets of messages. This is using the distibution version of SMB4K not the modified version.
Stuart
Last edit: Stuart 2012-06-19
Thank you for the information. I won't be able to investigate this issue before the weekend, but I hope will be able to find a solution then.
Thanks, its not a huge problem more of an annoyance....
Stuart
I found and fixed the problem(s). See attached patch. I will release Smb4K 1.0.3 shortly.
Thanks Alexander.... I'll give a recompile a go later.
Stuart
Alexander I did a new compile on a fresh copy of the source with this latest patch and all is working perfectly. Thanks for your effort here...
Stuart