Skip to content

Instantly share code, notes, and snippets.

2013-01-04 11:20:59,713 22100 ERROR hsd openerp.netsvc: 'NoneType' object is not iterable
Traceback (most recent call last):
File "/var/openobject-server/hsd-7.0/server/openerp/netsvc.py", line 281, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/var/openobject-server/hsd-7.0/server/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/var/openobject-server/hsd-7.0/server/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/var/openobject-server/hsd-7.0/server/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
@mrvdb
mrvdb / gmg.diff
Last active December 10, 2015 18:38
Changes in HEAD
Modified mediagoblin/media_types/stl/models.py
diff --git a/mediagoblin/media_types/stl/models.py b/mediagoblin/media_types/stl/models.py
index 0ed4a2e..17091f0 100644
--- a/mediagoblin/media_types/stl/models.py
+++ b/mediagoblin/media_types/stl/models.py
@@ -15,7 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
=== modified file 'auth_signup/res_users.py'
--- auth_signup/res_users.py 2013-01-22 14:59:25 +0000
+++ auth_signup/res_users.py 2013-01-24 14:09:39 +0000
@@ -248,7 +248,7 @@
# send email to users with their signup url
template = False
- if context.get('create_user'):
+ if context and context.get('create_user'):
try:
<?xml version="1.0" encoding="UTF-8"?>
<templates>
<!-- Login page without manage db -->
<t t-extend="Login">
<t t-jquery="div.oe_login_footer" t-operation="replace">
<div class="oe_login_footer">Powered by <span>OpenERP</span></div>
</t>
</t>
<!-- Add our logo to login page -->
diff --git a/mediagoblin/listings/views.py b/mediagoblin/listings/views.py
index d37161f..220095c 100644
--- a/mediagoblin/listings/views.py
+++ b/mediagoblin/listings/views.py
@@ -14,6 +14,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+from mediagoblin import mg_globals
from mediagoblin.db.models import MediaEntry
@mrvdb
mrvdb / fixup_avatars.php
Last active December 13, 2015 17:08
Statusnet script to clean up db and filesystem avatars
#!/usr/bin/env php
<?php
/*
Check avatars in the database with the filesystem, clean as necessary
*/
define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
$longoptions = array('dry-run','skip-db','skip-fs');
=== modified file 'openerp/tools/config.py'
*** openerp/tools/config.py 2013-01-15 12:40:58 +0000
--- openerp/tools/config.py 2013-02-22 14:02:16 +0000
***************
*** 154,160 ****
# WEB
# TODO move to web addons after MetaOption merge
group = optparse.OptionGroup(parser, "Web interface Configuration")
! group.add_option("--db-filter", dest="dbfilter", default='.*',
help="Filter listed database", metavar="REGEXP")
<!-- Add the address type field in the contacts tab of the partner view -->
<record id="view_partner_form" model="ir.ui.view">
<field name="name">res.partner.form.showtype</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<data>
<!-- Make the type field available -->
<field name="has_image" position="after">
<field name="type"/>
diff --git a/lib/router.php b/lib/router.php
index c3885d5..72c9435 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -393,6 +393,10 @@ class Router
array('action' => 'ApiTimelineMentions',
'format' => '(xml|json|rss|atom|as)'));
+ $m->connect('api/statuses/mentions_timeline.:format',
+ array('action' => 'ApiTimelineMentions',
claws$ git request-pull -p master https://github.com/mrvdb/claws-mail.git mrb/quotepatch
The following changes since commit a839f1b6111f9a5b9af50fee05095607853530b2:
Even less processes (2013-03-22 19:30:32 +0100)
are available in the git repository at:
https://github.com/mrvdb/claws-mail.git mrb/quotepatch