Bug 5260 - traceback while running tl-setup in a directory which is removed.
Summary: traceback while running tl-setup in a directory which is removed.
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: 4.2.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Pierre Ossman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-18 14:51 CEST by Henrik Andersson
Modified: 2023-02-28 13:53 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Henrik Andersson cendio 2014-09-18 14:51:12 CEST
2014-09-18 14:41:22,714: Traceback (most recent call last):
2014-09-18 14:41:22,714:   File "/opt/thinlinc/sbin/../libexec/tl-setup.py", line 478, in <module>
2014-09-18 14:41:22,714:     O0oO ( )
2014-09-18 14:41:22,714:   File "/opt/thinlinc/sbin/../libexec/tl-setup.py", line 435, in O0oO
2014-09-18 14:41:22,714:     I11iI = o0OOOoO0 . run ( )
2014-09-18 14:41:22,715:   File "/opt/thinlinc/modules/thinlinc/wizard.py", line 91, in run
2014-09-18 14:41:22,715:     return self . _run_text ( )
2014-09-18 14:41:22,715:   File "/opt/thinlinc/modules/thinlinc/wizard.py", line 109, in _run_text
2014-09-18 14:41:22,715:     Ooooo0Oo00oO0 ( )
2014-09-18 14:41:22,715:   File "/opt/thinlinc/modules/thinlinc/tlsetup/email.py", line 74, in II111iiiiII
2014-09-18 14:41:22,715:     iii11iII = Ooo0OO0oOO ( )
2014-09-18 14:41:22,715:   File "/opt/thinlinc/modules/thinlinc/tlsetup/email.py", line 24, in Ooo0OO0oOO
2014-09-18 14:41:22,716:     O0oO = hiveconf . open_hive ( oooO0oo0oOOOO )
2014-09-18 14:41:22,716:   File "/opt/thinlinc/modules/hiveconf.py", line 637, in open_hive
2014-09-18 14:41:22,716:     hfp = _HiveFileParser(urlparse.urljoin(_get_cwd_url(), url))
2014-09-18 14:41:22,716:   File "/opt/thinlinc/modules/hiveconf.py", line 108, in _get_cwd_url
2014-09-18 14:41:22,716:     return "file://" + os.getcwd() + "/"
2014-09-18 14:41:22,717: OSError: [Errno 2] No such file or directory
Comment 1 Samuel Mannehed cendio 2023-02-28 13:53:38 CET
Can still reproduce this. What I did:

 1. Opened a terminal
 2. `mkdir ~/tempdir`
 3. `cd ~/tempdir`
 4. Opened a different terminal and ran `rm -r ~/tempdir`
 5. Went back to the first terminal
 6. `sudo /opt/thinlinc/sbin/tl-setup`

From the GUI, I get a “Internal Error” with a reference to tlsetup.log. In the log I get the traceback mentioned in comment #0.

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