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

Crash on start #70

Open
tr37ion opened this issue Aug 13, 2018 · 3 comments
Open

Crash on start #70

tr37ion opened this issue Aug 13, 2018 · 3 comments

Comments

@tr37ion
Copy link

tr37ion commented Aug 13, 2018

Using the ArchLinux AUR package and starting toxygen results in.

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/toxygen/libtox.py", line 54, in __init__
    self._lib_tox_encrypt_save = CDLL('libtoxencryptsave.so')
  File "/usr/lib/python3.7/ctypes/__init__.py", line 356, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libtoxencryptsave.so: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/toxygen", line 11, in <module>
    load_entry_point('Toxygen==0.4.1.0', 'console_scripts', 'toxygen')()
  File "/usr/lib/python3.7/site-packages/toxygen/main.py", line 483, in main
    toxygen.main()
  File "/usr/lib/python3.7/site-packages/toxygen/main.py", line 61, in main
    encrypt_save = toxes.ToxES()
  File "/usr/lib/python3.7/site-packages/toxygen/toxes.py", line 9, in __init__
    self._toxencryptsave = toxencryptsave.ToxEncryptSave()
  File "/usr/lib/python3.7/site-packages/toxygen/toxencryptsave.py", line 9, in __init__
    self.libtoxencryptsave = libtox.LibToxEncryptSave()
  File "/usr/lib/python3.7/site-packages/toxygen/libtox.py", line 56, in __init__
    self._lib_tox_encrypt_save = CDLL(util.curr_directory() + '/libs/libtoxencryptsave.so')
  File "/usr/lib/python3.7/ctypes/__init__.py", line 356, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/lib/python3.7/site-packages/toxygen/libs/libtoxencryptsave.so: cannot open shared object file: No such file or directory

Any ideas how to fix this?

@IngvarX
Copy link
Collaborator

IngvarX commented Aug 13, 2018

Seems that aur package uses toktok-toxcore as dependency while toxygen requires vanilla toxcore. I recommend to contact package maintainer and ask him about deps

@tr37ion
Copy link
Author

tr37ion commented Aug 15, 2018

Looking at the package's build script it doesn't seem to use toktok-toxcore from what I'm seeing.

EDIT: Oh wait, the toxcore build script uses toktok instead. Should I ask the toxcore maintainer to change it back? I mean, is it right to use toktok in general now?

@IngvarX
Copy link
Collaborator

IngvarX commented Aug 15, 2018

Most of clients use toktok now, so probably it's better to separate toxcore and toktok toxcore in aur (create 2 packages I mean). I'm going to migrate to toktok core too, but this won't happen until Toxygen v0.5.0 which is still far from being ready to release. So there are 3 possible solutions:

  1. Create new package for old toxcore in aur and target it in toxygen (can package maintainer do it?)
  2. Migrate latest (0.4.1) version to toktok (require too much work from me)
  3. Wait for 0.5.0, but probably I will use custom core there. (anyway I will try to fix packages for all repos even in case of using custom core). There are few months of work to go.

Looks like the 1st solution is the easiest for now.

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

No branches or pull requests

2 participants