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

Could not find path to chrome folder when using Beta release of Firefox #32

Open
PoorPocketsMcNewHold opened this issue May 24, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@PoorPocketsMcNewHold
Copy link

Capture d’écran du 2020-05-24 08-38-31
As displayed, Pywalfox isn’t able to found a chrome folder for my firefox-beta profile in which it is running on.
Pywall was installed the way it was recommended, after removing the previous native-host setup version that it was previously. You can see it working as expected with the custom Firefox applied colors.

@Frewacom
Copy link
Owner

This is currently not supported. In the future I might look in to a better solution for getting the correct profile path.

If you still want to use the included CSS sheets, you will have to copy them over manually for now. They are located in <python-site-packages>/pywalfox/assets/css/

@Frewacom Frewacom added the enhancement New feature or request label May 24, 2020
@Frewacom Frewacom changed the title Could not find path to chrome folder (#7 replica on v2.0.1) Could not find path to chrome folder when using Beta release of Firefox May 24, 2020
@Frewacom
Copy link
Owner

Actually, it seems like the fix for this might be quite simple. What does your ~/.mozilla/firefox/profiles.ini look like?

@PoorPocketsMcNewHold
Copy link
Author

PoorPocketsMcNewHold commented May 25, 2020

It was (well, it still is, but i´ve stopped using firefox currently) :

Name=default-beta
IsRelative=1
Path=tlbv69uw.default-beta

[Install4F96D1932A9F858E]
Default=56nb3rjl.default-release
Locked=1

[Profile1]
Name=default
IsRelative=1
Path=vblgd07z.default
Default=1

[Install93CE7A4EFF650F31]
Default=tlbv69uw.default-beta
Locked=1

[Profile0]
Name=default-release
IsRelative=1
Path=56nb3rjl.default-release

[General]
StartWithLastProfile=1
Version=2

[Install6BA5C87ECB35E12F]
Default=d9vr4fx3.default-nightly
Locked=1

[Profile2]
Name=default-nightly
IsRelative=1
Path=d9vr4fx3.default-nightly

The other default.nightly and release are remains of older installations, however, despite this, you can see the correct folder is still presented as the first one in the list.

@Frewacom
Copy link
Owner

Frewacom commented May 25, 2020

Well, it seems like there is nothing that actually indicates which is the current profile. I know there is a way to get the profile path from inside Firefox, but it requires permissions that Pywalfox does not have.

It seems like the only solution to getting it to work consistently is to let the user select the correct profile from the Settings page of the extension.

This will require a decent amount of work involving changes to both the native application and addon, so it is not something I will implement right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants