Yep, that's what I did. But it refuses to acknowledge I changed the actual
execution logic... Or it's just super smart?
For reference, here's what I'm doing:
$ sudo chown -R [me]
/usr/locla/lib/python2.7/dist-packages/reviewboard-2.0.1-py2.7.egg/
[delete review_request.pyc and backends.pyc]
$ sudo chown -R www-data
/usr/locla/lib/python2.7/dist-packages/reviewboard-2.0.1-py2.7.egg/
$ sudo service apache2 restart
$ sudo service memcached restart
[reload webpage, try to add a user to the review]
[see that both request_review.pyc and backends.pyc are updated]
$ cat /bar/www/[rbsite]/logs/reviewboard.log
[no prints in there from my new logging.debug()]
$ sudo cat /var/log/apache2/error.log
[no prints in there from 'bad python code']
I think I'm going insane...
I've even just restarted the computer itself too, but that doesn't do
anything either...
On Thursday, July 17, 2014 1:49:48 PM UTC-7, David Trowbridge wrote:
>
> You probably need to delete the .pyc file and reload the web server.
>
> -David
>
>
> On Thu, Jul 17, 2014 at 11:32 AM, Bruce Cran <[email protected]
> <javascript:>> wrote:
>
>> Do you also need to restart memcached?
>>
>> --
>> Bruce
>>
>>
>>
>> On Thu, Jul 17, 2014 at 9:51 AM, Jason Batchkoff <[email protected]
>> <javascript:>> wrote:
>>
>>> *bump bump*
>>>
>>> Anyone? Still haven't figured out how to get a local change to the py
>>> scripts to reflect correctly in the running copy.
>>>
>> --
>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>> ---
>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>> ---
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.