Ticket #119 (closed defect: fixed)

Opened 1 month ago

Last modified 1 month ago

error with the svn gaphor version

Reported by: aherrer..@uci.cu Assigned to: arj..@yirdis.nl
Priority: major Milestone: Gaphor 0.13.0
Component: Gaphor Version:
Keywords: Cc:

Description (Last modified by arj..@yirdis.nl)

I got this error with the the svn revision 4 days ago and in the 2285 revision too:

$ gaphor
2008-04-06 21:51:43,984 DEBUG found entry point service.file_manager
2008-04-06 21:51:44,117 DEBUG found entry point service.diagram_layout
2008-04-06 21:51:44,783 DEBUG found entry point service.diagram_export_manager
2008-04-06 21:51:44,786 DEBUG found entry point service.check_metamodel
2008-04-06 21:51:44,788 DEBUG found entry point service.live_object_browser
2008-04-06 21:51:44,790 DEBUG found entry point service.sanitizer
2008-04-06 21:51:44,791 DEBUG found entry point service.adapter_loader
2008-04-06 21:51:44,793 DEBUG found entry point service.element_factory
2008-04-06 21:51:44,794 DEBUG found entry point service.properties
2008-04-06 21:51:44,795 DEBUG found entry point service.pynsource
2008-04-06 21:51:44,800 DEBUG found entry point service.undo_manager
2008-04-06 21:51:44,802 DEBUG found entry point service.gui_manager
2008-04-06 21:51:44,804 DEBUG found entry point service.copy
2008-04-06 21:51:44,806 DEBUG found entry point service.action_manager
2008-04-06 21:51:44,808 DEBUG found entry point service.xmi_export
2008-04-06 21:51:44,817 DEBUG found entry point service.alignment
2008-04-06 21:51:44,819 DEBUG found entry point service.help
2008-04-06 21:51:44,825 INFO initializing service service.file_manager
2008-04-06 21:51:44,827 INFO initializing service service.properties
2008-04-06 21:51:44,854 INFO initializing service service.diagram_layout
2008-04-06 21:51:44,854 INFO initializing service service.diagram_export_manager
2008-04-06 21:51:44,854 INFO initializing service service.gui_manager
2008-04-06 21:51:44,864 INFO Icon dir: /usr/lib/python2.5/site-packages/gaphor/ui/pixmaps
Traceback (most recent call last):
  File "/usr/bin/gaphor", line 8, in <module>
    load_entry_point('gaphor==0.13.0', 'console_scripts', 'gaphor')()
  File "/usr/lib/python2.5/site-packages/gaphor/__init__.py", line 57, in main
    launch()
  File "/usr/lib/python2.5/site-packages/gaphor/__init__.py", line 37, in launch
    Application.init()
  File "/usr/lib/python2.5/site-packages/gaphor/application.py", line 45, in init
    self.init_all_services()
  File "/usr/lib/python2.5/site-packages/gaphor/application.py", line 91, in init_all_services
    self.init_service(self._uninitialized_services.iterkeys().next())
  File "/usr/lib/python2.5/site-packages/gaphor/application.py", line 105, in init_service
    srv.init(self)
  File "/usr/lib/python2.5/site-packages/gaphor/services/guimanager.py", line 25, in init
    self.init_stock_icons()
  File "/usr/lib/python2.5/site-packages/gaphor/services/guimanager.py", line 40, in init_stock_icons
    gaphor.ui.stock.load_stock_icons()
  File "/usr/lib/python2.5/site-packages/gaphor/ui/stock.py", line 132, in load_stock_icons
    parser.parse(filename)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py", line 103, in parse
    source = saxutils.prepare_input_source(source)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/saxutils.py", line 523, in prepare_input_source
    f = urllib2.urlopen(source.getSystemId())
  File "/usr/lib/python2.5/urllib2.py", line 121, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.5/urllib2.py", line 366, in open
    protocol = req.get_type()
  File "/usr/lib/python2.5/urllib2.py", line 241, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /usr/lib/python2.5/site-packages/gaphor/ui/icons.xml

I hope this can be useful

Attachments

Change History

04/06/08 21:21:13 changed by arj..@yirdis.nl

  • status changed from new to assigned.
  • description changed.
  • milestone set to Gaphor 0.13.0.

04/06/08 21:25:11 changed by arj..@yirdis.nl

Which version of setuptools are you using?

It looks like the url should be written as file://usr/...

04/06/08 21:54:39 changed by anonymous

I have setuptools-0.6_rc7-r1

04/07/08 00:56:17 changed by arj..@yirdis.nl

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [2286]) use full URL to retrieve icons.xml file. Fixes #119.


Add/Change #119 (error with the svn gaphor version)




Action