App from scratch does not show up on Desk

Hello! I am new to the frappe.io framework, and am trying to see if I can develop some basic apps. I have followed the tutorial here (https://frappe.io/apps/frappe-framework/developers/guide) in order to create an app and install it. I am currently running it in VirtualBox, in the VM that was provided for download.

However, even after adding the app to apps.txt, as well as running `frappe erpnext.erpnext-vm --install_app my_app` and `pip install -e apps/my_app` it doesn't show up in the Desk. All the details are present in hooks.py, but it doesn't show up on the desktop. Is there something I'm missing? I also added some DocTypes to the app, but that didn't help. The app does show up under "Installer" and has the green "Installed" button next to it, but that's the only place it shows up.

Thanks in advance.



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/f132b26b-5b64-4635-ad9c-be3b5c33a9f3%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Just tried it open it via the Search Bar, and it said "Module not found," and the title was "My App<". Not sure if that helps.

On Thursday, June 19, 2014 2:49:42 PM UTC+5:30, Brendan Kiu wrote:
Hello! I am new to the frappe.io framework, and am trying to see if I can develop some basic apps. I have followed the tutorial here (https://frappe.io/apps/frappe-framework/developers/guide) in order to create an app and install it. I am currently running it in VirtualBox, in the VM that was provided for download.

However, even after adding the app to apps.txt, as well as running `frappe erpnext.erpnext-vm --install_app my_app` and `pip install -e apps/my_app` it doesn't show up in the Desk. All the details are present in hooks.py, but it doesn't show up on the desktop. Is there something I'm missing? I also added some DocTypes to the app, but that didn't help. The app does show up under "Installer" and has the green "Installed" button next to it, but that's the only place it shows up.

Thanks in advance.



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/fbd5133d-0b67-4d5a-9f30-8fb56eb5d0c5%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
1. Did you update the VM?
2. Can you paste your config/desktop.py from your app


On 19-Jun-2014, at 3:00 pm, Brendan Kiu <br...@gmail.com> wrote:

Just tried it open it via the Search Bar, and it said "Module not found," and the title was "My App<". Not sure if that helps.

On Thursday, June 19, 2014 2:49:42 PM UTC+5:30, Brendan Kiu wrote:
Hello! I am new to the frappe.io framework, and am trying to see if I can develop some basic apps. I have followed the tutorial here (https://frappe.io/apps/frappe-framework/developers/guide) in order to create an app and install it. I am currently running it in VirtualBox, in the VM that was provided for download.

However, even after adding the app to apps.txt, as well as running `frappe erpnext.erpnext-vm --install_app my_app` and `pip install -e apps/my_app` it doesn't show up in the Desk. All the details are present in hooks.py, but it doesn't show up on the desktop. Is there something I'm missing? I also added some DocTypes to the app, but that didn't help. The app does show up under "Installer" and has the green "Installed" button next to it, but that's the only place it shows up.

Thanks in advance.

-- 
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/fbd5133d-0b67-4d5a-9f30-8fb56eb5d0c5%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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/A0FF2909-870E-45D6-A0C3-5C5F61C71C2C%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
1) Yes, I did. I ran scripts/update.sh
2) 
 from frappe import _                          
                                               
 def get_data():                               
     return {                                  
         "My App": {                
             "color": "#34495E",               
             "icon": "icon-globe",             
             "type": "module",                 
             "label": _("My App")   
         }                                     
     }                                         


On Thursday, June 19, 2014 3:28:13 PM UTC+5:30, rushabh wrote:
1. Did you update the VM?
2. Can you paste your config/desktop.py from your app


On 19-Jun-2014, at 3:00 pm, Brendan Kiu <br...@gmail.com> wrote:

Just tried it open it via the Search Bar, and it said "Module not found," and the title was "My App<". Not sure if that helps.

On Thursday, June 19, 2014 2:49:42 PM UTC+5:30, Brendan Kiu wrote:
Hello! I am new to the frappe.io framework, and am trying to see if I can develop some basic apps. I have followed the tutorial here (https://frappe.io/apps/frappe-framework/developers/guide) in order to create an app and install it. I am currently running it in VirtualBox, in the VM that was provided for download.

However, even after adding the app to apps.txt, as well as running `frappe erpnext.erpnext-vm --install_app my_app` and `pip install -e apps/my_app` it doesn't show up in the Desk. All the details are present in hooks.py, but it doesn't show up on the desktop. Is there something I'm missing? I also added some DocTypes to the app, but that didn't help. The app does show up under "Installer" and has the green "Installed" button next to it, but that's the only place it shows up.

Thanks in advance.

-- 
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/fbd5133d-0b67-4d5a-9f30-8fb56eb5d0c5%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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/328cf009-5f68-40f4-b984-a59bd3da5056%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Looks okay. Did you have permission for at least one DocType in the module?

you can check by running this in your console.

frappe.model.can_read("my doctype")



On 19-Jun-2014, at 3:40 pm, Brendan Kiu <br...@gmail.com> wrote:

1) Yes, I did. I ran scripts/update.sh
2) 
 from frappe import _                          
                                               
 def get_data():                               
     return {                                  
         "My App": {                
             "color": "#34495E",               
             "icon": "icon-globe",             
             "type": "module",                 
             "label": _("My App")   
         }                                     
     }                                         


