English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 24 February 2015, 15:08   #1
Enverex
Fantasy Man!

Enverex's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 1,352
Hired Guns "ascii codec can't encode character"

When trying to launch the WHDLoad of Hired Guns, I'm presented with the error message:

"ascii codec can't encode character \\xb1 in position 78. Ordinal not in range(128)"

Looks like it's because of the weird encoding used on the French and German documentation files (which display a few of the characters as garbage).

I can email you a copy of the WHDLoad if you need.
Enverex is offline  
Old 24 February 2015, 19:58   #2
FrodeSolheim
FS-UAE Developer

FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 39
Posts: 3,696
Is this with FS-UAE 2.4.x? If so, the problem might already be fixed in 2.5.x!
FrodeSolheim is offline  
Old 24 February 2015, 20:27   #3
Enverex
Fantasy Man!

Enverex's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 1,352
Quite possibly, I'll update and let you know!

EDIT: Looks like I'm running 2.5.27 so it's not that.
Enverex is offline  
Old 25 February 2015, 13:31   #4
FrodeSolheim
FS-UAE Developer

FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 39
Posts: 3,696
OK, please reproduce the issue, close FS-UAE Launcher and send fs-uae-launcher.log.txt to frode@fs-uae.net, thanks
FrodeSolheim is offline  
Old 25 February 2015, 14:19   #5
Enverex
Fantasy Man!

Enverex's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 1,352
Sent you the email. The relevant part is...

Code:
amiga_rel_path HiredGuns1MB/game/Convert/Español
'/tmp/fs-uae-04tubd_k/DH0/HiredGuns1MB/game/Convert/Español'
 -- HiredGuns1MB/game/Convert/Español --
<Task "Amiga Launch Task"> failed "'ascii' codec can't encode character '\\xb1' in position 78: ordinal not in range(128)"
Enverex is offline  
Old 28 February 2015, 12:18   #6
FrodeSolheim
FS-UAE Developer

FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 39
Posts: 3,696
I didn't manage to reproduce it. Can you test again with the newly released 2.5.28dev? If you still get the same problem, please e-mail me the file.
FrodeSolheim is offline  
Old 05 March 2015, 00:16   #7
Enverex
Fantasy Man!

Enverex's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 1,352
Still happening with 2.5.29 unfortunately. Same issue with Colonisation too.

Error in Colonisation was...

Code:
amiga_rel_path ColonizationAGA/data/Français
'/tmp/fs-uae-0fkrnufn/DH0/ColonizationAGA/data/Français'
 -- ColonizationAGA/data/Français --
<Task "Amiga Launch Task"> failed "'ascii' codec can't encode character '\\xfe' in position 84: ordinal not in range(128)"
Traceback (most recent call last):
  File "/usr/share/fs-uae-launcher/fsbc/task.py", line 59, in __run
    self.run()
  File "/usr/share/fs-uae-launcher/fs_uae_launcher/FSUAELauncher.py", line 653, in run
    self.launch_handler.run_sequence()
  File "/usr/share/fs-uae-launcher/fsgs/amiga/LaunchHandler.py", line 106, in run_sequence
    self.prepare()
  File "/usr/share/fs-uae-launcher/fsgs/amiga/LaunchHandler.py", line 90, in prepare
    self.prepare_hard_drives()
  File "/usr/share/fs-uae-launcher/fsgs/amiga/LaunchHandler.py", line 310, in prepare_hard_drives
    self.unpack_game_hard_drive(i, src)
  File "/usr/share/fs-uae-launcher/fsgs/amiga/LaunchHandler.py", line 429, in unpack_game_hard_drive
    self.fsgs.file.copy_game_file("sha1://{0}".format(sha1), dst_file)
  File "/usr/share/fs-uae-launcher/fsgs/FSGameSystemContext.py", line 179, in copy_game_file
    return self._copy_game_file(src, dst)
  File "/usr/share/fs-uae-launcher/fsgs/FSGameSystemContext.py", line 191, in _copy_game_file
    ifs = self.open(src, prefer_path=True)
  File "/usr/share/fs-uae-launcher/fsgs/FSGameSystemContext.py", line 89, in open
    uri = self.convert_uri(uri, prefer_path=prefer_path)
  File "/usr/share/fs-uae-launcher/fsgs/FSGameSystemContext.py", line 82, in convert_uri
    if prefer_path and os.path.exists(uri):
  File "/usr/lib/python3.4/genericpath.py", line 19, in exists
    os.stat(path)
UnicodeEncodeError: 'ascii' codec can't encode character '\xfe' in position 84: ordinal not in range(128)
BaseDatabase.__del__
BaseDatabase.__del__
Hired Guns still fails with the same error.

Last edited by Enverex; 06 March 2015 at 00:42. Reason: Fixed broken line in log
Enverex is offline  
Old 05 March 2015, 00:22   #8
Enverex
Fantasy Man!

Enverex's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 1,352
I've emailed you the latest log and copy of the failing WHDLoad now as well.
Enverex is offline  
Old 11 April 2015, 15:27   #9
FrodeSolheim
FS-UAE Developer

FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 39
Posts: 3,696
Closing this thread, will be followed up on https://github.com/FrodeSolheim/fs-uae/issues/57.
FrodeSolheim is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hired Guns WHDload Error #205 (object not found) on writing "SavedGames/Track00"? dex support.Games 12 08 February 2019 03:35
"Lincs Amiga User Group aka "LAG" Meeting Confirmed for Sat 2nd of March" rockape News 2 21 February 2013 22:46
"Reminder "Lincs Amiga User Group aka "LAG" Meet Sat 5th of January 2013" rockape News 4 30 January 2013 00:06
CD32 Image-Name-Bug: "...(bla)[!].zip" -> "...(bla)[" / "...[test].zip" -> "...[tes" cfTrio support.WinUAE 8 18 December 2012 16:31
Problems with "Thespywholovedme", "Flood", "Shinobi" sareks support.Games 12 03 May 2006 14:52

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

Forum Jump


All times are GMT +2. The time now is 19:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.07691 seconds with 13 queries