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

[9a1] Login to empty screen with Odoo Logo only after POS-Module installation #7881

Closed
explanar opened this issue Aug 4, 2015 · 2 comments
Closed

Comments

@explanar
Copy link

explanar commented Aug 4, 2015

Comparable "historic" bug: https://bugs.launchpad.net/openobject-server/+bug/1280148

Usually i could fix it with the workaround of error "You cannot update the translated value of field 'Arch Blob'" when using a differend Language than EN(US):

cd /opt/odoo/odoo-server && sudo su odoo -c './openerp-server -d DATABASENAME -u base'

But after installing POS-Module there's no chance any more that way. After login as admin i can only see the logo (attached screenshot).

Setup:

  • Ubuntu 14.04-64 with xubuntu-desktop
  • Installation via sSchenkels-Script Link
  • Additionally installed in case of "could not execute command lessc":
    sudo service odoo-server stop &&

    curl -sL https://deb.nodesource.com/setup_0.10 | sudo bash - &&

    sudo apt-get install -y nodejs &&

    sudo npm install -g npm less less-plugin-clean-css
  • Additionally installed aiming to use Modules hw_proxy and hw_escpos:

    sudo apt-get -y install python-pip python-qrcode python-evdev &&

    sudo pip install pyusb==1.0.0b2 &&

    sudo usermod -a -G lp odoo &&

    sudo groupadd usbusers &&

    sudo usermod -a -G usbusers odoo &&

    sudo su -c 'echo "SUBSYSTEM==\"usb\", GROUP=\"usbusers\", MODE=\"0660\"" >> /etc/udev/rules.d/99-usbusers.rule' &&

    sudo su -c 'echo "SUBSYSTEMS==\"usb\", GROUP=\"usbusers\", MODE=\"0660\"" >> /etc/udev/rules.d/99-usbusers.rule'

After these steps installation of hw_proxy etc is working fine. But when i install "Point of Sale" the named and described symptom occurs.

Last output of openerp-server:

2015-08-04 14:57:38,690 2345 INFO None werkzeug: 192.168.2.20 - - [04/Aug/2015 14:57:38] "POST /web/database/duplicate HTTP/1.1" 200 -
2015-08-04 14:57:38,748 2345 INFO None werkzeug: 192.168.2.20 - - [04/Aug/2015 14:57:38] "POST /web/database/duplicate HTTP/1.1" 303 -
2015-08-04 14:57:44,352 2345 INFO posbox werkzeug: 192.168.2.20 - - [04/Aug/2015 14:57:44] "GET /web?db=posbox2 HTTP/1.1" 302 -
2015-08-04 14:57:44,368 2345 INFO ? openerp.http: Generating nondb routing
2015-08-04 14:57:44,386 2345 INFO ? werkzeug: 192.168.2.20 - - [04/Aug/2015 14:57:44] "GET /web?db=posbox2 HTTP/1.1" 302 -
2015-08-04 14:57:44,409 2345 INFO posbox2 openerp.modules.loading: loading 1 modules...
2015-08-04 14:57:44,425 2345 INFO posbox2 openerp.modules.loading: 1 modules loaded in 0.02s, 0 queries
2015-08-04 14:57:44,462 2345 INFO posbox2 openerp.modules.loading: loading 38 modules...
2015-08-04 14:57:44,536 2345 INFO posbox2 openerp.modules.loading: 38 modules loaded in 0.07s, 0 queries
2015-08-04 14:57:45,753 2345 INFO posbox2 openerp.modules.loading: Modules loaded.
2015-08-04 14:57:45,755 2345 INFO posbox2 openerp.addons.base.ir.ir_http: Generating routing map
2015-08-04 14:57:45,816 2345 INFO posbox2 werkzeug: 192.168.2.20 - - [04/Aug/2015 14:57:45] "GET /web?db=posbox2 HTTP/1.1" 200 -
2015-08-04 14:57:45,960 2345 INFO posbox2 werkzeug: 192.168.2.20 - - [04/Aug/2015 14:57:45] "GET /web/login?redirect=http%3A%2F%2F192.168.2.152%3A8069%2Fweb%3Fdb%3Dposbox2 HTTP/1.1" 200 -
2015-08-04 14:57:48,102 2345 INFO posbox2 werkzeug: 192.168.2.20 - - [04/Aug/2015 14:57:48] "POST /web/login HTTP/1.1" 200 -
2015-08-04 14:57:49,423 2345 INFO posbox2 werkzeug: 192.168.2.20 - - [04/Aug/2015 14:57:49] "GET /web?db=posbox2 HTTP/1.1" 200 -
2015-08-04 14:57:55,061 2345 INFO posbox2 werkzeug: 192.168.2.20 - - [04/Aug/2015 14:57:55] "GET /web/database/selector HTTP/1.1" 200 -
2015-08-04 14:57:56,776 2345 INFO posbox2 werkzeug: 192.168.2.20 - - [04/Aug/2015 14:57:56] "GET /web/database/manager HTTP/1.1" 200 -
2015-08-04 14:58:02,804 2345 INFO None openerp.sql_db: ConnectionPool(used=1/count=2/max=64): Closed 2 connections to 'dbname=posbox2'
2015-08-04 14:58:03,220 2345 INFO None openerp.service.db: DROP DB: posbox2
2015-08-04 14:58:03,227 2345 INFO None werkzeug: 192.168.2.20 - - [04/Aug/2015 14:58:03] "POST /web/database/drop HTTP/1.1" 303 -
2015-08-04 14:58:03,256 2345 INFO posbox2 werkzeug: 192.168.2.20 - - [04/Aug/2015 14:58:03] "GET /web/database/manager HTTP/1.1" 200 -
2015-08-04 14:58:09,529 2345 INFO posbox werkzeug: 192.168.2.20 - - [04/Aug/2015 14:58:09] "GET /web?db=posbox HTTP/1.1" 200 -
2015-08-04 14:58:09,685 2345 INFO posbox werkzeug: 192.168.2.20 - - [04/Aug/2015 14:58:09] "GET /web/login?redirect=http%3A%2F%2F192.168.2.152%3A8069%2Fweb%3Fdb%3Dposbox HTTP/1.1" 200 -
2015-08-04 14:58:12,083 2345 INFO posbox werkzeug: 192.168.2.20 - - [04/Aug/2015 14:58:12] "POST /web/login HTTP/1.1" 200 -
2015-08-04 14:58:12,987 2345 INFO posbox werkzeug: 192.168.2.20 - - [04/Aug/2015 14:58:12] "GET /web?db=posbox HTTP/1.1" 200 -

Maybe someone got an idea. We'll keep searching.

screenshot - 04 08 2015 - 17 18 07

@explanar
Copy link
Author

explanar commented Aug 4, 2015

Finally we did the job:

  • change language settings of admin back to "English" [EN(US)]
  • install Pos-module -> now the post-installation-screen is not "empty" any more:
    screenshot - 04 08 2015 - 18 01 19
  • after that install hw_proxy etc and all modules necessary
  • now change language back to a possibly different than English.
  • check hw_proxy status page to validate installation of its module:
    screenshot - 04 08 2015 - 18 03 59

@explanar explanar closed this as completed Aug 4, 2015
@tomaspworld2017
Copy link

The answer is here -> #14581 (comment)

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

2 participants