İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

Debug Calendar Event: rrule.rrulestr throws ValueError, "empty string" ValueError: empty string

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
recurringeventrulecalenderValidationError
3 Cevaplar
6995 Görünümler
Avatar
Fnordbedarf

After entering a few calendar events, I must have entered bogus and it passed into the DB. Now every x minutes, odoo complains about an empty string. I started Odoo with extensive logging and found that Odoo runs the Calendar Alarm / Notifier every y minutes, which traverses all the events and notifies the user, if needed.

In that process, at least one event seems to miss a string, which results in the error. From the traceback, I find that when checking for alarms concerning recurrent events, the error is actually triggered. So, I think, the faulty event is a recurring one. I have only three recurring events and they seem valid. Also, filtering for unset rrule in the webend returns no such event.

How do I proceed further in debugging this?

$PATH = my path (not environment variable)

Traceback (most recent call last):

File "$PATH/openerp/http.py", line 530, in _handle_exception return super(JsonRequest, self)._handle_exception(exception)
File "$PATH/openerp/http.py", line 567, in dispatch result = self._call_function(**self.params)
File "$PATH/openerp/http.py", line 303, in _call_function return checked_call(self.db, *args, **kwargs)
File "$PATH/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs)
File "$PATH/openerp/http.py", line 300, in checked_call return self.endpoint(*a, **kw)
File "$PATH/openerp/http.py", line 796, in __call__ return self.method(*args, **kw)
File "$PATH/openerp/http.py", line 396, in response_wrap response = f(*args, **kw)
File "$PATH/addons/calendar/controllers/main.py", line 61, in notify res = registry.get("calendar.alarm_manager").get_next_notif(cr, uid, context=context)
File "$PATH/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs)
File "$PATH/addons/calendar/calendar.py", line 495, in get_next_notif for one_date in self.pool.get("calendar.event").get_recurrent_date_by_event(cr, uid, curEvent, context=context):
File "$PATH/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs)
File "$PATH/addons/calendar/calendar.py", line 711, in get_recurrent_date_by_event rset1 = rrule.rrulestr(str(event.rrule), dtstart=startdate, forceset=True)
File "/usr/lib/python2.7/dist-packages/dateutil/rrule.py", line 1093, in __call__ return self._parse_rfc(s, **kwargs)
File "/usr/lib/python2.7/dist-packages/dateutil/rrule.py", line 994, in _parse_rfc raise ValueError, "empty string" ValueError: empty string

0
Avatar
Vazgeç
Avatar
Fnordbedarf
Üretici En İyi Yanıt

Sovled with the help of PCatinean in Freenode IRC #odoo. I set a dpb breakpoint, looked at the environment variables once the debugging triggered. I identified the malformed event by looking at the timestamps and comparing them in pgadmin. Once found, I restarted OCA/OCB (that's the Odoo I use), deleted the malformed event and entered it anew. Works like a charm.

Thank you PCatinean!


@David Verove: I am sorry, I cannot help you. This was one year ago and since then a lot of things happened. I suggest you turn to the IRC chat.

0
Avatar
Vazgeç
David Verove

Can you please tell what you did exactly? What is malformed? In what table in pgadmin? I meet the same problem. Thanks, David

Avatar
Yogesh
En İyi Yanıt

The reason of issue is , there is some Recurring event without "Recurrent Rule". You can use advance search to find such events. To set the rule you just have to set it Recurring = False and save then Recurring = True and save. Error is gone. 

0
Avatar
Vazgeç
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Üye Ol
İlgili Gönderiler Cevaplar Görünümler Aktivite
How to configure recurring event in calender from openerp 7?
recurring event calender
Avatar
0
Mar 15
4140
Sale->Calender->Events error: "AttributeError: 'NoneType' object has no attribute 'split'"
crm event calender
Avatar
Avatar
Avatar
Avatar
Avatar
4
Mar 15
12400
Show events in calendar...?
calendar event calender calendarview events
Avatar
Avatar
Avatar
2
Kas 19
8845
Validation Error Çözüldü
ValidationError
Avatar
Avatar
Avatar
Avatar
Avatar
4
Tem 25
6579
Bulk import error (Events)
event
Avatar
0
Eki 24
1806
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now