chainweaver icon indicating copy to clipboard operation
chainweaver copied to clipboard

Ubuntu 20.04 [ getLoginName: does not exist (No such device or address) ] when program is ran

Open chinatimmy opened this issue 5 years ago • 4 comments

Using Xubuntu 20.04.1 LTS x86_64

ran command redacted@redacted:/usr/libexec/chainweaver$ ./kadena-chainweaver

output produced Executable path: /usr/libexec/chainweaver/ kadena-chainweaver: getLoginName: does not exist (No such device or address)

recommendation/enhancement App image or Flatpak as some development teams don't all use the same distro

chinatimmy avatar Aug 26 '20 17:08 chinatimmy

Spent a bit of time looking into this...The following thread seems relevant, along with the linked SO q/a: https://gitlab.haskell.org/ghc/ghc/-/issues/1487 https://stackoverflow.com/questions/4785126/getlogin-c-function-returns-null-and-error-no-such-file-or-directory

with the chainweaver code here, being the chunk in question: https://github.com/kadena-io/chainweaver/blob/develop/linux/src/Linux.hs#L178

jmininger avatar Apr 07 '21 20:04 jmininger

Yeah, I'm getting the same thing on recent build still. Ubuntu 20.04. Not a very good wallet if it doesn't even load.

freQniK avatar Nov 08 '21 02:11 freQniK

https://discord.com/channels/502858632178958377/631965054778212362/948882072490098708

trendzetter avatar Mar 03 '22 10:03 trendzetter

@trendzetter @freQniK Are there any progress on merging this? Just installed .deb on Ubuntu. I'm experiencing the same issue:

 > sudo dpkg -i kadena-chainweaver-linux-2.2.2.0.deb 
(Reading database ... 704403 files and directories currently installed.)
Preparing to unpack kadena-chainweaver-linux-2.2.2.0.deb ...
Unpacking kadena-chainweaver (2.2.2.0) over (2.2.2.0) ...
Setting up kadena-chainweaver (2.2.2.0) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24+linuxmint1) ...
Processing triggers for mime-support (3.64ubuntu1) ...

 > kadena-chainweaver 
Executable path: /usr/libexec/chainweaver/
kadena-chainweaver: getLoginName: does not exist (No such device or address)
 

vladimir-litvinenko avatar May 13 '22 19:05 vladimir-litvinenko