Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - OpenBeta Questions
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - OpenBeta Questions Questions / Comments about the new openBeta from SuSE should be posted in here.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-Sep-2007, 12:38
Joris
Guest
 
Posts: n/a
Default

Code:
flappie2:/home/joris # smart update
Loading cache...
Traceback (most recent call last):
**File "/usr/bin/smart", line 194, in <module>
****main(sys.argv[1:])
**File "/usr/bin/smart", line 167, in main
****exitcode = iface.run(opts.command, opts.argv)
**File "/usr/lib/python2.5/site-packages/smart/interface.py", line 53, in run
****result = _command.main(self._ctrl, opts)
**File "/usr/lib/python2.5/site-packages/smart/commands/update.py", line 77, in main
****ctrl.reloadChannels()
**File "/usr/lib/python2.5/site-packages/smart/control.py", line 352, in reloadChannels
****if not channel.fetch(self._fetcher, progress):
**File "/usr/lib/python2.5/site-packages/smart/channels/yast2.py", line 81, in fetch
****uncompress = self._compressed
AttributeError: 'YaST2Channel' object has no attribute '_compressed'
It think that this describes my problem.
Any one an idea of what I can do to fix this?
I tried to reinstall Smart and look in Google, but with no success. And before a start is made to completely remove Smart, I want to know how this problem can be fixed in a less Spartanian way.
  #2 (permalink)  
Old 26-Sep-2007, 13:03
FeatherMonkey
Guest
 
Posts: n/a
Default

Have you tried rm /var/lib/smart/channels/* then running smart update?

It sounds like its got something corrupted in there.
  #3 (permalink)  
Old 26-Sep-2007, 14:00
Jonathan R
Guest
 
Posts: n/a
Default

Ok, so I asked Gustavo Niemeyer, the developer of smart, about this;

Quote:
<linux_learner> niemeyer, whats this?
<linux_learner> AttributeError: 'YaST2Channel' object has no attribute '_compressed'
<niemeyer> linux_learner: An error that I've never seen
<niemeyer> linux_learner: Is this a patched version of Smart?
<linux_learner> ok
<linux_learner> dunno0
<linux_learner> http://forums.suselinuxsupport.de/index.ph...mp;#entry247220
<niemeyer> linux_learner: This object really has no _compressed method
<niemeyer> Erm.. attribute
<niemeyer> linux_learner: So whoever is accessing it is doing it incorrectly
<linux_learner> ok
<niemeyer> linux_learner: I believe it's an unofficial patch
<linux_learner> i dont see yaloki here, so i can't ask him[/b]
  #4 (permalink)  
Old 26-Sep-2007, 22:35
ghostintheruins
Guest
 
Posts: n/a
Default

Hello.

It happened to me also while doing the "normal": update / upgrade / commit.

For some reason smart upgraded itself to 0.51-11 (0.51.-10 does not work either).

I solved it by force rpm install of packages with version 0.51-9 which seems to be the latests version for 686 systems.

Cheers.
  #5 (permalink)  
Old 27-Sep-2007, 00:27
Jonathan R
Guest
 
Posts: n/a
Default

Send a bug report to guru.
  #6 (permalink)  
Old 28-Sep-2007, 15:25
Joris
Guest
 
Posts: n/a
Default

I will send a bug report when I have enough time to write a decent one. Very tight schedule now.

Thanks for the work by the way.
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2