Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatter does not show up sd device. #2189

Open
CyberLPKF opened this issue Aug 11, 2019 · 8 comments
Open

Formatter does not show up sd device. #2189

CyberLPKF opened this issue Aug 11, 2019 · 8 comments

Comments

@CyberLPKF
Copy link

Hello All,

I'm using cinnamon 4.2.3 at Linux Mint 19.2, GeForce GTX 850M and NVidia Driver 430.40. and kernel 5.0.0-23-generic on a 64 bits system.

Issue
SD card is not show up on device formatter as we can see at attached screenshot.

Steps to reproduce
Just put a working sd card on reader, open nemo, right click on device and select 'Format'.

Expected behaviour
In this case, formatter show up /dev/mmcblk0p1
xsession-errors.txt
Captura de tela de 2019-08-11

Other information

@leigh123linux leigh123linux transferred this issue from linuxmint/cinnamon Aug 11, 2019
@JosephMcc
Copy link
Contributor

I know this was moved here but the app shown for formatting is actually mintstick so it could be an issue there as well.

@leigh123linux
Copy link
Contributor

@JosephMcc The transfer tool doesn't have mintstick listed here.

@mtwebster
Copy link
Member

Could you disable all actions (edit->plugins, top left corner window) except for "Format", then run:

NEMO_DEBUG=Actions G_MESSAGES_DEBUG=all  nemo

