"ImportError: No module named meta" in Installation from frappe Bench

Hey guys,

I have a fresh install of Debian 7.4.
When I run the install-script via "./scripts/install.sh single ERPNext ERPNext" I get following Error:

Traceback (most recent call last):
File "/srv/frappe-bench/env/bin/frappe", line 9, in <module>
load_entry_point('frappe==4.0.0-beta', 'console_scripts', 'frappe')()
File "/srv/frappe-bench/apps/frappe/frappe/cli.py", line 49, in main
run(fn, parsed_args)
File "/srv/frappe-bench/apps/frappe/frappe/cli.py", line 70, in run
out = globals().get(fn)(*args.get(fn), **args)
File "/srv/frappe-bench/apps/frappe/frappe/cli.py", line 63, in new_fn
return fn(*args, **new_kwargs)
File "/srv/frappe-bench/apps/frappe/frappe/cli.py", line 269, in install_app
install_app(app_name, verbose=verbose)
File "/srv/frappe-bench/apps/frappe/frappe/installer.py", line 106, in install_app
add_to_installed_apps(name)
File "/srv/frappe-bench/apps/frappe/frappe/installer.py", line 125, in add_to_installed_apps
rebuild_website_template()
File "/srv/frappe-bench/apps/frappe/frappe/website/doctype/website_template/website_template.py", line 55, in rebuild_website_template
build_website_template(app)
File "/srv/frappe-bench/apps/frappe/frappe/website/doctype/website_template/website_template.py", line 73, in build_website_template
add_website_template(**args)
File "/srv/frappe-bench/apps/frappe/frappe/website/doctype/website_template/website_template.py", line 114, in add_website_template
module = frappe.get_module(wsc.controller)
File "/srv/frappe-bench/apps/frappe/frappe/__init__.py", line 380, in get_module
return importlib.import_module(modulename)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/srv/frappe-bench/apps/shopping_cart/shopping_cart/templates/pages/address.py", line 9, in <module>
from frappe.widgets.form.meta import get_meta
ImportError: No module named meta


If you need any more Information feel free to ask.

Thanks in Advance
Lukas



Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/15cf07ad-a208-4698-a445-40de180d3cf0%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
By the way: meta is installed via pip. I tried to do an extra install from inside the virtualenv, too, but it tells me it's already there.

Thanks again
Lukas



Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1180f4e3-97b2-462f-9b50-1e10caad0e1b%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Hey again,

I get the same error I tried it a few days ago. Back then it was perfectly working.

Greetings and thanks in advance
Lukas



Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/00edc11c-e0f7-4d54-b993-fd64e43af813%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Hey again,

I also deleted the "tag"-Lines in standard_apps.json in order to get the most recent versions but the error still remains.
Sorry for me annoying you, I just think more input is better than less.

Greetings and thanks
Lukas



Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/5bb99d1e-37ca-4dca-a6c9-cc0fb6d9abba%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

Hey Lucas!

On Tue, Apr 1, 2014 at 12:24 PM, Lukas Wagner
ap...@gmail.com wrote:

Hey again,

I also deleted the “tag”-Lines in standard_apps.json in order to get the
most recent versions but the error still remains.
Sorry for me annoying you, I just think more input is better than less.

The meta errors is due to instablity of the develop branch. The more
stable points in time are tagged as v4-beta2 at the moment.

Can you run git reset --hard v4-beta2 in all directories in apps.
The tag lines in standard_apps is meant for this. But as the apps are
already cloned, they don’t run.

Then, try a fresh install.

Greetings and thanks
Lukas


Note:

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send
    only the URL via email
  3. 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-forum+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/5bb99d1e-37ca-4dca-a6c9-cc0fb6d9abba%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Thanks,

Pratik
erpnext

Hey Pratik,

I first encountered this error at a fresh install with v4-beta2 as tags
(with the original standard_apps.json).
At that time I just followed the installation instructions in Readme.md.
I also tried it on another system with a fresh install where a fresh
install worked two weeks ago. It’s the same on that one. the current
frappe bench without modification throws this error as far as I can tell
on any current (fully upgraded) Debian 7.4 system I have at my disposal.

Greetings and thanks
Lukas

On 01.04.2014 09:02, Pratik Vyas wrote:

Hey Lucas!

On Tue, Apr 1, 2014 at 12:24 PM, Lukas Wagner
ap...@gmail.com wrote:

Hey again,

I also deleted the “tag”-Lines in standard_apps.json in order to get the
most recent versions but the error still remains.
Sorry for me annoying you, I just think more input is better than less.

The meta errors is due to instablity of the develop branch. The more
stable points in time are tagged as v4-beta2 at the moment.

Can you run git reset --hard v4-beta2 in all directories in apps.
The tag lines in standard_apps is meant for this. But as the apps are
already cloned, they don’t run.

Then, try a fresh install.

Greetings and thanks
Lukas


Note:

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send
    only the URL via email
  3. 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-forum+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/5bb99d1e-37ca-4dca-a6c9-cc0fb6d9abba%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Thanks,


Note:

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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-forum+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/533A6A1B.8060300%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

Hello again,

I just tried a fresh install again. Here's the complete console output from cloning up to the error without additions or deletions: http://pastebin.com/PUgbUHVt
I hope that helps :)

Thanks
Lukas



Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/58c28f27-ce7d-4251-9c05-1a6ada785542%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

Hey Lucas,

On Tue, Apr 1, 2014 at 5:53 PM, Lukas Wagner
ap...@gmail.com wrote:

