Closed
Bug 464184
Opened 17 years ago
Closed 16 years ago
[PATCH] Mozootle can now import users.prefs data into database
Categories
(Webtools Graveyard :: Verbatim, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugzilla, Unassigned)
Details
Attachments
(1 file)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008101315 Ubuntu/8.10 (intrepid) Firefox/3.0.3
Build Identifier:
I wrote an extra file for Mozootle that lets it import users.prefs data into the SQLite DB.
(Is this the right way to be suggesting Mozootle improvements?)
Reproducible: Always
| Reporter | ||
Comment 1•17 years ago
|
||
This way of submitting patches is fairly frustrating.
Attachment #347466 -
Flags: review?(clouserw)
Updated•17 years ago
|
Attachment #347466 -
Flags: review?(clouserw) → review-
Comment 2•17 years ago
|
||
Comment on attachment 347466 [details]
Importer
When I run this I get an error:
$ python import_users_prefs.py pootle.prefs users.prefs
Traceback (most recent call last):
File "import_users_prefs.py", line 134, in ?
main()
File "import_users_prefs.py", line 26, in main01.mozilla.org
set_up_db_then_import_users(parsed_prefs, parsed_users)
File "import_users_prefs.py", line 43, in set_up_db_then_import_users
import_users(alchemysession, parsed_users)
File "import_users_prefs.py", line 106, in import_users
_get_user_attribute(data, user_name, 'viewrows', unicode_me=False, default=10))
File "import_users_prefs.py", line 62, in try_type
if value.isnumeric():
AttributeError: 'str' object has no attribute 'isnumeric'
Comment 3•17 years ago
|
||
> (Is this the right way to be suggesting Mozootle improvements?)
Any suggestion with a patch is the right way :)
> This way of submitting patches is fairly frustrating.
What would make it better?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•16 years ago
|
||
I don't think Pootle uses user.prefs anymore, correct me if I am wrong and if we still need this bug.
Thanks, anyway, for your work, Asheesh!
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 5•16 years ago
|
||
The current trunk doesn't use .prefs files but of course older installs do have prefs files that need to be migrated, I think that this bug deals with that situation.
| Assignee | ||
Updated•10 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•