and try to use the format action. Please paste the output here (I'd like to see what is getting sent to mintstick). It works ok for me here.

Thanks

@CyberLPKF
Copy link
Author

Hello All,

Sorry for delayed answer. Here is the output of command after disable all actions and plugins except Format:

------------------------------8< ----------------------------------
NEMO_DEBUG=Actions G_MESSAGES_DEBUG=all nemo

(nemo:4212): Gtk-WARNING **: 08:04:16.031: Theme parsing error: gtk.css:10777:44: Expected a valid selector
(nemo:4212): Gtk-DEBUG: 08:04:16.047: Connecting to session manager
(nemo:4212): Gtk-DEBUG: 08:04:16.047: Registering client 'org.Nemo' '106db007c479e82cb7156577974425539900000018100006'

(nemo:4212): Gtk-WARNING **: 08:04:16.048: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client

** (nemo:4212): WARNING **: 08:04:16.059: Current gtk theme is not known to have nemo support (McOS-MJV-Cinnamon-Edition-2.0) - checking...

(nemo:4212): Gtk-WARNING **: 08:04:16.071: Theme parsing error: gtk.css:10777:44: Expected a valid selector

(nemo:4212): GLib-CRITICAL **: 08:04:16.299: g_base64_encode_step: assertion 'in != NULL' failed

(nemo:4212): GLib-CRITICAL **: 08:04:16.337: g_base64_encode_step: assertion 'in != NULL' failed

(nemo:4212): GLib-CRITICAL **: 08:04:16.341: g_base64_encode_step: assertion 'in != NULL' failed

(nemo:4212): GLib-CRITICAL **: 08:04:16.381: g_base64_encode_step: assertion 'in != NULL' failed

(nemo:4212): GLib-CRITICAL **: 08:04:16.386: g_base64_encode_step: assertion 'in != NULL' failed

(nemo:4212): GLib-CRITICAL **: 08:04:16.387: g_base64_encode_step: assertion 'in != NULL' failed
** (nemo:4212): DEBUG: 08:04:16.492: Open called on the GApplication instance; 1 files
** (nemo:4212): DEBUG: 08:04:16.541: nemo_action_constructed: ../../libnemo-private/nemo-action.c:848: Initial action gsettings and dbus update (/usr/share/nemo/actions/mintstick-format.nemo_action)
** (nemo:4212): DEBUG: 08:04:16.541: nemo_action_constructed: ../../libnemo-private/nemo-action.c:851: Initial action gsettings and dbus complete (/usr/share/nemo/actions/mintstick-format.nemo_action)
** (nemo:4212): DEBUG: 08:04:16.542: recalc_dbus_conditions: ../../libnemo-private/nemo-action.c:307: Recalculating dbus conditions for /usr/share/nemo/actions/mintstick-format.nemo_action
** (nemo:4212): DEBUG: 08:04:16.542: recalc_dbus_conditions: ../../libnemo-private/nemo-action.c:328: DBus satisfied: TRUE
** (nemo:4212): DEBUG: 08:04:16.542: recalc_gsettings_conditions: ../../libnemo-private/nemo-action.c:452: Recalculating gsettings conditions for /usr/share/nemo/actions/mintstick-format.nemo_action
** (nemo:4212): DEBUG: 08:04:16.542: recalc_gsettings_conditions: ../../libnemo-private/nemo-action.c:526: GSettings satisfied: TRUE
** (nemo:4212): DEBUG: 08:04:16.552: nemo_action_constructed: ../../libnemo-private/nemo-action.c:848: Initial action gsettings and dbus update (/usr/share/nemo/actions/mintstick-format.nemo_action)
** (nemo:4212): DEBUG: 08:04:16.552: nemo_action_constructed: ../../libnemo-private/nemo-action.c:851: Initial action gsettings and dbus complete (/usr/share/nemo/actions/mintstick-format.nemo_action)
** (nemo:4212): DEBUG: 08:04:16.552: nemo_action_constructed: ../../libnemo-private/nemo-action.c:848: Initial action gsettings and dbus update (/usr/share/nemo/actions/mintstick-format.nemo_action)
** (nemo:4212): DEBUG: 08:04:16.552: nemo_action_constructed: ../../libnemo-private/nemo-action.c:851: Initial action gsettings and dbus complete (/usr/share/nemo/actions/mintstick-format.nemo_action)
** (nemo:4212): DEBUG: 08:04:16.553: nemo_action_constructed: ../../libnemo-private/nemo-action.c:848: Initial action gsettings and dbus update (/usr/share/nemo/actions/mintstick-format.nemo_action)
** (nemo:4212): DEBUG: 08:04:16.553: nemo_action_constructed: ../../libnemo-private/nemo-action.c:851: Initial action gsettings and dbus complete (/usr/share/nemo/actions/mintstick-format.nemo_action)
** (nemo:4212): DEBUG: 08:04:16.667: recalc_dbus_conditions: ../../libnemo-private/nemo-action.c:307: Recalculating dbus conditions for /usr/share/nemo/actions/mintstick-format.nemo_action
** (nemo:4212): DEBUG: 08:04:16.667: recalc_dbus_conditions: ../../libnemo-private/nemo-action.c:328: DBus satisfied: TRUE
** (nemo:4212): DEBUG: 08:04:16.667: recalc_gsettings_conditions: ../../libnemo-private/nemo-action.c:452: Recalculating gsettings conditions for /usr/share/nemo/actions/mintstick-format.nemo_action
** (nemo:4212): DEBUG: 08:04:16.667: recalc_gsettings_conditions: ../../libnemo-private/nemo-action.c:526: GSettings satisfied: TRUE
** (nemo:4212): DEBUG: 08:04:29.938: nemo_action_get_label: ../../libnemo-private/nemo-action.c:1584: Action Label: Formatar
** (nemo:4212): DEBUG: 08:04:38.036: nemo_action_activate: ../../libnemo-private/nemo-action.c:1416: Action Spawning: mintstick -m format -u /dev/mmcblk0p1

(mintstick.py:4229): Gtk-WARNING **: 08:04:38.139: Theme parsing error: gtk.css:10777:44: Expected a valid selector
------------------------------ >8----------------------------------

Even if I run "mintstick -m format -u /dev/mmcblk0p1" as root, the device is not showed as a selectable device.

@CyberLPKF
Copy link
Author

CyberLPKF commented Aug 14, 2019

BTW: about this error:

(mintstick.py:4229): Gtk-WARNING **: 08:04:38.139: Theme parsing error: gtk.css:10777:44: Expected a valid selector

I fixed up the theme and sent the changes to project owner.

Even after edit theme and fix that warning, mintstick still not showing device on select component.

@mtwebster
Copy link
Member

mtwebster commented Aug 14, 2019

So, what I'm nearly certain is happening is that this device you're trying to use is being filtered out in the gui.

I'm guessing it's because it's not usb - the right-click action in nemo is filtering only on whether or not the device is removable here. But mint-stick is also filtering by connection-type - it only allows usb.

I only own one sd card I can test with, and it's at work. I'll confirm this when I can. I need to try to see how reliable mmcblk devices are as well at reporting their own capabilities (removable, etc..) - this tends to vary greatly between different brands.

In 4.2 nemo has some new capabilities to potentially run a small script for determining action visibility. Meaning, we can be a little more intelligent about what devices can be selected and which can't.

For now (though no doubt you already figured this out) you can probably use the Disks utility to format the card.

@CyberLPKF
Copy link
Author

Your right. It's a SD card device, not a USB. Meanwhile, I've already formatted using mkfs utility.

@s-nt-s
Copy link

s-nt-s commented Dec 3, 2019

I have the same problem, and I quite sure mintstick could format sd card time ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants