Bug 3618 - tl-config gives traceback on bad files
Summary: tl-config gives traceback on bad files
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: pre-1.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Peter Åstrand
Depends on:
Blocks: 2126
  Show dependency treegraph
Reported: 2010-10-06 14:40 CEST by Pierre Ossman
Modified: 2023-07-21 16:22 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Description Pierre Ossman cendio 2010-10-06 14:40:13 CEST
This is not very user friendly:

[root@dhcp-254-171 ~]# /opt/thinlinc/bin/tl-config /appservergroups/rdp/default/domain
Traceback (most recent call last):
  File "/usr/bin/hivetool", line 165, in ?
  File "/usr/bin/hivetool", line 128, in main
    hive = hiveconf.open_hive(roothive)
  File "/usr/lib/hiveconf/hiveconf.py", line 638, in open_hive
    return hfp.parse()
  File "/usr/lib/hiveconf/hiveconf.py", line 699, in parse
    self.mount_directive(args, curfolder, url, linenum, sectionname)
  File "/usr/lib/hiveconf/hiveconf.py", line 798, in mount_directive
    self.parse(mount_url, curfolder)
  File "/usr/lib/hiveconf/hiveconf.py", line 718, in parse
    raise SyntaxError(url, linenum)
hiveconf.SyntaxError: Bad line 13 in file:///opt/thinlinc/etc/conf.d/appservergroups.hconf
Comment 1 Emil Lock cendio 2023-07-10 10:24:02 CEST
Since the cause of the problem is located in hiveconf I found that this also happens for the following:

  - tlwebaccess
  - thinlinc-login
  - vsmagent
  - vsmserver
  - tl-ssh-all
  - tlwebadm
  - tl-setup
  - tl-desktop-builder
  - tl-rsync-all
  - tl-wait-smartcard
  - tl-session-param
  - tl-ldap-certalias
  - tl-limit-printers
Comment 3 Pierre Ossman cendio 2023-07-12 14:41:50 CEST
Note that we already have bug 2126 as the general case of this issue.

Note You need to log in before you can comment on or make changes to this bug.