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

Segfaults when opening files #51

Open
Cycatz opened this issue Jan 28, 2023 · 4 comments
Open

Segfaults when opening files #51

Cycatz opened this issue Jan 28, 2023 · 4 comments

Comments

@Cycatz
Copy link

Cycatz commented Jan 28, 2023

When open a pdf or epub file, remy crashes and produces the following error log:

[I] STARTING: Sat Jan 28 00:23:01 2023
[I] Configuration loaded from /home/cycatz/.config/remy/config.json.
[W] No key nor password given. System-wide SSH connection parameters are going to be used.
[I] Using system default known hosts file
[I] Loading system default known hosts file, this may take a while...
[I] System default known host file loaded
[I] Connecting...
[I] Connected to 192.168.10.16
[I] LOAD TIME: 0.088373
[I] Initialised, launching browser
[W] Could not create thumbnail for ffa6ce5a-8941-44ff-a6e4-412fe68d3efa [arguments did not match any overloaded call:
  QImage(): too many arguments
  QImage(size: QSize, format: QImage.Format): argument 1 has unexpected type 'float'
  QImage(width: int, height: int, format: QImage.Format): argument 1 has unexpected type 'float'
  QImage(data: bytes, width: int, height: int, format: QImage.Format): argument 1 has unexpected type 'float'
  QImage(data: PyQt5.sip.voidptr, width: int, height: int, format: QImage.Format): argument 1 has unexpected type 'float'
  QImage(data: bytes, width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 1 has unexpected type 'float'
  QImage(data: PyQt5.sip.voidptr, width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 1 has unexpected type 'float'
  QImage(xpm: List[str]): argument 1 has unexpected type 'float'
  QImage(fileName: str, format: typing.Optional[str] = None): argument 1 has unexpected type 'float'
  QImage(a0: QImage): argument 1 has unexpected type 'float'
  QImage(variant: Any): too many arguments]
zsh: segmentation fault (core dumped)  python -m remy.guif

My remarkable version is 3.0.4.1305, and uses remy at version df2c1ae

@bordaigorl
Copy link
Owner

Unfortunately there's no guarantee anything works on v3 of the remarkable firmware.
Remy is completely untested there; moreover, v3 introduces a completely backward incompatible change of file format for notes which means Remy would need to be significantly rewritten to support the new one.
Support for v3 is in the roadmap, but there is a significant chance that the new file format will be revised with further breaking changes and I am simply waiting it to stabilize (and the reverse engineering effort by the community to converge) before doing any work on it.
See #49 #46

@Cycatz
Copy link
Author

Cycatz commented Jan 28, 2023

@bordaigorl Got it! Thanks for your reply!

@Cycatz
Copy link
Author

Cycatz commented Jun 11, 2023

I still encountered this issue after downgrading my device to 2.15.1.1189 (with ddvk's patches).

Is there any QT packages I need to install?

@bordaigorl
Copy link
Owner

@Cycatz this is probably happening because the files you created before downgrading are still using the new format (I'd be surprised if you could even open them on the tablet after downgrading)

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

2 participants