dshoreman / albert-translate

Translation extension for Albert Launcher using Google Cloud v3 API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ini is not created

thob opened this issue · comments

commented

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

@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!

commented

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

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

commented

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`
```
ezoic increase your site revenue