Bench Update - Error: erpnext’s requirement not found.

257 просмотров
Перейти к первому непрочитанному сообщению

Nonnatee Kanjana

не прочитано,
14 авг. 2014 г., 13:13:4214.08.2014
– erpnext-dev...@googlegroups.com

Hi, 


Got the following return error from running ‘ bench update ‘ cmd. 

However, ‘ bench update --pull ‘, ‘  -- patch ‘ , and ‘ --build ‘ kinda workaround atm. 

but supervisor is currently broken too. ( not sure why ).

 current running state: Manual updates, remove supervisor, deploy via ‘ frappe --serve ‘ cmd.

(if I re-install supervisor - the system stops responding to all request after a few mins. 



Downloading/unpacking frappe==4.1.0 (from -r ./apps/erpnext/requirements.txt (line 1))

  Could not find any downloads that satisfy the requirement frappe==4.1.0 (from -r ./apps/erpnext/requirements.txt (line 1))

Cleaning up...

No distributions at all found for frappe==4.1.0 (from -r ./apps/erpnext/requirements.txt (line 1))

Storing debug log for failure in /home/psgroups/.pip/pip.log

Error: None

Traceback (most recent call last):

  File "/usr/local/bin/bench", line 9, in <module>

    load_entry_point('bench==0.1', 'console_scripts', 'bench')()

  File "/home/psgroups/bench-repo/bench/cli.py", line 26, in cli

    return bench()

  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 488, in __call__

    return self.main(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 474, in main

    self.invoke(ctx)

  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 758, in invoke

    return self.invoke_subcommand(ctx, cmd, cmd_name, ctx.args[1:])

  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 767, in invoke_subcommand

    return cmd.invoke(cmd_ctx)

  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 659, in invoke

    ctx.invoke(self.callback, **ctx.params)

  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 325, in invoke

    return callback(*args, **kwargs)

  File "/home/psgroups/bench-repo/bench/cli.py", line 94, in update

    update_requirements()

  File "/home/psgroups/bench-repo/bench/utils.py", line 236, in update_requirements

    exec_cmd("{pip} install -r {req_file}".format(pip=pip, req_file=req_file))

  File "/home/psgroups/bench-repo/bench/utils.py", line 56, in exec_cmd

    subprocess.check_call(cmd, cwd=cwd, shell=True)

  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call

    raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command './env/bin/pip install -r ./apps/erpnext/requirements.txt' returned non-zero exit status 1

Pratik Vyas

не прочитано,
14 авг. 2014 г., 13:37:3714.08.2014
– erpnext-dev...@googlegroups.com
> --
> Note:
>
> If you are posting an issue,
>
> 1. ERPNext is a free and open source software and support is given on this
> forum by a team (https://frappe.io/webnotes). So please consider donating if
> you find this forum useful (https://frappe.io/buy). Even a small amount
> would be helpful.
> 2. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 3. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 4. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erpnext-developer...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/fba11fb4-fe1c-4423-9c3a-7998918b61ab%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


No sure what's causing this but the following should fix it

Stop bench start

```
./env/bin/pip uninstall frappe
./env/bin/pip install -e apps/frappe
bench update
```

If supervisor still doesn't work, then check the logs.

Thanks,
--
Pratik
erpnext
Ответить всем
Отправить сообщение автору
Переслать
0 новых сообщений