Problem with installing Mendeleydesktop

Added by travis bickle 11 days ago

Hi again' sorry if I ask too much.
trying to install Mendeleydesktop on CLDL. I got this message:

Calculating dependencies... done!
[ebuild  N F  ~] sci-misc/mendeleydesktop-1.19.2  PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5"                                                            

Fetch instructions for sci-misc/mendeleydesktop-1.19.2:
 * Please download mendeleydesktop-1.19.2-linux-x86_64.tar.bz2 from:
 * http://www.mendeley.com/download-mendeley-desktop/
 * and move it to /var/calculate/tmp/tmpugxa8gyk/portage/sci-misc/mendeleydesktop-1.19.2/distdir

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by sci-misc/mendeleydesktop (argument)
=sci-misc/mendeleydesktop-1.19.2 ~amd64

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

 * Messages for package sci-misc/mendeleydesktop-1.19.2:

 * Please download mendeleydesktop-1.19.2-linux-x86_64.tar.bz2 from:
 * http://www.mendeley.com/download-mendeley-desktop/
 * and move it to /var/calculate/tmp/tmpugxa8gyk/portage/sci-misc/mendeleydesktop-1.19.2/distdir

There is two problems. 1) The latest version of mendeley is 1.19.3 and source file of mendeleydesktop-1.19.2 is no longer available in it's site 2) /var/calculate/tmp doesn't include tmpugxa8gyk folder.

Please help. Thank you in advance


Replies (1)

RE: Problem with installing Mendeleydesktop - Added by Jose Jurado 10 days ago

Hi Travis,

1. Maybe older Gentoo forum threads about mendeleydesktop might help. The first thread suggests building the package from a local repository, among two other possible solutions, but there would be a discrepency between the version offered (1.19.2) and the ebuild version:-
https://forums.gentoo.org/viewtopic-t-943242-highlight-mendeleydesktop.html
https://forums.gentoo.org/viewtopic-t-1080376-highlight-mendeleydesktop.html

2. When trying to extract the most current .tar.bz2 file, it supplies a binary among other things, but it complains about a 'set_environment', etc:

# Change to your home folder 
$ cd

# make a bin folder
$ mkdir bin

# Download the mendeleydesktop 1.19.3 file from its webpage into that bin folder

# Next, extract it
$ tar -xvf mendeleydesktop-1.19.3-linux-x86_64.tar.bz2 

# Change into the directory extracted
$ cd mendeleydesktop-1.19.3-linux-x86_64

# See what's there
$ ls
bin  INSTALL  lib  LICENSE  README  share

# After reading README, you could check the guide in the INSTALL file-
$ cat INSTALL 
After extracting the contents of this tarball, you should be able to run
Mendeley Desktop by executing ./bin/mendeleydesktop

In the case of bugs or trouble using Mendeley Desktop, please send an e-mail to
support@mendeley.com. Please include information on your distribution, 
distribution version, version of Mendeley Desktop, the steps performed and any
errors that you may have had received.

We hope that you enjoy using Mendeley Desktop!

# Therefore tried-
$ .bin/mendeleydesktop 
Traceback (most recent call last):
  File "./bin/mendeleydesktop", line 248, in <module>
    launch_mendeley_desktop()
  File "./bin/mendeleydesktop", line 223, in launch_mendeley_desktop
    set_environment()
  File "./bin/mendeleydesktop", line 159, in set_environment
    if should_use_bundled_libstdc():
  File "./bin/mendeleydesktop", line 104, in should_use_bundled_libstdc
    if distutils.version.LooseVersion(cpp_runtime_version) < distutils.version.LooseVersion(MINIMUM_CPP_VERSION):
  File "/usr/lib64/python3.6/distutils/version.py", line 52, in __lt__
    c = self._cmp(other)
  File "/usr/lib64/python3.6/distutils/version.py", line 335, in _cmp
    if self.version == other.version:
AttributeError: 'LooseVersion' object has no attribute 'version'

3. Regarding " 2) /var/calculate/tmp doesn't include tmpugxa8gyk folder", I've had a similar situation recently, and creating the required folder, supplying a file there, and then retrying didn't help either.

Would anyone please supply any guidance about the ebuild, or any other solution?

(1-1/1)

Thank you!