On Thursday, June 19, 2014 3:28:13 PM UTC+5:30, rushabh wrote:
1. Did you update the VM?
2. Can you paste your config/desktop.py from your app


On 19-Jun-2014, at 3:00 pm, Brendan Kiu <br...@gmail.com> wrote:

Just tried it open it via the Search Bar, and it said "Module not found," and the title was "My App<". Not sure if that helps.

On Thursday, June 19, 2014 2:49:42 PM UTC+5:30, Brendan Kiu wrote:
Hello! I am new to the frappe.io framework, and am trying to see if I can develop some basic apps. I have followed the tutorial here (https://frappe.io/apps/frappe-framework/developers/guide) in order to create an app and install it. I am currently running it in VirtualBox, in the VM that was provided for download.

However, even after adding the app to apps.txt, as well as running `frappe erpnext.erpnext-vm --install_app my_app` and `pip install -e apps/my_app` it doesn't show up in the Desk. All the details are present in hooks.py, but it doesn't show up on the desktop. Is there something I'm missing? I also added some DocTypes to the app, but that didn't help. The app does show up under "Installer" and has the green "Installed" button next to it, but that's the only place it shows up.

Thanks in advance.

-- 
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/fbd5133d-0b67-4d5a-9f30-8fb56eb5d0c5%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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/328cf009-5f68-40f4-b984-a59bd3da5056%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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/7652B903-6C53-4DA6-A5F3-3CCFA6A40071%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Yes, I put that into my JS console and the result was true. Maybe there's something corrupted in the DB, because when I try to use a "Read Only" field in the way that's instructed by the tutorial, it doesn't fill in either. I might just do a fresh install on a new VM and see if I can get it to work. Thanks though.

On Thursday, June 19, 2014 3:59:40 PM UTC+5:30, rushabh wrote:
Looks okay. Did you have permission for at least one DocType in the module?

you can check by running this in your console.

frappe.model.can_read("my doctype")



On 19-Jun-2014, at 3:40 pm, Brendan Kiu <br...@gmail.com> wrote:

1) Yes, I did. I ran scripts/update.sh
2) 
 from frappe import _                          
                                               
 def get_data():                               
     return {                                  
         "My App": {                
             "color": "#34495E",               
             "icon": "icon-globe",             
             "type": "module",                 
             "label": _("My App")   
         }                                     
     }                                         


On Thursday, June 19, 2014 3:28:13 PM UTC+5:30, rushabh wrote:
1. Did you update the VM?
2. Can you paste your config/desktop.py from your app


On 19-Jun-2014, at 3:00 pm, Brendan Kiu <br...@gmail.com> wrote:

Just tried it open it via the Search Bar, and it said "Module not found," and the title was "My App<". Not sure if that helps.

On Thursday, June 19, 2014 2:49:42 PM UTC+5:30, Brendan Kiu wrote:
Hello! I am new to the frappe.io framework, and am trying to see if I can develop some basic apps. I have followed the tutorial here (https://frappe.io/apps/frappe-framework/developers/guide) in order to create an app and install it. I am currently running it in VirtualBox, in the VM that was provided for download.

However, even after adding the app to apps.txt, as well as running `frappe erpnext.erpnext-vm --install_app my_app` and `pip install -e apps/my_app` it doesn't show up in the Desk. All the details are present in hooks.py, but it doesn't show up on the desktop. Is there something I'm missing? I also added some DocTypes to the app, but that didn't help. The app does show up under "Installer" and has the green "Installed" button next to it, but that's the only place it shows up.

Thanks in advance.

-- 
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/fbd5133d-0b67-4d5a-9f30-8fb56eb5d0c5%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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/328cf009-5f68-40f4-b984-a59bd3da5056%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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1d2da64e-8489-4901-ba5b-c0ee1025831d%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Also check if your module is check in "All Applications" and Setup > Show / Hide Module



@rushabh_mehta

On 19-Jun-2014, at 4:07 pm, Brendan Kiu <br...@gmail.com> wrote:

Yes, I put that into my JS console and the result was true. Maybe there's something corrupted in the DB, because when I try to use a "Read Only" field in the way that's instructed by the tutorial, it doesn't fill in either. I might just do a fresh install on a new VM and see if I can get it to work. Thanks though.

On Thursday, June 19, 2014 3:59:40 PM UTC+5:30, rushabh wrote:
Looks okay. Did you have permission for at least one DocType in the module?

you can check by running this in your console.

frappe.model.can_read("my doctype")



On 19-Jun-2014, at 3:40 pm, Brendan Kiu <bren...@gmail.com> wrote:

1) Yes, I did. I ran scripts/update.sh
2) 
 from frappe import _                          
                                               
 def get_data():                               
     return {                                  
         "My App": {                
             "color": "#34495E",               
             "icon": "icon-globe",             
             "type": "module",                 
             "label": _("My App")   
         }                                     
     }                                         


