A missing href (e.g. typo of file/URL not found) causes Gump to crash
---------------------------------------------------------------------

         Key: GUMP-137
         URL: http://issues.apache.org/jira/browse/GUMP-137
     Project: Gump
        Type: Bug
  Components: Python-based Gump  
    Versions: Gump3-alpha-3    
    Reporter: Adam Jack


A missing href (e.g. typo of file/URL not found) causes Gump to crash:

Find module starting with <DOM Element: module at 0x11c4120>
Found!
16:44:13 WARNING    Dropping module '' because of href resolution error!
16:44:13 ERROR      Fatal error during run!
Traceback (most recent call last):
  File "f:\data\Python\Gump3-SVN\pygump\python\gump\engine\__init__.py", line 21
4, in run
    (domtree, dropped_nodes) = self.workspace_loader.get_workspace_tree(self.wor
kspace)
  File "f:\data\Python\Gump3-SVN\pygump\python\gump\engine\loader.py", line 186,
 in get_workspace_tree
    _resolve_hrefs_in_children(ws, dropped_nodes, [], self.get_as_stream, self.h
andle_error)
  File "f:\data\Python\Gump3-SVN\pygump\python\gump\engine\loader.py", line 67,
in _resolve_hrefs_in_children
    _resolve_hrefs_in_children(child, dropped_nodes, found_hrefs[:], download_fu
nc, error_func)
  File "f:\data\Python\Gump3-SVN\pygump\python\gump\engine\loader.py", line 61,
in _resolve_hrefs_in_children
    _resolve_href(child, dropped_nodes, found_hrefs, download_func, error_func)
  File "f:\data\Python\Gump3-SVN\pygump\python\gump\engine\loader.py", line 89,
in _resolve_href
    error_func(href, node, dropped_nodes)
  File "f:\data\Python\Gump3-SVN\pygump\python\gump\engine\loader.py", line 225,
 in handle_error
    _do_drop(project, dropped_nodes)
  File "f:\data\Python\Gump3-SVN\pygump\python\gump\engine\modeller.py", line 47
, in _do_drop
    node_to_remove_element_from = to_remove.parentNode
AttributeError: 'NoneType' object has no attribute 'parentNode'
DEBUG: Run completed!
DEBUG: Cleaning up child processes. This may take up to a little over 400 second
s.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to