Hello again,

I just tried a fresh install again. Here’s the complete console output from
cloning up to the error without additions or deletions:
http://pastebin.com/PUgbUHVt
I hope that helps :slight_smile:

That helps and I realized the mistake. I forgot to tag shopping-cart
in apps.json. Can you,

Can you run git reset --hard v1-beta1 in apps/shopping-cart

and try the install again?

Sorry for the agony this has caused.

Thanks
Lukas


Note:

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send
    only the URL via email
  3. 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-forum+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/58c28f27-ce7d-4251-9c05-1a6ada785542%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Thanks,

Pratik
erpnext

Hey Pratik,

thanks a lot! It works like a charm now.
Isn’t it possible to test the bench installation with a CI every time a
push or commit is made? I do this with my projects in GitLab.

Best regards
Lukas

On 01.04.2014 21:11, Pratik Vyas wrote:

Hey Lucas,

On Tue, Apr 1, 2014 at 5:53 PM, Lukas Wagner
ap...@gmail.com wrote:

Hello again,

I just tried a fresh install again. Here’s the complete console output from
cloning up to the error without additions or deletions:
http://pastebin.com/PUgbUHVt
I hope that helps :slight_smile:

That helps and I realized the mistake. I forgot to tag shopping-cart
in apps.json. Can you,

Can you run git reset --hard v1-beta1 in apps/shopping-cart

and try the install again?

Sorry for the agony this has caused.

Thanks
Lukas


Note:

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send
    only the URL via email
  3. 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-forum+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/58c28f27-ce7d-4251-9c05-1a6ada785542%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Thanks,


Note:

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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-forum+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/533B1C85.2030905%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Yes, I should add travis. Also, once we release v4.0) could do it with every release of any of the apps in apps.json to catch installation issues.

We already have CI setup for frappe/frappe and frappe/erpnext

sent from phone

On 2 Apr 2014 01:37, "Lukas Wagner" <ap...@gmail.com> wrote:
Hey Pratik,

thanks a lot! It works like a charm now.
Isn't it possible to test the bench installation with a CI every time a push or commit is made? I do this with my projects in GitLab.

Best regards
Lukas

On 01.04.2014 21:11, Pratik Vyas wrote:
Hey Lucas,

On Tue, Apr 1, 2014 at 5:53 PM, Lukas Wagner
<ap...@gmail.com> wrote:
Hello again,

I just tried a fresh install again. Here's the complete console output from
cloning up to the error without additions or deletions:
http://pastebin.com/PUgbUHVt
I hope that helps :)

That helps and I realized the mistake. I forgot to tag shopping-cart
in apps.json. Can you,

Can you run `git reset --hard v1-beta1` in apps/shopping-cart

and try the install again?

Sorry for the agony this has caused.

Thanks
Lukas

--
Note:

If you are posting an issue,
1. 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.
2. Paste your code at http://pastebin.com or http://gist.github.com and send
only the URL via email
3. 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-forum+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/58c28f27-ce7d-4251-9c05-1a6ada785542%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Thanks,

--
Note:

If you are posting an issue,
1. 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.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. 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-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/533B1C85.2030905%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

Pratik, this can not be adjusted within the installation script?


2014-04-01 17:12 GMT-03:00 Pratik Vyas <pd…@gmail.com>:

Yes, I should add travis. Also, once we release v4.0) could do it with every release of any of the apps in apps.json to catch installation issues.

We already have CI setup for frappe/frappe and frappe/erpnext

sent from phone

On 2 Apr 2014 01:37, "Lukas Wagner" <ap...@gmail.com> wrote:

Hey Pratik,



thanks a lot! It works like a charm now.

Isn't it possible to test the bench installation with a CI every time a push or commit is made? I do this with my projects in GitLab.



Best regards

Lukas



On 01.04.2014 21:11, Pratik Vyas wrote:

Hey Lucas,

On Tue, Apr 1, 2014 at 5:53 PM, Lukas Wagner
<ap...@gmail.com> wrote:
Hello again,

I just tried a fresh install again. Here's the complete console output from
cloning up to the error without additions or deletions:
http://pastebin.com/PUgbUHVt
I hope that helps :)

That helps and I realized the mistake. I forgot to tag shopping-cart
in apps.json. Can you,

Can you run `git reset --hard v1-beta1` in apps/shopping-cart

and try the install again?

Sorry for the agony this has caused.

Thanks
Lukas

--
Note:

If you are posting an issue,
1. 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.
2. Paste your code at http://pastebin.com or http://gist.github.com and send
only the URL via email
3. 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-forum+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/58c28f27-ce7d-4251-9c05-1a6ada785542%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Thanks,

--
Note:

If you are posting an issue,
1. 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.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. 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-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/533B1C85.2030905%40gmail.com.

For more options, visit https://groups.google.com/d/optout.



Note:



If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAG8U0EmXr2WhmVLXECWYOS3zLVpOKx2w8wTTaLhtY0_%2B3cnQNw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--

Best Regards.

Maxwell Morais
Python Developer powered by Webnotes framework <3
+55 11 954329659




Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CABK1YkNZ3S0%3DMoFpOuegDQDVe7NLMGwJeV1GCPGdrEt0ywMYXQ%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.

It can, this is also what I did. Just add the tag to the shopping cart in the apps config file.



Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAChK9xrHQVzOqzJ6ZuRjQUi_dAFCSuaqCTi3AQoiukLgv9QnVg%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.