Ticket #53 (closed task: fixed)

Opened 6 years ago

Last modified 3 years ago

paster create dies on project names with "-" characters

Reported by: pjenvey@… Owned by: ianb
Priority: highest Milestone: 1.4.1
Component: webkit Version: svn-trunk
Severity: trivial Keywords:
Cc:

Description

This appears to be a paste issue -- possibly a mismatch of bad char replacement/setuptools' safe_name/safe_extras calls and or incorrect use of package/project names? (The PasteScript?/setuptools revisions are in the stack trace)

pjenvey@bob:~/src/tmp[5]$ paster create --template=pylons pylons-test
Selected and implied templates:
  Pylons#pylons  Pylons application template

Variables:
  package:  pylonstest
  project:  pylons-test
Creating template pylons
  Creating ./pylons-test/
  Recursing into +package+
    Creating ./pylons-test/pylonstest/
    Copying __init__.py_tmpl to ./pylons-test/pylonstest/__init__.py
    Recursing into components
      Creating ./pylons-test/pylonstest/components/
      Copying empty.myt to ./pylons-test/pylonstest/components/empty.myt
    Recursing into config
      Creating ./pylons-test/pylonstest/config/
      Copying __init__.py_tmpl to ./pylons-test/pylonstest/config/__init__.py
      Copying environment.py_tmpl to ./pylons-test/pylonstest/config/environment.py
      Copying middleware.py_tmpl to ./pylons-test/pylonstest/config/middleware.py
      Copying routing.py_tmpl to ./pylons-test/pylonstest/config/routing.py
    Recursing into controllers
      Creating ./pylons-test/pylonstest/controllers/
      Copying __init__.py_tmpl to ./pylons-test/pylonstest/controllers/__init__.py
      Copying template.py_tmpl to ./pylons-test/pylonstest/controllers/template.py
    Recursing into docs
      Creating ./pylons-test/pylonstest/docs/
      Copying index.txt_tmpl to ./pylons-test/pylonstest/docs/index.txt
    Recursing into il8n
      Creating ./pylons-test/pylonstest/il8n/
      Copying __init__.py_tmpl to ./pylons-test/pylonstest/il8n/__init__.py
    Recursing into lib
      Creating ./pylons-test/pylonstest/lib/
      Copying __init__.py_tmpl to ./pylons-test/pylonstest/lib/__init__.py
      Copying base.py_tmpl to ./pylons-test/pylonstest/lib/base.py
    Copying model.py_tmpl to ./pylons-test/pylonstest/model.py
    Recursing into public
      Creating ./pylons-test/pylonstest/public/
      Copying index.html_tmpl to ./pylons-test/pylonstest/public/index.html
    Recursing into templates
      Creating ./pylons-test/pylonstest/templates/
      Copying autohandler to ./pylons-test/pylonstest/templates/autohandler
    Recursing into tests
      Creating ./pylons-test/pylonstest/tests/
      Copying __init__.py_tmpl to ./pylons-test/pylonstest/tests/__init__.py
      Recursing into functional
        Creating ./pylons-test/pylonstest/tests/functional/
        Copying __init__.py_tmpl to ./pylons-test/pylonstest/tests/functional/__init__.py
      Copying test_models.py_tmpl to ./pylons-test/pylonstest/tests/test_models.py
  Copying server.conf_tmpl to ./pylons-test/server.conf
  Copying setup.cfg_tmpl to ./pylons-test/setup.cfg
  Copying setup.py_tmpl to ./pylons-test/setup.py
Running /usr/local/bin/python setup.py egg_info
Adding Pylons to paster_plugins.txt
Traceback (most recent call last):
  File "/usr/local/bin/paster", line 5, in ?
    pkg_resources.run_script('PasteScript==0.4dev-r4192', 'paster')
  File "/usr/local/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/pkg_resources.py", line 407, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/pkg_resources.py", line 920, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/local/lib/python2.4/site-packages/PasteScript-0.4dev_r4192-py2.4.egg/EGG-INFO/scripts/paster", line 18, in ?
    command.run()
  File "/usr/local/lib/python2.4/site-packages/PasteScript-0.4dev_r4192-py2.4.egg/paste/script/command.py", line 66, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/local/lib/python2.4/site-packages/PasteScript-0.4dev_r4192-py2.4.egg/paste/script/command.py", line 106, in invoke
    exit_code = runner.run(args)
  File "/usr/local/lib/python2.4/site-packages/PasteScript-0.4dev_r4192-py2.4.egg/paste/script/command.py", line 201, in run
    result = self.command()
  File "/usr/local/lib/python2.4/site-packages/PasteScript-0.4dev_r4192-py2.4.egg/paste/script/create_distro.py", line 105, in command
    pluginlib.add_plugin(egg_info_dir, spec)
  File "/usr/local/lib/python2.4/site-packages/PasteScript-0.4dev_r4192-py2.4.egg/paste/script/pluginlib.py", line 20, in add_plugin
    f = open(fn, 'w')
IOError: [Errno 2] No such file or directory: './pylons-test/pylons-test.egg-info/paster_plugins.txt'
pjenvey@bob:~/src/tmp[5]$ ls pylons-test/
pylons_test.egg-info/  pylonstest/  server.conf  setup.cfg  setup.py
pjenvey@bob:~/src/tmp[5]$

Change History

Changed 6 years ago by ianb

  • status changed from new to closed
  • resolution set to fixed

Kevin reported this too; it should be fixed in svn trunk, and will be in 0.4.1

Changed 6 years ago by anonymous

  • severity changed from normal to major
  • component changed from script to deploy
  • summary changed from paster create dies on project names with "-" characters to paster create dies on project names with "-" characters
  • priority changed from normal to lowest
  • version svn-trunk deleted
  • milestone set to 0.4
  • type changed from defect to enhancement

Changed 6 years ago by Aron

  • severity changed from major to normal
  • component changed from deploy to *paste
  • summary changed from paster create dies on project names with "-" characters to paster create dies on project names with "-" characters
  • priority changed from lowest to highest
  • milestone changed from 0.4 to 1.0
  • type changed from enhancement to defect

Changed 6 years ago by Bill

  • severity changed from normal to blocker
  • component changed from *paste to wareweb
  • summary changed from paster create dies on project names with "-" characters to paster create dies on project names with "-" characters
  • version set to svn-trunk
  • milestone changed from 1.0 to 0.4
  • type changed from defect to enhancement

Changed 6 years ago by Arnie

  • summary changed from paster create dies on project names with "-" characters to paster create dies on project names with "-" characters
  • version changed from svn-trunk to 0.3
  • component changed from wareweb to exceptions
  • severity changed from blocker to normal
  • milestone changed from 0.4 to 0.9

Changed 6 years ago by Aron

  • priority changed from highest to normal
  • version changed from 0.3 to svn-trunk
  • component changed from exceptions to deploy
  • summary changed from paster create dies on project names with "-" characters to paster create dies on project names with "-" characters

Very good site! I like it! Thanks!  http://rx-s.net  http://www.rxdrugnews.com  http://www.inksalezone.com  http://www.findcartridges.com  http://www.recurrentdepression.com  http://www.alexo.info  http://www.healthse.com  http://www.recurrentdepression.com  http://www.allfordiabetes.com <a href=" http://rx-s.net"> http://rx-s.net</a> <a href=" http://www.rxdrugnews.com"> http://www.rxdrugnews.com</a> <a href=" http://www.inksalezone.com"> http://www.inksalezone.com</a> <a href=" http://www.findcartridges.com"> http://www.findcartridges.com</a> <a href=" http://www.recurrentdepression.com"> http://www.recurrentdepression.com</a> <a href=" http://www.alexo.info"> http://www.alexo.info</a> <a href=" http://www.healthse.com"> http://www.healthse.com</a> <a href=" http://www.recurrentdepression.com"> http://www.recurrentdepression.com</a> <a href=" http://www.allfordiabetes.com"> http://www.allfordiabetes.com</a> [URL= http://rx-s.net]http://rx-s.net[/URL] [URL= http://www.rxdrugnews.com]http://www.rxdrugnews.com[/URL] [URL= http://www.inksalezone.com]http://www.inksalezone.com[/URL] [URL= http://www.findcartridges.com]http://www.findcartridges.com[/URL] [URL= http://www.recurrentdepression.com]http://www.recurrentdepression.com[/URL] [URL= http://www.alexo.info]http://www.alexo.info[/URL] [URL= http://www.healthse.com]http://www.healthse.com[/URL] [URL= http://www.recurrentdepression.com]http://www.recurrentdepression.com[/URL] [URL= http://www.allfordiabetes.com]http://www.allfordiabetes.com[/URL]

Changed 6 years ago by Aron

  • priority changed from normal to highest
  • component changed from deploy to webkit
  • type changed from enhancement to task
  • severity changed from normal to trivial
  • summary changed from paster create dies on project names with &amp;amp;amp;amp;amp;#34;-&amp;amp;amp;amp;amp;#34; characters to paster create dies on project names with &amp;amp;amp;amp;amp;amp;#34;-&amp;amp;amp;amp;amp;amp;#34; characters

Changed 5 years ago by anonymous

  • milestone 0.9 deleted

Milestone 0.9 deleted

Note: See TracTickets for help on using tickets.