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

photos app crashes immediately #705

Closed
ChrisNewUser opened this issue Jan 31, 2022 · 19 comments
Closed

photos app crashes immediately #705

ChrisNewUser opened this issue Jan 31, 2022 · 19 comments

Comments

@ChrisNewUser
Copy link

ChrisNewUser commented Jan 31, 2022

What Happened?

Photos app crashes immediately upon opening from icon in tab bar at bottom of screen. I have barely used the app. I tried to open many times - with same result. I am a newby to Linux - don't know too much at all. I am using Elementary 6.1 (Johnir)

Steps to Reproduce

Clicked on Photos App icon in desktop tab.

Expected Behavior

The app opened for less than a second and crashed.

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

I don't know enough to use Terminal except for basic commands and thus I am not sure what to put here.

Hardware Info

I have an i5-10210U - NL41CU2 processor. Intel UHD Graphics

@jeremypw
Copy link
Collaborator

@ChrisNewUser Sorry that you are having problems with Photos and thanks for trying elementary. There have been a number of reports of Photos crashing for some people. They seem mostly to relate to particular photo files that the app has trouble with - in particular with the metadata. See for example #641.

The PR #689 fixed one of these issues but there could be other similar ones.

Unfortunately the last release of Photos was last October which was before that fix was incorporated into it. You can get pre-release versions of the software by switching to the "daily" repository but as a new user that may not be advisable.

Hopefully a new release will occur soon.

@ChrisNewUser
Copy link
Author

Dear jeremypw - thank you for the feedback. I took a look at #689 and the file change; I am not sure if am to replicate those series of commands (under the change files changed section). Considering how green I am it might be best to wait for a new release. Question - would a new release automatically be uploaded as part of my regular updates or is it something I need to look out for, when released, and then download? How often do new releases of Photos occur? Thanks again for your input.

@jeremypw
Copy link
Collaborator

jeremypw commented Feb 1, 2022

@ChrisNewUser A new release should be out shortly (see #706). I hope it fixes your issue but it will depend on what kind of photo/video file is causing the problem and in what way the metadata is corrupt or non-standard. The new version only fixes one kind of corrupt metadata. Once the new version is released you should get a notification of pending updates from the AppCenter. You will need to open the AppCenter and install the updates yourself - this does not happen automatically.

If you do still get the issue, you could try identify which files are problematic by importing them a few at a time but that is time consuming. One user has stated that you need the "Write metadata to file" option in Preferences switched on if the media as Exif metadata. But it seems Photos does not handle corrupt metadata well 😞 . There are several apps in the AppCenter related to cleaning, editing or validating various types of metadata but I haven't tried them as I have not experienced this issue.

@ChrisNewUser
Copy link
Author

ChrisNewUser commented Feb 1, 2022 via email

@ChrisNewUser
Copy link
Author

Good News! I downloaded the latest Photos update and now Photos works! I believe it was update 2.73. Thanks to those folks out there that take care of these things and work on free source :)

@jeremypw
Copy link
Collaborator

jeremypw commented Feb 7, 2022

In that case, I'll close this issue now. Please reopen if the issue recurs.

@ChrisNewUser
Copy link
Author

Thank You for your help Jeremy!

@ChrisNewUser
Copy link
Author

ChrisNewUser commented Jul 31, 2022 via email

@jeremypw
Copy link
Collaborator

@ChrisNewUser Regarding the update - I assume you are referring to the update of Photos to version 2.7.5 (the latest version) using the AppCenter? You could try running in a terminal: sudo apt update followed by sudo apt reinstall pantheon-photos and noting any unusual messages.

Be aware that there is a similarly named flatpak "Gnome Photos" so make sure you are not confusing this with Pantheon Photos. They will run alongside each other though and look quite different.

Regarding LibreWriter you are probably better off asking in a user forum for that app or looking at the developers help website: https://help.libreoffice.org/6.2/en-US/text/swriter/main0000.html. Your issue is unlikely to be related to elementaryos.

@ChrisNewUser
Copy link
Author

ChrisNewUser commented Jul 31, 2022 via email

@jeremypw
Copy link
Collaborator

jeremypw commented Aug 1, 2022

@ChrisNewUser

Concerning the update. This is the update that repeats.

Sorry, but there is no indication of what "this" is. Could you be more explicit, i.e. indicate the package name and version details if you are still having trouble.

@ChrisNewUser
Copy link
Author

ChrisNewUser commented Aug 1, 2022 via email

@jeremypw
Copy link
Collaborator

jeremypw commented Aug 1, 2022

OK, thanks - I can see it now. Its best to stick to basic methods when communicating via Github. I see that the offending package is a third party Flatpak. I tried installing "Dialect" from the appcenter but the ID of the installed package is app.drey.Dialect (from FlatHub) so I am not sure what you have installed. As it is a Flatpak, to update in a terminal, you need to enter flatpak update <id>.

However, it looks like com.github.gi_lom.dialect is out of date and has been renamed to app.drey.Dialect so you could try uninstalling the old version and installing the new one (it runs on EOS7 - not sure about EOS6.1). It is possible that this renaming is causing the problem?

@ChrisNewUser
Copy link
Author

ChrisNewUser commented Aug 2, 2022 via email

@ChrisNewUser
Copy link
Author

ChrisNewUser commented Aug 2, 2022 via email

@jeremypw
Copy link
Collaborator

jeremypw commented Aug 3, 2022

Try flatpak list | grep -i dialect

That will give you details of the currently installed flatpak including its id.

Did you type <id> verbatim? Sorry, that was supposed to be a placeholder for the actual id of the package you have installed. i.e. something like app.drey.Dialect or com.github.gi_lom.dialect . Make sure you type the app id exactly as returned by flatpak list

@ChrisNewUser
Copy link
Author

ChrisNewUser commented Aug 3, 2022 via email

@ChrisNewUser
Copy link
Author

ChrisNewUser commented Sep 11, 2022 via email

@zeebok
Copy link
Contributor

zeebok commented Sep 12, 2022

For that you need to do that command with elevated privilege. In this case that would be using sudo to elevate your user account for that command. You want to place that at the beginning of the command like so: sudo dpkg --configure -a

It is important to remember that elevating with sudo means whatever command you are using as access to do pretty much anything to your system so only do it when you need to and you are sure about what you are running. I am guessing here you are trying to get some software installed?

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

3 participants