Skip to content
This repository has been archived by the owner. It is now read-only.

AttributeError: 'module' object has no attribute 'ENODATA' #277

Closed
macosforgebot opened this issue Sep 15, 2009 · 6 comments
Closed

AttributeError: 'module' object has no attribute 'ENODATA' #277

macosforgebot opened this issue Sep 15, 2009 · 6 comments

Comments

@macosforgebot
Copy link

@macosforgebot macosforgebot commented Sep 15, 2009

sanderson4@… originally submitted this as ticket:347


When trying to execute trunk CalendarServer on FreeBSD 7.2 I get the following error:

exec python /usr/local/www/iCal/Twisted/bin/twistd -n caldav -f /usr/ local/www/iCal/CalendarServer/conf/caldavd-dev.plist -o ProcessType=Combined 
Traceback (most recent call last):
 File "/usr/local/www/iCal/Twisted/bin/twistd", line 19, in <module>
   run()
File "/usr/local/www/iCal/Twisted/twisted/scripts/twistd.py", line 27, in run 
   app.run(runApp, ServerOptions)
File "/usr/local/www/iCal/Twisted/twisted/application/app.py", line 685, in run 
   config.parseOptions()
File "/usr/local/www/iCal/Twisted/twisted/application/app.py", line 665, in parseOptions 
   usage.Options.parseOptions(self, options)
File "/usr/local/www/iCal/Twisted/twisted/python/usage.py", line 226, in parseOptions 
   for (cmd, short, parser, doc) in self.subCommands:
File "/usr/local/www/iCal/Twisted/twisted/application/app.py", line 676, in subCommands 
   self.loadedPlugins[plug.tapname] = plug
File "/usr/local/www/iCal/CalendarServer/twisted/plugins/caldav.py", line 13, in getProperty 
   return getattr(reflect.namedClass(self.serviceMakerClass), propname)
File "/usr/local/www/iCal/Twisted/twisted/python/reflect.py", line 349, in namedObject 
   module = namedModule('.'.join(classSplit[:-1]))
File "/usr/local/www/iCal/Twisted/twisted/python/reflect.py", line 337, in namedModule 
   topLevel = __import__(name)
File "/usr/local/www/iCal/CalendarServer/twistedcaldav/mail.py", line 23, in <module> 
   from calendarserver.provision.root import RootResource
File "/usr/local/www/iCal/CalendarServer/calendarserver/provision/ root.py", line 31, in <module> 
   from twistedcaldav.extensions import DAVFile, CachingPropertyStore
File "/usr/local/www/iCal/CalendarServer/twistedcaldav/ extensions.py", line 51, in <module> 
   from twisted.web2.dav.static import DAVFile as SuperDAVFile
File "/usr/local/www/iCal/Twisted/twisted/web2/dav/static.py", line 44, in <module> from twisted.web2.dav.xattrprops import xattrPropertyStore as DeadPropertyStore File "/usr/local/www/iCal/Twisted/twisted/web2/dav/xattrprops.py", line 62, in <module> 
   _ATTR_MISSING = (errno.ENODATA, 93)
AttributeError: 'module' object has no attribute 'ENODATA'
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Apr 5, 2011

roland@… originally submitted this as attachment:diff.txt:⁠ticket:347


Patch for enoattr error

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Apr 5, 2011

roland@… originally submitted this as comment:1:⁠ticket:347


The diff.txt attachment is a patch for the ENODATA error.

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Apr 5, 2011

@wsanchez originally submitted this as comment:2:⁠ticket:347

  • Radar deleted
  • Priority changed from 5: Not set to 2: Expected
  • Milestone set to CalendarServer-3.x
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Aug 1, 2011

@wsanchez originally submitted this as comment:3:⁠ticket:347

  • Description modified
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Aug 1, 2011

@wsanchez originally submitted this as comment:4:⁠ticket:347

  • Status changed from new to closed
  • Milestone changed from CalendarServer-3.x to CalendarServer-3.0
  • Resolution changed from to Software changed

xattrprops is now obsolete, as we use a database in 3.0

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Aug 1, 2011

@wsanchez originally submitted this as comment:5:⁠ticket:347

  • Milestone changed from CalendarServer-3.0 to CalendarServer-3.1

Fixed in r7842

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.