Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

ini is not created #2

Open
thob opened this issue Jun 6, 2020 · 4 comments
Open

ini is not created #2

thob opened this issue Jun 6, 2020 · 4 comments

Comments

@thob
Copy link

thob commented Jun 6, 2020

Hi, I'm on Ubuntu make install writes 3 files into the proper dir in ~/.local/share/albert/org.albert.extension.python/modules/translate but ini is not created in .config and tr does not call your extension but the default one, I had it deactivated before. I created the ini manually but to no avail.
Any idea what I'm missing. Thanks

@dshoreman
Copy link
Owner

dshoreman commented Jun 19, 2020

@thob Sorry for not getting to this sooner, not sure why but I never got an email or notification from Github. Please quit Albert then paste the output from the following steps, along with your config file and the version of Ubuntu you're using:

  1. Launch albert in the terminal
  2. Ensure the built-in translate extension is still disabled
  3. Attempt to trigger this extension

Hopefully the extra info Albert prints to stdout will help track down the source of the issue

Edit: Seems the lack of notification was down to me not watching this repo. Not sure how that happened, but it's fixed now!

@thob
Copy link
Author

thob commented Jun 19, 2020

i the terminal I get
10:23:01 [DEBG:default] ========== SESSION SETUP STARTED ========== 10:23:01 [DEBG:default] TIME: 0 µs SESSION SETUP [org.albert.extension.calculator] 10:23:01 [DEBG:default] TIME: 0 µs SESSION SETUP [org.albert.extension.python] 10:23:01 [DEBG:default] TIME: 0 µs SESSION SETUP [org.albert.extension.applications] 10:23:01 [DEBG:default] TIME: 0 µs SESSION SETUP [org.albert.extension.files] 10:23:01 [DEBG:default] TIME: 0 µs SESSION SETUP [org.albert.extension.system] 10:23:01 [DEBG:default] TIME: 0 µs SESSION SETUP [org.albert.extension.ssh] 10:23:01 [DEBG:default] TIME: 0 µs SESSION SETUP [org.albert.extension.websearch] 10:23:01 [DEBG:default] TIME: 100 µs SESSION SETUP OVERALL 10:23:01 [DEBG:default] ========== QUERY: "" ========== 10:23:01 [DEBG:default] TIME: 102 µs SESSION TEARDOWN OVERALL 10:23:01 [DEBG:default] TIME: 123 µs MATCHES [org.albert.extension.python] 10:23:01 [DEBG:default] TIME: 28 µs MATCHES [org.albert.extension.applications] 10:23:01 [DEBG:default] TIME: 207 µs MATCHES [org.albert.extension.calculator] 10:23:01 [DEBG:default] TIME: 5 µs MATCHES [org.albert.extension.files] 10:23:01 [DEBG:default] TIME: 1 µs MATCHES [org.albert.extension.system] 10:23:01 [DEBG:default] TIME: 4 µs MATCHES [org.albert.extension.ssh] 10:23:01 [DEBG:default] TIME: 15 µs MATCHES [org.albert.extension.websearch] 10:23:01 [DEBG:default] TIME: 12027 µs QUERY OVERALL 10:23:02 [DEBG:default] ========== QUERY: "t" ========== 10:23:02 [DEBG:default] TIME: 138 µs SESSION TEARDOWN OVERALL 10:23:02 [DEBG:default] TIME: 94 µs MATCHES [org.albert.extension.calculator] 10:23:02 [DEBG:default] TIME: 84 µs MATCHES [org.albert.extension.applications] 10:23:02 [DEBG:default] TIME: 9 µs MATCHES [org.albert.extension.system] 10:23:02 [DEBG:default] TIME: 24 µs MATCHES [org.albert.extension.ssh] 10:23:02 [DEBG:default] TIME: 21 µs MATCHES [org.albert.extension.websearch] 10:23:02 [DEBG:default] TIME: 382 µs MATCHES [org.albert.extension.files] 10:23:02 [DEBG:default] TIME: 55 µs MATCHES [org.albert.extension.python] 10:23:02 [DEBG:default] TIME: 6213 µs QUERY OVERALL 10:23:02 [DEBG:default] ========== QUERY: "tr" ========== 10:23:02 [DEBG:default] TIME: 132 µs SESSION TEARDOWN OVERALL 10:23:02 [DEBG:default] TIME: 80 µs MATCHES [org.albert.extension.calculator] 10:23:02 [DEBG:default] TIME: 84 µs MATCHES [org.albert.extension.python] 10:23:02 [DEBG:default] TIME: 4 µs MATCHES [org.albert.extension.system] 10:23:02 [DEBG:default] TIME: 17 µs MATCHES [org.albert.extension.websearch] 10:23:02 [DEBG:default] TIME: 29 µs MATCHES [org.albert.extension.ssh] 10:23:02 [DEBG:default] TIME: 250 µs MATCHES [org.albert.extension.files] 10:23:02 [DEBG:default] TIME: 60 µs MATCHES [org.albert.extension.applications] 10:23:02 [DEBG:default] TIME: 661 µs QUERY OVERALL 10:23:03 [DEBG:default] ========== QUERY: "tr " ========== 10:23:03 [DEBG:default] TIME: 158 µs SESSION TEARDOWN OVERALL 10:23:03 [DEBG:default] TIME: 8 µs MATCHES [org.albert.extension.python] 10:23:03 [DEBG:default] TIME: 331 µs QUERY OVERALL 10:23:13 [WARN:default] file:///usr/share/albert/org.albert.frontend.qmlboxmodel/styles/BoxModel/MainComponent.qml:284: Error: Cannot assign std::nullptr_t to QString

