Open GoogleCodeExporter opened 9 years ago
After control+c:
^CTraceback (most recent call last):
File "/usr/bin/gsmirror", line 9, in <module>
load_entry_point('gsmirror==1.0.2', 'console_scripts', 'gsmirror')()
File "/usr/lib/python2.6/site-packages/gsmirror-1.0.2-py2.6.egg/gsmirroring/gsmirror.py", line 137, in main
siteController.save_site_to_disk(site=site, path=path, directory=name)
File "/usr/lib/python2.6/site-packages/gsmirror-1.0.2-py2.6.egg/gsmirroring/site_controller.py", line 273, in save_site_to_disk
self.save_page_to_disk(page=child, path=path_to_site, site=site)
File "/usr/lib/python2.6/site-packages/gsmirror-1.0.2-py2.6.egg/gsmirroring/site_controller.py", line 327, in save_page_to_disk
self.save_as_file(content=str(template_out), path=page_path + PAGE_NAME)
File "/usr/lib/python2.6/site-packages/Cheetah-2.4.4-py2.6.egg/Cheetah/Template.py", line 1005, in __str__
rc = getattr(self, mainMethName)()
File "DynamicallyCompiledCheetahTemplate.py", line 89, in respond
NameError: global name 'node' is not defined
===========
Strace:
) = ? ERESTARTSYS (To be restarted)
--- SIGINT (Interrupt) @ 0 (0) ---
rt_sigreturn(0xffffffff) = -1 EINTR (Interrupted system call)
write(2, "Traceback (most recent call last"..., 35) = 35
write(2, " File \"/usr/bin/gsmirror\", line"..., 48) = 48
open("/usr/bin/gsmirror", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=306, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f8862918000
read(5, "#!/usr/bin/python\n# EASY-INSTALL"..., 4096) = 306
write(2, " ", 4) = 4
write(2, "load_entry_point('gsmirror==1.0."..., 69) = 69
close(5) = 0
munmap(0x7f8862918000, 4096) = 0
write(2, " File \"/usr/lib/python2.6/site-"..., 110) = 110
open("/usr/lib/python2.6/site-packages/gsmirror-1.0.2-py2.6.egg/gsmirroring/gsmi
rror.py", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=4979, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f8862918000
read(5, "#! /usr/bin/python\n\n\n__author__="..., 4096) = 4096
read(5, " name = arg\n elif o"..., 4096) = 883
write(2, " ", 4) = 4
write(2, "siteController.save_site_to_disk"..., 71) = 71
close(5) = 0
munmap(0x7f8862918000, 4096) = 0
write(2, " File \"/usr/lib/python2.6/site-"..., 130) = 130
open("/usr/lib/python2.6/site-packages/gsmirror-1.0.2-py2.6.egg/gsmirroring/site
_controller.py", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=19912, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f8862918000
read(5, "__author__=\"hanis (Jan Rychtar)\""..., 4096) = 4096
read(5, "since_lasttime(self):\n \"\""..., 4096) = 4096
read(5, "+9:-1]\n new_l"..., 4096) = 4096
write(2, " ", 4) = 4
write(2, "self.save_page_to_disk(page=chil"..., 65) = 65
close(5) = 0
munmap(0x7f8862918000, 4096) = 0
write(2, " File \"/usr/lib/python2.6/site-"..., 130) = 130
open("/usr/lib/python2.6/site-packages/gsmirror-1.0.2-py2.6.egg/gsmirroring/site
_controller.py", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=19912, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f8862918000
read(5, "__author__=\"hanis (Jan Rychtar)\""..., 4096) = 4096
read(5, "since_lasttime(self):\n \"\""..., 4096) = 4096
read(5, "+9:-1]\n new_l"..., 4096) = 4096
write(2, " ", 4) = 4
write(2, "self.save_as_file(content=str(te"..., 73) = 73
close(5) = 0
munmap(0x7f8862918000, 4096) = 0
write(2, " File \"/usr/lib/python2.6/site-"..., 109) = 109
open("/usr/lib/python2.6/site-packages/Cheetah-2.4.4-py2.6.egg/Cheetah/Template.
py", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=85089, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f8862918000
read(5, "'''\nProvides the core API for Ch"..., 4096) = 4096
read(5, ".\n\n See the docstring for Tem"..., 4096) = 4096
read(5, "use pattern 1 instead):\n "..., 4096) = 4096
read(5, " _getCompilerSettings(klass, sou"..., 4096) = 4096
read(5, "eady in\n sys.module"..., 4096) = 4096
read(5, " by zero\n \n "..., 4096) = 4096
read(5, "ngs.\n - search"..., 4096) = 4096
read(5, " if not isinstance(cacheModule"..., 4096) = 4096
read(5, "== 'ascii':\n gene"..., 4096) = 4096
read(5, "this is T2.meth1')\n \"\"\"\n "..., 4096) = 4096
read(5, " if not hasattr(settings, 'com"..., 4096) = 4096
write(2, " ", 4) = 4
write(2, "rc = getattr(self, mainMethName)"..., 35) = 35
close(5) = 0
munmap(0x7f8862918000, 4096) = 0
write(2, " File \"DynamicallyCompiledCheet"..., 68) = 68
open("DynamicallyCompiledCheetahTemplate.py", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/bin/DynamicallyCompiledCheetahTemplate.py", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/lib/python2.6/site-packages/gsmirror-1.0.2-py2.6.egg/DynamicallyCompi
ledCheetahTemplate.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/site-packages/gdata-2.0.17-py2.6.egg/DynamicallyCompile
dCheetahTemplate.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/site-packages/BeautifulSoup-3.2.1-py2.6.egg/Dynamically
CompiledCheetahTemplate.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/site-packages/Cheetah-2.4.4-py2.6.egg/DynamicallyCompil
edCheetahTemplate.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/site-packages/Markdown-2.3.1-py2.6.egg/DynamicallyCompi
ledCheetahTemplate.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python26.zip/DynamicallyCompiledCheetahTemplate.py", O_RDONLY)
= -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.6/DynamicallyCompiledCheetahTemplate.py", O_RDONLY) =
-1 ENOENT (No such file or directory)
open("/usr/lib64/python2.6/plat-linux2/DynamicallyCompiledCheetahTemplate.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.6/lib-tk/DynamicallyCompiledCheetahTemplate.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.6/lib-old/DynamicallyCompiledCheetahTemplate.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.6/lib-dynload/DynamicallyCompiledCheetahTemplate.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.6/site-packages/DynamicallyCompiledCheetahTemplate.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.6/site-packages/gtk-2.0/DynamicallyCompiledCheetahTempl
ate.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/site-packages/DynamicallyCompiledCheetahTemplate.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info/Dynamica
llyCompiledCheetahTemplate.py", O_RDONLY) = -1 ENOTDIR (Not a directory)
write(2, "NameError", 9) = 9
write(2, ": ", 2) = 2
write(2, "global name 'node' is not define"..., 33) = 33
write(2, "\n", 1) = 1
close(4) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x3410c0f500}, {0x3418d0db70,
[], SA_RESTORER, 0x3410c0f500}, 8) = 0
exit_group(1) = ?
Process 15720 detached
Original comment by tiago.tu...@gmail.com
on 3 Sep 2013 at 4:17
My /default_templates/ was corrupted!
Original comment by tiago.tu...@gmail.com
on 19 Nov 2013 at 1:04
Original issue reported on code.google.com by
tiago.tu...@gmail.com
on 3 Sep 2013 at 4:14