On Thursday, June 19, 2014 3:28:13 PM UTC+5:30, rushabh wrote:
1. Did you update the VM?
2. Can you paste your config/desktop.py from your app


On 19-Jun-2014, at 3:00 pm, Brendan Kiu <br...@gmail.com> wrote:

Just tried it open it via the Search Bar, and it said "Module not found," and the title was "My App<". Not sure if that helps.

On Thursday, June 19, 2014 2:49:42 PM UTC+5:30, Brendan Kiu wrote:
Hello! I am new to the frappe.io framework, and am trying to see if I can develop some basic apps. I have followed the tutorial here (https://frappe.io/apps/frappe-framework/developers/guide) in order to create an app and install it. I am currently running it in VirtualBox, in the VM that was provided for download.

However, even after adding the app to apps.txt, as well as running `frappe erpnext.erpnext-vm --install_app my_app` and `pip install -e apps/my_app` it doesn't show up in the Desk. All the details are present in hooks.py, but it doesn't show up on the desktop. Is there something I'm missing? I also added some DocTypes to the app, but that didn't help. The app does show up under "Installer" and has the green "Installed" button next to it, but that's the only place it shows up.

Thanks in advance.

-- 
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/fbd5133d-0b67-4d5a-9f30-8fb56eb5d0c5%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-forum+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/328cf009-5f68-40f4-b984-a59bd3da5056%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-forum+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1d2da64e-8489-4901-ba5b-c0ee1025831d%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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/53F0904F-B6A3-4E87-841E-9C9A3E267038%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
I checked, and it's not there. When I go into my JS console and look at frappe.boot, it's there, but there is no app_icon field under "My App."

On Thursday, June 19, 2014 4:37:51 PM UTC+5:30, rushabh wrote:
Also check if your module is check in "All Applications" and Setup > Show / Hide Module



@rushabh_mehta

On 19-Jun-2014, at 4:07 pm, Brendan Kiu <br...@gmail.com> wrote:

Yes, I put that into my JS console and the result was true. Maybe there's something corrupted in the DB, because when I try to use a "Read Only" field in the way that's instructed by the tutorial, it doesn't fill in either. I might just do a fresh install on a new VM and see if I can get it to work. Thanks though.

On Thursday, June 19, 2014 3:59:40 PM UTC+5:30, rushabh wrote:
Looks okay. Did you have permission for at least one DocType in the module?

you can check by running this in your console.

frappe.model.can_read("my doctype")



On 19-Jun-2014, at 3:40 pm, Brendan Kiu <bren...@gmail.com> wrote:

1) Yes, I did. I ran scripts/update.sh
2) 
 from frappe import _                          
                                               
 def get_data():                               
     return {                                  
         "My App": {                
             "color": "#34495E",               
             "icon": "icon-globe",             
             "type": "module",                 
             "label": _("My App")   
         }                                     
     }                                         


On Thursday, June 19, 2014 3:28:13 PM UTC+5:30, rushabh wrote:
1. Did you update the VM?
2. Can you paste your config/desktop.py from your app


On 19-Jun-2014, at 3:00 pm, Brendan Kiu <br...@gmail.com> wrote:

Just tried it open it via the Search Bar, and it said "Module not found," and the title was "My App<". Not sure if that helps.

