New changes in code not reflect


 Hi,

 I have following queries on version 4
 1) I have a made changes in attendance.py, but it can not reflect in the application.
 2) To build code i used command "./env/bin/frappe --build", but got an error
     Traceback (most recent call last):
  File "./env/bin/frappe", line 9, in <module>
    load_entry_point('frappe==4.0.0-beta', 'console_scripts', 'frappe')()
  File "/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/cli.py", line 48, in main
    frappe.init("", sites_path=sites_path)
  File "/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/__init__.py", line 115, in init
    setup_module_map()
  File "/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/__init__.py", line 449, in setup_module_map
    for app in get_all_apps(True):
  File "/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/__init__.py", line 406, in get_all_apps
    apps = get_file_items(os.path.join(sites_path, "apps.txt"), raise_not_found=True)
  File "/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/__init__.py", line 461, in get_file_items
    content = read_file(path, raise_not_found=raise_not_found)
  File "/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/__init__.py", line 477, in read_file
    raise IOError("{} Not Found".format(path))

 3) so this is a correct method or i am doing wrong.
 4) To start application i used command "./env/bin/frappe --serve erpnext.commerp --sites_path /home/indictrans/environments/frappe/indictrans-hr/sites/", it start application on default port 8000, is their any way to change the port
 
please provide solution

Regards 



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/1eadf1ac-20c4-4724-aff7-c9a0a39e843b%40googlegroups.com.

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

Hi Rohit,

On Sat, May 3, 2014 at 3:04 PM, Rohit Waghchaure
ro...@indictranstech.com wrote:

Hi,

I have following queries on version 4

  1. I have a made changes in attendance.py, but it can not reflect in the
    application.

What did you change? Does have anything to do with cache?

  1. To build code i used command “./env/bin/frappe --build”, but got an
    error
    Traceback (most recent call last):
    File “./env/bin/frappe”, line 9, in
    load_entry_point(‘frappe==4.0.0-beta’, ‘console_scripts’, ‘frappe’)()
    File
    “/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/cli.py”,
    line 48, in main
    frappe.init(“”, sites_path=sites_path)
    File
    “/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/init.py”,
    line 115, in init
    setup_module_map()
    File
    “/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/init.py”,
    line 449, in setup_module_map
    for app in get_all_apps(True):
    File
    “/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/init.py”,
    line 406, in get_all_apps
    apps = get_file_items(os.path.join(sites_path, “apps.txt”),
    raise_not_found=True)
    File
    “/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/init.py”,
    line 461, in get_file_items
    content = read_file(path, raise_not_found=raise_not_found)
    File
    “/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/init.py”,
    line 477, in read_file
    raise IOError(“{} Not Found”.format(path))

What is the path here?

  1. so this is a correct method or i am doing wrong.
  2. To start application i used command “./env/bin/frappe --serve
    erpnext.commerp --sites_path
    /home/indictrans/environments/frappe/indictrans-hr/sites/”, it start
    application on default port 8000, is their any way to change the port

You can pass --port argument.

please provide solution

Regards


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/1eadf1ac-20c4-4724-aff7-c9a0a39e843b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Pratik
erpnext

Thanks pratik it's working now

Regards


On Sat, May 3, 2014 at 3:38 PM, Pratik Vyas <pd...@gmail.com> wrote:
Hi Rohit,

On Sat, May 3, 2014 at 3:04 PM, Rohit Waghchaure
<ro...@indictranstech.com> wrote:
>
> Hi,
>
> I have following queries on version 4
> 1) I have a made changes in attendance.py, but it can not reflect in the
> application.

What did you change? Does have anything to do with cache?

> 2) To build code i used command "./env/bin/frappe --build", but got an
> error
> Traceback (most recent call last):
> File "./env/bin/frappe", line 9, in <module>
> load_entry_point('frappe==4.0.0-beta', 'console_scripts', 'frappe')()
> File
> "/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/cli.py",
> line 48, in main
> frappe.init("", sites_path=sites_path)
> File
> "/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/__init__.py",
> line 115, in init
> setup_module_map()
> File
> "/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/__init__.py",
> line 449, in setup_module_map
> for app in get_all_apps(True):
> File
> "/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/__init__.py",
> line 406, in get_all_apps
> apps = get_file_items(os.path.join(sites_path, "apps.txt"),
> raise_not_found=True)
> File
> "/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/__init__.py",
> line 461, in get_file_items
> content = read_file(path, raise_not_found=raise_not_found)
> File
> "/home/indictrans/environments/frappe/erpnext-bench/apps/frappe/frappe/__init__.py",
> line 477, in read_file
> raise IOError("{} Not Found".format(path))
>

What is the path here?

> 3) so this is a correct method or i am doing wrong.
> 4) To start application i used command "./env/bin/frappe --serve
> erpnext.commerp --sites_path
> /home/indictrans/environments/frappe/indictrans-hr/sites/", it start
> application on default port 8000, is their any way to change the port
>

You can pass --port argument.

> please provide solution
>
> Regards
>
> --
> 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/1eadf1ac-20c4-4724-aff7-c9a0a39e843b%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-forum+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAG8U0Em4LF3bgiRw4M8Hbj5Mds8eN-xKk6SWWDd2q_Zt1TJLrg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
Rohit S. Waghchaure
Cell: +91 90118 57174 | Off. : (20) 657 0800 / 25281316
New Indictrans Technologies Pvt Ltd | www.indictranstech.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-forum+un…@googlegroups.com.

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

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