Opening file manager using xdg-open gives warnings (nemo:85552): Gtk-WARNING ** - gtk

I am new to using linux mint. Used "xdg-open ." to open the current directory in the file manager. But when I do this I get the following warnings.
*(nemo:85552): Gtk-WARNING *: 09:21:45.991: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable
to register client Nemo-Share-Message: 09:21:46.385: Called "net
usershare info" but it failed: 'net usershare' returned error 255: net
usershare: cannot open usershare directory /var/lib/samba/usershares.
Error No such file or directory Please ask your system administrator
to enable user sharing.
And upon closing the file manager window I get
(nemo:85552): Gtk-CRITICAL **: 09:21:47.482: gtk_widget_destroy:
assertion 'GTK_IS_WIDGET (widget)' failed
Is there a way I can fix this ?
Thank you.

Related

How to get rid of tthe following error --Failed to save Chrome preferences: FileSystemException: Cannot open file ,path='C:\Users\HP\AppDate/Local?

When I run my application with the command flutter run -d chrome,my app is establishing connection with chrome,but the browser is blank and i cant see any content in browser,in the console it throws the following error
Failed to save Chrome preferences: FileSystemException: Cannot open file, path =
'C:\Users\HP\AppData\Local\Temp\flutter_tools.78af2e68\flutter_tools_chrome_device.ff7bb79d\Default\Cache\data_0' (OS Error: The process cannot
access the file because it is being used by another process.
, errno = 32)

Syntax highlighting for Agda-mode 2 in Doom Emacs