@dshoreman
Copy link
Owner

Hmm interesting that there is no mention at all of the translate plugin... What version of Ubuntu are you using? I may have to try install in a VM so I can attempt to replicate the issue. Your albert config file could also be useful here just in case other extensions are part of the problem

@thob
Copy link
Author

thob commented Jun 19, 2020

I'm on Ubuntu 18.04.
Here's my config. I enabled tr again

[General]
frontendId=org.albert.frontend.qmlboxmodel
hotkey=Ctrl+Space
incrementalSort=true
showTray=true
telemetry=true
terminal=terminator -x

[org.albert.extension.applications]
enabled=true
fuzzy=true
ignore_show_in_keys=false
use_generic_name=false
use_keywords=false
use_non_localized_name=false

[org.albert.extension.calculator]
enabled=true

[org.albert.extension.externalextensions]
enabled=false

[org.albert.extension.files]
enabled=true
filters=text/csv, application/*, audio/*, video/*, image/*
fuzzy=true
paths=/home/burgt/Downloads
scan_interval=5

[org.albert.extension.mpris]
enabled=false

[org.albert.extension.python]
enabled=true
enabled_modules=units, ip, kill, currency_converter, gnome_dictionary, wikipedia, google_translate

[org.albert.extension.snippets]
enabled=false

[org.albert.extension.ssh]
enabled=true

[org.albert.extension.system]
enabled=true

[org.albert.extension.terminal]
enabled=false

[org.albert.extension.websearch]
enabled=true

[org.albert.frontend.qmlboxmodel]
alwaysOnTop=true
clearOnHide=true
hideOnClose=false
hideOnFocusLoss=true
showCentered=false
stylePath=/usr/share/albert/org.albert.frontend.qmlboxmodel/styles/BoxModel/MainComponent.qml
windowPosition=@Point(419 521)

[org.albert.frontend.widgetboxmodel]
alwaysOnTop=true
clearOnHide=true
displayIcons=true
displayScrollbar=false
displayShadow=true
hideOnClose=true
hideOnFocusLoss=true
itemCount=6
showCentered=true
theme=Numix`
```

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

No branches or pull requests

2 participants