New changes in code not reflect

100 views
Skip to first unread message

Rohit Waghchaure

unread,
May 3, 2014, 5:34:11 AM5/3/14
to erpnext-dev...@googlegroups.com

 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 

Pratik Vyas

unread,
May 3, 2014, 6:08:12 AM5/3/14
to erpnext-dev...@googlegroups.com
Hi Rohit,

On Sat, May 3, 2014 at 3:04 PM, Rohit Waghchaure
<roh...@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?
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...@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

Rohit Waghchaure

unread,
May 3, 2014, 7:55:59 AM5/3/14
to erpnext-dev...@googlegroups.com
Thanks pratik it's working now

Regards



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
Reply all
Reply to author
Forward
0 new messages