On Thursday, June 19, 2014 2:49:42 PM UTC+5:30, Brendan Kiu wrote:
Hello! I am new to the frappe.io framework, and am trying to see if I can develop some basic apps. I have followed the tutorial here (https://frappe.io/apps/frappe-framework/developers/guide) in order to create an app and install it. I am currently running it in VirtualBox, in the VM that was provided for download.

However, even after adding the app to apps.txt, as well as running `frappe erpnext.erpnext-vm --install_app my_app` and `pip install -e apps/my_app` it doesn't show up in the Desk. All the details are present in hooks.py, but it doesn't show up on the desktop. Is there something I'm missing? I also added some DocTypes to the app, but that didn't help. The app does show up under "Installer" and has the green "Installed" button next to it, but that's the only place it shows up.

Thanks in advance.

-- 
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/fbd5133d-0b67-4d5a-9f30-8fb56eb5d0c5%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-forum+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/328cf009-5f68-40f4-b984-a59bd3da5056%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-forum+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1d2da64e-8489-4901-ba5b-c0ee1025831d%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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/2d79ab80-95c0-4f59-9782-d05e14830b97%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
There might be one more thing - your module (Module Def) must also be called "My App"


On 19-Jun-2014, at 4:48 pm, Brendan Kiu <br...@gmail.com> wrote:

I checked, and it's not there. When I go into my JS console and look at frappe.boot, it's there, but there is no app_icon field under "My App."

On Thursday, June 19, 2014 4:37:51 PM UTC+5:30, rushabh wrote:
Also check if your module is check in "All Applications" and Setup > Show / Hide Module



@rushabh_mehta

On 19-Jun-2014, at 4:07 pm, Brendan Kiu <br...@gmail.com> wrote:

Yes, I put that into my JS console and the result was true. Maybe there's something corrupted in the DB, because when I try to use a "Read Only" field in the way that's instructed by the tutorial, it doesn't fill in either. I might just do a fresh install on a new VM and see if I can get it to work. Thanks though.

On Thursday, June 19, 2014 3:59:40 PM UTC+5:30, rushabh wrote:
Looks okay. Did you have permission for at least one DocType in the module?

you can check by running this in your console.

frappe.model.can_read("my doctype")



On 19-Jun-2014, at 3:40 pm, Brendan Kiu <bren...@gmail.com> wrote:

1) Yes, I did. I ran scripts/update.sh
2) 
 from frappe import _                          
                                               
 def get_data():                               
     return {                                  
         "My App": {                
             "color": "#34495E",               
             "icon": "icon-globe",             
             "type": "module",                 
             "label": _("My App")   
         }                                     
     }                                         


On Thursday, June 19, 2014 3:28:13 PM UTC+5:30, rushabh wrote:
1. Did you update the VM?
2. Can you paste your config/desktop.py from your app


On 19-Jun-2014, at 3:00 pm, Brendan Kiu <br...@gmail.com> wrote:

Just tried it open it via the Search Bar, and it said "Module not found," and the title was "My App<". Not sure if that helps.

On Thursday, June 19, 2014 2:49:42 PM UTC+5:30, Brendan Kiu wrote:
Hello! I am new to the frappe.io framework, and am trying to see if I can develop some basic apps. I have followed the tutorial here (https://frappe.io/apps/frappe-framework/developers/guide) in order to create an app and install it. I am currently running it in VirtualBox, in the VM that was provided for download.

However, even after adding the app to apps.txt, as well as running `frappe erpnext.erpnext-vm --install_app my_app` and `pip install -e apps/my_app` it doesn't show up in the Desk. All the details are present in hooks.py, but it doesn't show up on the desktop. Is there something I'm missing? I also added some DocTypes to the app, but that didn't help. The app does show up under "Installer" and has the green "Installed" button next to it, but that's the only place it shows up.

Thanks in advance.

-- 
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/fbd5133d-0b67-4d5a-9f30-8fb56eb5d0c5%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-forum+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/328cf009-5f68-40f4-b984-a59bd3da5056%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-forum+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1d2da64e-8489-4901-ba5b-c0ee1025831d%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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/2d79ab80-95c0-4f59-9782-d05e14830b97%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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/04741A2B-C303-4586-B346-17D1AF377460%40gmail.com.

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

I am not sure, but, one possibility is you did not provide access to the Administrator to any of the DocTypes in your app. E.g. you may have created a new user and added a role for that user and none for the administrator. And so, when you log in as the Administrator, you do not see the app icon on your desk.

We should fix it, even I got confused every time after installing a new app. May be we can add those roles to Administrator automatically.

I encountered this. On new create of new app if you look at desk, icon is not there. When you check app/config/desk.py it is perfect.
When you check module def list, your app is there.

Solution, in order to have desk icon of your custom app you need to create atleast one doctype with your app as module name then only the icons become visible

1 Like