philmmanjaro / project-sx

The next big thing
6 stars 2 forks source link

geoIP for oem user not working #9

Open oberon-manjaro opened 7 years ago

oberon-manjaro commented 7 years ago

currently default locale selection is set to Amerka/New York

philmmanjaro commented 7 years ago

Were you connected to the internet?

oberon-manjaro commented 7 years ago

yes

philmmanjaro commented 7 years ago

Hmm, then we have to check. In general it should work as nothing changed. Maybe start the installer from console with calamares -d to see what the module might print out.

oberon-manjaro commented 7 years ago

Hm. "WARNING: guessLocaleConfiguration can't guess from an empty list."

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
15:19:26 [1]: Calamares version: 3.1.4 
Translation: Calamares: Using system locale: "en_US"
15:19:26 [1]: Default font ===== 
Pixel size:    -1 
Point size:    9 
Point sizeF:   9 
Font family:   "Sans Serif" 
Metric height: 15 
15:19:26 [1]: Font height: 15 
15:19:26 [1]: Available languages: ("ar", "ast", "bg", "ca", "cs_CZ", "da", "de", "el", "en", "en_GB", "es_MX", "es", "eu", "fr", "he", "hr", "hu", "id", "is", "it_IT", "ja", "lt", "nl", "pl", "pt_BR", "pt_PT", "ro", "ru", "sk", "sv", "th", "tr_TR", "zh_CN", "zh_TW") 
15:19:26 [1]: CalamaresApplication thread: 0x56011a1e0d30 
15:19:26 [1]: Using log file: "/root/.cache/Calamares/Calamares/Calamares.log" 
15:19:26 [1]: Using Calamares settings file at "/etc/calamares/settings.conf" 
15:19:26 [1]: Using Calamares branding file at "/usr/share/calamares/branding/manjaro/branding.desc" 
15:19:26 [1]: WARNING: the selected branding component does not ship translations. 
15:19:26 [1]: Loaded branding component "manjaro" 
15:19:26 [1]: STARTUP: initQmlPath, initSettings, initBranding done 
15:19:26 [1]: STARTUP: initModuleManager: module init started 
15:19:26 [1]: STARTUP: initModuleManager: all modules init done 
15:19:26 [1]: STARTUP: initJobQueue done 
15:19:26 [1]: Available size QSize(1024, 740) 
15:19:26 [1]:   Proposed window size: 1024 540 
15:19:26 [1]: STARTUP: CalamaresWindow created; loadModules started 
15:19:26 [1]: Initial locale  "en_US" 
15:19:26 [8]: Translation: Calamares: Using system locale: "en_US"
15:19:26 [1]: Welcome string false "Manjaro Linux 17.1-dev \"Hakoila\"" 
15:19:26 [1]: ViewModule "welcome@welcome" loading complete. 
15:19:26 [1]: WARNING: guessLocaleConfiguration can't guess from an empty list. 
15:19:26 [1]: ViewModule "locale@locale" loading complete. 
15:19:27 [1]: ViewModule "keyboard@keyboard" loading complete. 
15:19:27 [1]: ViewModule "users@users" loading complete. 
15:19:27 [1]: ViewModule "summary@summary" loading complete. 
15:19:27 [1]: QML import paths: ("/usr/share/calamares/qml", "/usr/bin", "qrc:/qt-project.org/imports", "/usr/lib/qt/qml") 
15:19:27 [1]: Module "locale@locale" already loaded. 
15:19:27 [1]: Module "keyboard@keyboard" already loaded. 
15:19:27 [1]: Module "users@users" already loaded. 
15:19:27 [1]: FinishedPage() 
15:19:27 [1]: ViewModule "finished@finished" loading complete. 
15:19:27 [1]: STARTUP: loadModules for all modules done 
15:19:27 [1]: STARTUP: Window now visible and ProgressTreeView populated 
15:19:27 [1]: Need at least storage bytes: 0 
15:19:27 [1]: Need at least ram bytes: 0 
15:19:27 [1]: enoughStorage, enoughRam, hasPower, hasInternet, isRoot:  false false false true true 
15:19:27 [1]: xkbmap selection changed to:  "us" - "" 
20:19:30 [1]: WARNING: guessLocaleConfiguration can't guess from an empty list. 
15:19:30 [1]: WARNING: guessLocaleConfiguration can't guess from an empty list. 
15:19:30 [1]: WARNING: guessLocaleConfiguration can't guess from an empty list. 
15:19:30 [1]: WARNING: guessLocaleConfiguration can't guess from an empty list.
philmmanjaro commented 7 years ago

Did you changed any language on welcome screen?

oberon-manjaro commented 7 years ago

yes. switched to en_GB

oberon-manjaro commented 7 years ago

strange thing is that on first installation run I did exactly the same and geoip was working then. only for the oem session it doesn't seem to work.

philmmanjaro commented 7 years ago

Maybe some settings need to be adjusted. Have to check.

philmmanjaro commented 7 years ago

Seems to be some config issue. Works on live-session just fine. Don't know yet what it is.

philmmanjaro commented 7 years ago

... at least for v17.0.4. With current ISO also not in live-session. Hmm ...

oberon-manjaro commented 7 years ago

any package needed for geoip to work that might be missing in oem session?

oberon-manjaro commented 7 years ago

ah ok

oberon-manjaro commented 7 years ago

I've just tried running CAL on my installed system. Geoip also not working. Something must be different in the live...

philmmanjaro commented 7 years ago

Can't pin-point it yet.

oberon-manjaro commented 7 years ago

I just checked with a new Cinnamon ISO. There geoip works fine while at the same time the error is also present

WARNING: guessLocaleConfiguration can't guess from an empty list. 
philmmanjaro commented 7 years ago

that warning is OK. It is from the new code to guess the keyboard layout.

philmmanjaro commented 6 years ago

@oberon2007: I think this was fixed by now ...

oberon-manjaro commented 6 years ago

Not sure ... I have no way to try it atm ... 😉 But if it's now working under normal circumstances we can assume that it should also in the OEM environment ... maybe 😜

philmmanjaro commented 6 years ago

It was a general bug: https://github.com/manjaro/calamares/commit/35f5612ec1d2fa27235ad5a1d621e82e8c5a82ec