[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#908580: marked as done (ibus-table-createdb fails with nonexisting $HOME)



Your message dated Wed, 03 Oct 2018 15:12:24 -0400
with message-id <6f6782d6f470e09ee68f6030d230978180cb506d.camel@gmail.com>
and subject line Properly close bug #908580
has caused the Debian Bug report #908580,
regarding ibus-table-createdb fails with nonexisting $HOME
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
908580: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908580
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ibus-table
Version: 1.9.21-1
Severity: serious
Control: affects -1 src:ibus-table-others

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ibus-table-others.html

...
/usr/bin/ibus-table-createdb  -n compose.db -s compose.txt
Traceback (most recent call last):
  File "/usr/share/ibus-table/engine/tabcreatedb.py", line 455, in <module>
    main()
  File "/usr/share/ibus-table/engine/tabcreatedb.py", line 175, in main
    create_database=True)
  File "/usr/share/ibus-table/engine/tabsqlitedb.py", line 262, in __init__
    import ibus_table_location
  File "/usr/share/ibus-table/engine/ibus_table_location.py", line 102, in <module>
    __module_init = __ModuleInitializer()
  File "/usr/share/ibus-table/engine/ibus_table_location.py", line 96, in __init__
    _init()
  File "/usr/share/ibus-table/engine/ibus_table_location.py", line 76, in _init
    os.makedirs(IBUS_TABLE_LOCATION['data_home'])
  File "/usr/lib/python3.6/os.py", line 210, in makedirs
    makedirs(head, mode, exist_ok)
  File "/usr/lib/python3.6/os.py", line 210, in makedirs
    makedirs(head, mode, exist_ok)
  File "/usr/lib/python3.6/os.py", line 210, in makedirs
    makedirs(head, mode, exist_ok)
  File "/usr/lib/python3.6/os.py", line 220, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/nonexistent'
make[2]: *** [Makefile:519: compose.db] Error 1


This can be reproduced with:

# works
$ HOME=/tmp /usr/bin/ibus-table-createdb -n compose.db -s compose.txt

# fails
$ HOME=/doesnotexist /usr/bin/ibus-table-createdb -n compose.db -s compose.txt

--- End Message ---
--- Begin Message ---
Version: 1.9.21-2

Thanks,
Boyuan Yang

--- End Message ---

Reply to: