Rhodecode fail to start after upgrade to 1.3.4

Issue #416 invalid
Former user created an issue

Rhodecode fail to start after upgrade to 1.3.4

============= File "/usr/local/bin/paster", line 9, in <module> load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')() File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 104, in run invoke(command, command_name, options, args[1:]) File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 143, in in

Comments (4)

  1. Former user Account Deleted
    Traceback (most recent call last):
      File "/usr/local/bin/paster", line 9, in <module>
        load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
      File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 104, in run
        invoke(command, command_name, options, args[1:])
      File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 143, in invoke
        exit_code = runner.run(args)
      File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 238, in run
        result = self.command()
      File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.5-py2.7.egg/paste/script/serve.py", line 279, in command
        self.logging_file_config(log_fn)
      File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 788, in logging_file_config
        here=os.path.dirname(config_file)))
      File "/usr/lib/python2.7/logging/config.py", line 70, in fileConfig
        formatters = _create_formatters(cp)
      File "/usr/lib/python2.7/logging/config.py", line 127, in _create_formatters
        c = _resolve(class_name)
      File "/usr/lib/python2.7/logging/config.py", line 88, in _resolve
        found = __import__(used)
    ImportError: No module named rhodecode
    Removing PID file /home/hg/rhodecode/rhodecode.pid
    
  2. Marcin Kuzminski repo owner

    re-check you enviroment settings, it looks like that python binary doesn't see rhodecode package

  3. Former user Account Deleted

    1.3.4 fail to start under restricted user. Under root is started well. How to recheck environment?

  4. Marcin Kuzminski repo owner

    If it's an user thing, make sure your python enviroment is visible to that user. It's nothing do to with RhodeCode, it's os/python/user related problem. Closing.

  5. Log in to comment