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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 14:40 CEST by Pierre Ossman
Modified: 2017-05-30 12:59 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

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 ?
    main()
  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

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