Apps: Unable to run the reports

26 views
Skip to first unread message

Aditya Duggal

unread,
Jul 7, 2014, 8:23:12 AM7/7/14
to erpnext-dev...@googlegroups.com
Hi,

I have just installed the custom app and I am unable to load any reports on the test system

I am getting the following console error.


Kindly note that the other things in the app like customization to Item Code etc is working perfectly fine but only the reports are not work.

Rushabh Mehta

unread,
Jul 8, 2014, 11:28:00 PM7/8/14
to erpnext-dev...@googlegroups.com
Aditya,

Most likely, the app has not been installed.

You need to clone your app from github to the "apps" folder
go to the app folder and write

`python setup.py develop`

then go to the sites folders and:

`frappe --install_app rigpl_erpnext`


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/932ef17d-9110-4b10-a3ca-0c7f804f439a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Aditya Duggal

unread,
Jul 9, 2014, 5:14:20 AM7/9/14
to erpnext-dev...@googlegroups.com
Hi Rushabh,

First of all I think that the app is installed since I am able to see all the reports and also the custom scripts on the server side for the item masters are working perfectly fine, its just that the script reports are not working.

Also I tried the following as per your suggestion:

  1. Went to folder frappe-bench/apps/frappe$ (please note that the below command did not work under the app folder rigpl_erpnext, gave me an error setuptools is missing)
  2. ran the command: `python setup.py develop`
  3. this installed somethings.
  4. then went to folder frappe-bench/sites/rigpl_erpnext
  5. ran the command: `frappe --install_app rigpl_erpnext`
  6. Got this error: http://pastebin.com/2Dh1p7UF
Just feeling like alice in wonderland right now as I am unable to gauge what is happening.




On Wednesday, July 9, 2014 8:58:00 AM UTC+5:30, rushabh wrote:
Aditya,

Most likely, the app has not been installed.

You need to clone your app from github to the "apps" folder
go to the app folder and write

`python setup.py develop`

then go to the sites folders and:

`frappe --install_app rigpl_erpnext`


On 07-Jul-2014, at 5:53 pm, Aditya Duggal <aditya...@gmail.com> wrote:

Hi,

I have just installed the custom app and I am unable to load any reports on the test system

I am getting the following console error.


Kindly note that the other things in the app like customization to Item Code etc is working perfectly fine but only the reports are not work.

--
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+unsub...@googlegroups.com.

Rushabh Mehta

unread,
Jul 10, 2014, 4:07:52 AM7/10/14
to erpnext-dev...@googlegroups.com
Just add "rigpl_erpnext" in sites/apps.txt

In the new bench we will make this automatic.




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/a7c1e5c6-2abf-4e81-bc1c-3e98fba215ff%40googlegroups.com.

Aditya Duggal

unread,
Jul 10, 2014, 9:02:44 AM7/10/14
to erpnext-dev...@googlegroups.com
HI Rushabh,

Sorry to bother again, but now I am getting the setup tools error:

~/frappe-bench/apps/rigpl-erpnext$ python setup.py develop
Traceback (most recent call last):
  File "setup.py", line 1, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools


Pratik Vyas

unread,
Jul 10, 2014, 9:29:27 AM7/10/14
to erpnext-dev...@googlegroups.com
Hi Aditya,

Run,

~/frappe-bench/env/bin/python setup.py develop
>>> email to erpnext-developer...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/erpnext-developer-forum/932ef17d-9110-4b10-a3ca-0c7f804f439a%40googlegroups.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...@googlegroups.com.
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/8f4e1222-ba6d-4d5f-b7da-00b3f004890c%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
Pratik
erpnext

Aditya Duggal

unread,
Jul 10, 2014, 9:46:12 AM7/10/14
to erpnext-dev...@googlegroups.com
Hy Pratik,

Thanks for this but the moment you gave the reply, I realized that I had not activated the virtual env and infact doing that resolved the problem.

Sorry for bothering you people for such silly mistakes at my end.

Now the reports seems to be running fine on my system as well.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/erpnext-developer-forum/932ef17d-9110-4b10-a3ca-0c7f804f439a%40googlegroups.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
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/erpnext-developer-forum/a7c1e5c6-2abf-4e81-bc1c-3e98fba215ff%40googlegroups.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

Pratik Vyas

unread,
Jul 10, 2014, 10:18:52 AM7/10/14
to erpnext-dev...@googlegroups.com
>> >>> email to erpnext-developer...@googlegroups.com.
>> >> email to erpnext-developer...@googlegroups.com.
>> > email to erpnext-developer...@googlegroups.com.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/erpnext-developer-forum/8f4e1222-ba6d-4d5f-b7da-00b3f004890c%40googlegroups.com.
>> >
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> Pratik
>> erpnext
>
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/552f91c3-329d-4c96-ba3e-b17384158412%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

Hi Aditya,

We're in process of making these tasks very simple (activating
virtualenv for example is very unintuitive).

Thanks,
--
Pratik
erpnext

Rushabh Mehta

unread,
Jul 10, 2014, 12:31:04 PM7/10/14
to erpnext-dev...@googlegroups.com
Pratik might be able to help you, but seems setuptools is not installed 

try:

easy_install pip

and run again.

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/8f4e1222-ba6d-4d5f-b7da-00b3f004890c%40googlegroups.com.

Rushabh Mehta

unread,
Jul 10, 2014, 12:32:22 PM7/10/14
to erpnext-dev...@googlegroups.com
Sorry did not see the flurry of replies.....

Maybe time to move to stackoverflow, now that someone is kind enough to make a tag??


Reply all
Reply to author
Forward
0 new messages