I need help getting agda mode to work on my emacs system. Essentially, syntax highlighting only occurs after I save and not in real time like other standard modes. I did the basic tutorial. I run Manjaro on my system so I used pacman to install agda (2.6.0.1) and agda-stdlib (1.2-1). After that, I did
agda-mode setup
What this did was add
(load-file (let ((coding-system-for-read 'utf-8))
(shell-command-to-string "agda-mode locate")))
to my .init.el in my .emacs.d file. So then, I thought everything was well. However, when I did boot up emacs and I tried using some file I found on the internet to learn agda ( https://oxij.org/note/BrutalDepTypes.lagda). However, there only seems to be syntax highlighting when I save the file and any new text is not colored until saved. I tried to solve this by instead removing the code from .init.el in .emacs.d and instead putting it in my .init.el in .doom.d instead. But still I get the same results. I also did sudo agda-mode compile as well which gives me the following output:
Loading quail/latin-ltx...
I use sudo because otherwise I get this
>>Error occurred processing /usr/share/agda/emacs-mode/agda2-abbrevs.el: File error (("Opening output file" "Cannot overwrite file" "/usr/share/agda/emacs-mode/agda2-abbrevs.elc"))
Removing old name: Permission denied, /usr/share/agda/emacs-mode/agda2-abbrevs.elc
>>Error occurred processing /usr/share/agda/emacs-mode/annotation.el: File error (("Opening output file" "Cannot overwrite file" "/usr/share/agda/emacs-mode/annotation.elc"))
Removing old name: Permission denied, /usr/share/agda/emacs-mode/annotation.elc
>>Error occurred processing /usr/share/agda/emacs-mode/agda2-queue.el: File error (("Opening output file" "Cannot overwrite file" "/usr/share/agda/emacs-mode/agda2-queue.elc"))
Removing old name: Permission denied, /usr/share/agda/emacs-mode/agda2-queue.elc
>>Error occurred processing /usr/share/agda/emacs-mode/eri.el: File error (("Opening output file" "Cannot overwrite file" "/usr/share/agda/emacs-mode/eri.elc"))
Removing old name: Permission denied, /usr/share/agda/emacs-mode/eri.elc
>>Error occurred processing /usr/share/agda/emacs-mode/agda2.el: File error (("Opening output file" "Cannot overwrite file" "/usr/share/agda/emacs-mode/agda2.elc"))
Removing old name: Permission denied, /usr/share/agda/emacs-mode/agda2.elc
>>Error occurred processing /usr/share/agda/emacs-mode/agda-input.el: File error (("Opening output file" "Cannot overwrite file" "/usr/share/agda/emacs-mode/agda-input.elc"))
Removing old name: Permission denied, /usr/share/agda/emacs-mode/agda-input.elc
>>Error occurred processing /usr/share/agda/emacs-mode/agda2-highlight.el: File error (("Opening output file" "Cannot overwrite file" "/usr/share/agda/emacs-mode/agda2-highlight.elc"))
Removing old name: Permission denied, /usr/share/agda/emacs-mode/agda2-highlight.elc
Loading quail/latin-ltx...
>>Error occurred processing /usr/share/agda/emacs-mode/agda2-mode.el: File error (("Opening output file" "Cannot overwrite file" "/usr/share/agda/emacs-mode/agda2-mode.elc"))
Removing old name: Permission denied, /usr/share/agda/emacs-mode/agda2-mode.elc
Unable to compile the following Emacs Lisp files:
/usr/share/agda/emacs-mode/agda2-abbrevs.el
/usr/share/agda/emacs-mode/annotation.el
/usr/share/agda/emacs-mode/agda2-queue.el
/usr/share/agda/emacs-mode/eri.el
/usr/share/agda/emacs-mode/agda2.el
/usr/share/agda/emacs-mode/agda-input.el
/usr/share/agda/emacs-mode/agda2-highlight.el
/usr/share/agda/emacs-mode/agda2-mode.el
But this failed to work too.
I tried a different file too:
{- My Agda Tutorial-}
Module Tut where
open import Data.List
rev : {A : Set} -> List A -> List A
which didn't change much, but also gave me this error when I tried to typecheck the file
/usr/share/agda/lib/_build: createDirectory: permission denied
(Permission denied)
Any thoughts on how to fix this? I would really like to use my same doom config.
syntax highlighting only occurs after I save
This is intended. The coloration occurs after the buffer has successfully been typecked. You are trying to solve an issue that presumably does not exist.
Since type checking the buffer is an essential part in an Agda development you should not have a hard time getting used to doing it often while programming.
In order to manually call the type checker, the shortcut is CTRL-C CTRL-L.

failed to open file 'load_departments.dump'; error: 2

I am trying to import a the employees.sql database from GitHub but I get the following error message
ERROR at line 113: Failed to open file 'load_departments.dump', error:
2
I am importing the database using the 'Data Import' option from the 'Server' drop down menu.

Can't find file Logfile

Dr-Memory won't debug my application, I tried allready the -logdir option (I use -logdir C:\Users\r0b3\temp\drmemory).
The Error Message is
WARNING: unable to locate results file since can't open
C:\Users\r0b3\temp\drmemory/resfile.7116: 2
~~Dr.M~~ WARNING: application exited with abnormal code 0xc0000005
Any hints?

how to upload linkr button

when I install plg.linkr_button.upgrade-any-to-2.3.7.zip & uplad file it gives error Install plugin error & this message
/home/abc/tmp/install_4d0239a35bd0f/plg.linkr_button/linkr_button.php to /home/abc/plugins/editors-xtd/linkr_button.php
OR when I upload super installer directly then it gives this error
Warning: LinkrInstaller::require_once(/home/abc/administrator/components/com_linkr/defines.php) [function.require-once]: failed to open stream: No such file or directory in /home/abc/administrator/components/com_linkr/install.linkr.php on line 207
Fatal error: LinkrInstaller::require_once() [function.require]: Failed opening required '/home/abc/administrator/components/com_linkr/defines.php' (include_path='.:/usr/local/lib/php') in /home/abc/administrator/components/com_linkr/install.linkr.php on line 207
Either the update is meesed up or you do not have permission to read the uploaded file.