gopiariv / google-sites-mirror

Automatically exported from code.google.com/p/google-sites-mirror
0 stars 0 forks source link

NameError: global name 'node' is not defined #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
# /usr/bin/python2.6 /usr/bin/gsmirror -s production-support -d bla.com -p 
/backup/google-sites/20130906/ -t /backup/google-sites/default_templates/ -n 
production-support --email noreply@bla.com --password "pass" -l

What is the expected output? What do you see instead?

Expect download with sucess, but I got:

downloading page: blacklistprocessor
downloading ocontent of: blacklistprocessor
downloading attachment information: 5-ConsoleOutput.jpg
downloading attachment information: 3-BuildNow.jpg
downloading attachment information: 1-jenkins_views
downloading attachment information: 4-build45.jpg
downloading attachment information: 2-BlacklistProcessorJob.jpg
downloading attachment information: 1-JenkinsViews.jpg
downloading page: siteupdater
downloading ocontent of: siteupdater
downloading page: tasks
downloading ocontent of: tasks
downloading list item at: tasks
saving page: home
Traceback (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/lib64/python2.6/site-packages/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

What version of the product are you using? On what operating system?
Red Hat Enterprise Linux Server release 6.3 (Santiago)
gsmirror-1.0.2

Please provide any additional information below.

Original issue reported on code.google.com by tiago.tu...@gmail.com on 6 Sep 2013 at 1:39

GoogleCodeExporter commented 8 years ago
Solved: My /default_templates/ was corrupted!

Original comment by tiago.tu...@gmail.com on 17 Dec 2013 at 1:45